CosmosJourneyer
Cosmos Journeyer is a space exploration game running directly in the browser! Take your spaceship and witness the beauty of this virtually infinite universe.
Install / Use
/learn @BarthPaleologue/CosmosJourneyerREADME
Cosmos Journeyer
- What is Cosmos Journeyer?
- How to play
- Community and support
- My vision for the project
- Why Cosmos Journeyer?
- Contributing
- Sponsor
- Roadmap
- Features
- Development
- License
- Credits
- Special Thanks
What is Cosmos Journeyer?
Cosmos Journeyer is a space exploration game running directly in the browser! Take your spaceship and witness the beauty of this virtually infinite universe.
From stellar black holes and fully explorable planets down to single grass blades, to asteroid fields, your journey will be unforgettable.
How to play
Online
You can play freely from the main website of the project at cosmosjourneyer.com
Locally
You can also play locally! You can get an installer for your system by going to the latest release.
If you want the cutting edge version, follow these steps:
- Install prerequisites:
- Git (install with your package manager or from https://git-scm.com/downloads)
- Node.js (version 20 or higher)
- Pnpm (install with
npm install -g pnpm)
- Clone the repo with
git clone https://github.com/BarthPaleologue/CosmosJourneyer.git - Install the dependencies with
pnpm install - Build the project with
pnpm build - Serve the project with
pnpm serve:prod - Play at http://localhost:8080
To update your local version, either download the latest installer or run git pull in your local install.
Gameplay
Once Cosmos Journeyer has started, simply start a new game: tutorials will guide you through the basics of the game as you play.
You can pause the game at any time by pressing ESC and access the main menu to have a look at the keybindings, view the credits, and save your game.
The game has auto-saves, so you can quit at any time and resume your game later from where you left off.
Community and support
If you encounter any bugs or want to request features, please open an issue or send an email to barth.paleologue@cosmosjourneyer.com.
For general discussion and sharing screenshots, visit the official subreddit.
My vision for the project
For my detailed vision for the project, please refer to the VISION.md file.
Why Cosmos Journeyer?
Why make Cosmos Journeyer when games like Elite Dangerous, Star Citizen, No Man's Sky or Kerbal Space Program already exist?
There are many reasons of course but here are the main ones:
- Open Source: Other games such as Elite are dependent on their studios to keep them alive. When the game will no longer be profitable, they will stop supporting it and then the games will be dead forever (see Kerbal Space Program 2 debacle for a recent example). By going open-source, Cosmos Journeyer will be able to evolve and improve continuously, without the need for a studio. Anyone can pick it up and make it their own.
- Exploration Focused: I always felt that exploration was the most interesting part of space games. At the same time I feel the other games are too focused on combat, trading or multiplayer content. I want Cosmos Journeyer to be an exploration first game, where your main drive is to discover cool things, take pictures, and dream for a bit.
- Personal: I don't know it's just so exciting to create an entire universe from scratch. It really is a dream coming true for me.
Contributing
Contributions are welcome! There is too much to do for one person alone.
If you want to contribute, you will find guidelines and ideas here.
Thank you to all the people who have contributed to Cosmos Journeyer!
Sponsor
Help me make Cosmos Journeyer a reality! The development is time-consuming but generates no revenue by itself.
Sponsoring the project on Patreon or GitHub Sponsors will help secure the future of the project.
The project also has a ko-fi page at https://ko-fi.com/cosmosjourneyer if you feel like buying me a coffee!
Roadmap
You can have a look at the roadmap of the project on the website at https://cosmosjourneyer.com/
The deadlines are not set in stone and can be moved around as I am not working full time on the project.
Features
Explore telluric planet and moon surfaces from your spaceship or by foot.

Travel between worlds without any loading screens.

Planet surfaces are filled with procedural vegetation, rocks and butterflies to make them feel more alive.

Cosmos Journeyer generates a virtually infinite amount of star systems that all have a star, planets, and sometimes moons.

Development
Tech stack
Cosmos Journeyer is built using the following technologies:
- BabylonJS for the 3D engine
- Next.js for the website
- TypeScript for the programming language
- Rspack for bundling the application
- Pnpm for the package manager
- Tauri for building the desktop application
- Playwright for end-to-end testing
- oxfmt for code formatting
- Vitest for unit testing
- ESLint for linting
- Git LFS for versioning large files like screenshots
Setup
- Install Node.js
- Install Pnpm
- Clone the repository with
git clone https://github.com/BarthPaleologue/CosmosJourneyer.git - Navigate to the project directory with
cd CosmosJourneyer - Install the dependencies with
pnpm install(this also sets up Git hooks for formatting changed files before commit. For pnpm 10 and later, hooks are installed because Husky is listed inonlyBuiltDependencies.)
Repository layout
This project uses a pnpm workspace. Packages live under packages/ and share tooling defined at the repository root.
packages/game: main Babylon.js game sources, assets, build config, and testspackages/physics: shared source-only physics formulas, constants, and unit conversionspackages/universe-model: shared source-only star system and orbital object data modelspackages/babylonjs-shader-language: shared source-only wrapper for BabylonJS Node Materials, to be used in the game and in the shader playgroundspackages/channel-packer: web-only tool to pack the game channels into a single file for easier distributionpackages/website: Next.js website sources and build config
Development
You can start the development server for the game with pnpm dev:game and for the website with pnpm dev:website.
Building
Web
To build the web version of Cosmos Journeyer, run pnpm build:game. Everything will be built in packages/game/dist.
Desktop (Tauri)
Cosmos Journeyer can be built as a desktop application using Tauri.
For the game app, run pnpm --filter @cosmos-journeyer/game tauri info to find what dependencies your OS is missing.
Then you can build the game desktop application with pnpm --filter @cosmos-journeyer/game tauri build or run the dev version with pnpm --filter @cosmos-journeyer/game tauri dev.
Channel Packer is web-only and can be started with pnpm dev:channel-packer.
The build artifacts will appear in packages/game/src-tauri/target/release/bundle/<platform>.
Testing
Cosmos Journeyer has unit tests and end-to-end tests.
You can run the unit tests with pnpm test:unit.
Before running the end-to-end tests for the first time, install the Playwright browser binaries with pnpm --filter @cosmos-journeyer/game exec playwright install.
Then run the end-to-end tests with pnpm test:e2e.
Related Skills
node-connect
350.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.9kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
350.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
350.1kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。

