Contribution guide Our website
Drop
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.
Philosophy
- Drop needs to be flexible. If you look at the code base, there are lots of interfaces and abstractions and generic classes. While these do make Drop a bit heavier, they create the much needed flexibility, modularity and future-proofing that Drop needs.
- Drop needs to be secure. Always have security in mind when designing new features for Drop.
- Drop needs to be user-friendly. Follow good design principles, and don't overload the user with too much information at once. Balance hiding things between menus and showing it all at once.
The Tech Stack
This repo uses the Nuxt 3 + TailwindCSS stack, with the yarn package manager.
For the database, Drop uses Prisma connected to PostgreSQL.
Development
To get started with development, you need yarn --optional and docker compose installed (or know how to set up a PostgreSQL database).
Note: --optional flag is REQUIRED
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.exampleto.envand add your GiantBomb metadata key (more metadata providers coming) - Create the
.datadirectory withmkdir .data - Ensure that your user owns the
.datadirectory 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
yarnand thenyarn devto start the dev server
To create an account:
Head over to the /register page. It's currently a temporary development form for creating a username + password log in.
Contributing
Please see the in-depth contributing guide