Cosmos is the official authentication server for Nexirift, providing secure user verification and access control by utilising the better-auth library.
- Node.js v22.13.0 or greater
- Bun v1.2.2 or greater
- Read the contributing guide
- Docker v27.5.1 or greater
- Docker Compose v2.32.4 or greater
These prerequisites are based on the versions that we are using.
For now, our email repository must be cloned and set up by following the instructions here. Ensure that it is in the parent directory of this repository and has been built using bun run build
.
- Clone the repository:
git clone https://github.com/Nexirift/cosmos.git
- Install dependencies with
bun install
- Start the database using
bun db:start
- Migrate the database using
bun db:all
- Start the server with
bun dev
This software is currently in development and should not be used in production until the official Nexirift public release. By deploying this software in a production environment, you acknowledge and accept all associated risks. Please wait for production-ready status before implementation.
Please read our contributing guide and code of conduct before contributing to this project.
Nexirift's internal projects are licensed under the GNU Affero General Public License v3.0.