No description
Find a file
2025-08-01 16:26:27 +10:00
.github/workflows Fix for Release CI 2025-07-31 21:39:01 +10:00
.vscode Various bug fixes (#102) 2025-06-08 13:49:43 +10:00
assets Code-based authorization for Drop clients (#145) 2025-08-01 13:11:56 +10:00
build Fix Github Release CI (#144) 2025-07-31 21:36:01 +10:00
components Code-based authorization for Drop clients (#145) 2025-08-01 13:11:56 +10:00
composables Setup wizard & 0.3.0 release (#146) 2025-07-31 20:41:02 +10:00
deploy-template Fix pino-pretty not being included in build (#135) 2025-07-14 12:11:17 +10:00
dev-tools chore: prettier pass 2025-04-15 21:46:34 -04:00
drop-base@04125e89be Store overhaul (#142) 2025-07-30 13:40:49 +10:00
i18n Translated using Weblate (English) (#151) 2025-08-01 14:31:50 +10:00
layouts Store overhaul (#142) 2025-07-30 13:40:49 +10:00
middleware fix: last eslint errors 2025-04-15 21:43:27 -04:00
pages Code-based authorization for Drop clients (#145) 2025-08-01 13:11:56 +10:00
plugins Remove pino from frontend 2025-07-14 14:20:17 +10:00
prisma Fix for undeleted games from library sources (#148) 2025-08-01 14:00:10 +10:00
public Small fixes (#141) 2025-07-20 14:56:15 +10:00
server feat: bump version (#150) 2025-08-01 14:02:44 +10:00
utils Logging (#131) 2025-07-09 12:01:23 +10:00
.dockerignore Update Prisma to 6.11 (#133) 2025-07-25 21:28:00 +10:00
.editorconfig move to yarn v2 2024-11-04 22:55:29 +11:00
.env.example User invite uses external domain option (#118) 2025-07-01 09:11:26 +10:00
.gitattributes fix issue in igdb where company isn't found 2025-03-12 19:06:34 -04:00
.gitignore chore: move more admin over to arktype validators 2025-05-30 13:17:21 +10:00
.gitlab-ci.yml fix: add aarch64 tag to runner 2025-03-11 09:06:41 +11:00
.gitmodules fix(drop-base): add drop-base as git submodule 2024-12-27 16:36:37 +11:00
.prettierignore Store overhaul (#142) 2025-07-30 13:40:49 +10:00
app.vue fix: misc fixes 2025-04-20 21:33:19 +10:00
changelog.md Setup wizard & 0.3.0 release (#146) 2025-07-31 20:41:02 +10:00
CONTRIBUTING.md Store overhaul (#142) 2025-07-30 13:40:49 +10:00
Dockerfile Fix Github Release CI (#144) 2025-07-31 21:36:01 +10:00
error.vue Combined fixes (#116) 2025-06-10 10:08:01 +10:00
eslint.config.mjs Store overhaul (#142) 2025-07-30 13:40:49 +10:00
LICENSE Add LICENSE 2024-10-22 22:40:13 +00:00
nuxt.config.ts Store overhaul (#142) 2025-07-30 13:40:49 +10:00
package.json Fix #119 (#153) 2025-08-01 16:26:27 +10:00
README.md Update README.md 2025-05-12 17:11:19 +10:00
SECURITY.md chore: prettier pass 2025-04-15 21:46:34 -04:00
tailwind.config.js feat: migrate to tailwind v4 and fix user token API 2025-02-14 20:01:18 +11:00
tsconfig.json fix: remove jank prisma script, and move to generated prisma client 2025-05-08 16:17:23 +10:00
yarn.lock Fix #119 (#153) 2025-08-01 16:26:27 +10:00


Drop

Website Static Badge GitHub License Discord Open Collective

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

  1. Drop is flexible. While abstractions and interfaces can make the codebase more complicated, the flexibility is worth it.
  2. 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.
  3. Drop is user-friendly. The interface is designed to be clean and simple to use, with complexity available to the users who want it.

Deployment

To just deploy Drop, we've set up a simple docker compose file in deploy-template.

  1. Generate a GiantBomb API Key
  2. Navigate to the deploy-template directory in your terminal (cd deploy-template)
  3. Edit the compose.yml file (nano compose.yml) and copy your GiamtBomb API Key into the GIANT_BOMB_API_KEY environment variable
  4. Run docker compose up -d

Your drop server should now be running. To register the admin user, navigate to http://your.drop.server.ip:3000/register?id=admin and fill in the required forms

Adding a game

To add a game to the drop library, do as follows:

  1. Ensure that the current user owns the library folder with sudo chown -R $(id -u $(whoami)) library
  2. cd library
  3. mkdir <GAME_NAME> with the name of the game which you would like to register
  4. cd <GAME_NAME>
  5. mkdir <VERSION_NAME> Upload files for the specific game version to this folder
  6. Navigate to http://your.drop.server.ip:3000/
  7. Import game metadata (uses GiantBomb API Key) by selecting the game and specifying which entry to import
  8. Navigate to http://your.drop.server.ip:3000/admin/library
  9. You should see the game which you have just imported listed in this menu. There should be a notification that "Drop has detected you have new verions of this game to import". Select import here.
  10. Select the game version to import and thus fill in fields as required.

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:

  1. Run git submodule update --init --recursive to setup submodules
  2. Copy the .env.example to .env and add your GiantBomb metadata key (more metadata providers coming)
  3. Create the .data directory with mkdir .data
  4. Ensure that your user owns the .data directory with sudo chown -R $(id -u $(whoami))
  5. Open up a terminal and navigate to dev-tools, and run docker compose up
  6. Open up another terminal in the root directory of the project and run yarn and then yarn 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/auth/register?id=admin

Contributing

Please see the in-depth contributing guide