Drop is an open-source game distribution platform, like GameVault or Steam. It's designed to distribute and shared DRM-free game quickly, all while being incredibly flexible, beautiful and fast.
- Drop is flexible. While abstractions and interfaces can make the codebase more complicated, the flexibility is worth it.
- Drop is secure. The nature of Drop means an instance can never be accessible without authentication. In line with #1, Drop also supports a huge variety of authentication mechanisms, from a username/password to SSO.
- Drop is user-friendly. The interface is designed to be clean and simple to use, with complexity available to the users who want it.
This repo uses the Nuxt 3 + TailwindCSS stack, with the yarn
package manager.
For the database, Drop uses Prisma connected to PostgreSQL.
To get started with development, you need yarn --optional
and docker compose
installed (or know how to set up a PostgreSQL database).
Drop uses a utility package called droplet that's written in Rust. It has builts for Linux (GNU) and Windows, and they are set up as optional packages. npm
installs these by default, but yarn
needs the --optional
flag.
Steps:
- Copy the
.env.example
to.env
and add your GiantBomb metadata key (more metadata providers coming) - Create the
.data
directory withmkdir .data
- Ensure that your user owns the
.data
directory withsudo chown -R $(id -u $(whoami))
- Open up a terminal and navigate to
dev-tools
, and rundocker compose up
- Open up another terminal in the root directory of the project and run
yarn
and thenyarn dev
to start the dev server
As part of the first-time bootstrap, Drop creates an invitation with the fixed id of 'admin'. So, to create an admin account, go to:
http://localhost:3000/register?id=admin
Please see the in-depth contributing guide