drop/server
2025-02-13 13:34:46 +11:00
..
.vscode feat(import): overhauled version importing 2024-12-31 00:04:50 +11:00
assets feat(ui): game carousel 2024-11-24 09:47:32 +11:00
build docker based deployment 2024-11-04 20:50:35 +11:00
components feat(collections): backend 2025-01-19 16:29:29 +11:00
composables feat(collections): backend 2025-01-19 16:29:29 +11:00
deploy-template fix(deploy template): fix FATAL: "root"... message 2024-12-26 12:34:10 +11:00
dev-tools docker based deployment 2024-11-04 20:50:35 +11:00
docs starting docs infra 2024-10-25 13:15:46 +11:00
drop-base@de0d1b4660 fix: import ui setup autocomplete 2025-02-13 13:34:45 +11:00
layouts feat(ui): add noWrapper option 2024-12-27 13:07:29 +11:00
middleware add proper carousel to store page 2024-10-27 15:21:31 +11:00
pages fix: import ui setup autocomplete 2025-02-13 13:34:45 +11:00
plugins game version re-ordering 2024-10-14 20:34:23 +11:00
prisma fix: null strings in setup versions 2025-02-13 13:34:46 +11:00
public completed game importing; partial work on version importing 2024-10-11 00:37:08 +11:00
server fix(prisma): update prisma schemas 2025-01-19 16:46:43 +11:00
.dockerignore docker based deployment 2024-11-04 20:50:35 +11:00
.editorconfig move to yarn v2 2024-11-04 22:55:29 +11:00
.env.example object storage + full permission system + testing 2024-10-09 14:43:06 +11:00
.gitattributes move to yarn v2 2024-11-04 22:55:29 +11:00
.gitignore move to yarn v2 2024-11-04 22:55:29 +11:00
.gitlab-ci.yml cicd: custom dind 2025-01-14 20:43:50 +11:00
.gitmodules fix(drop-base): add drop-base as git submodule 2024-12-27 16:36:37 +11:00
.yarnrc remove bcrypt (debug) 2024-11-05 10:49:48 +11:00
app.vue feat(admin ui): customisable image carousel and new layout 2024-12-27 14:43:40 +11:00
changelog.md chore: Update changelog.md 2025-01-25 22:49:06 +11:00
CONTRIBUTING.md Update CONTRIBUTING.md 2024-12-24 21:34:05 +00:00
Dockerfile back to yarn, with nuxt telemetry force disabled 2024-11-04 22:15:36 +11:00
error.vue server side and user client side completed for registration 2024-10-28 22:16:29 +11:00
LICENSE Add LICENSE 2024-10-22 22:40:13 +00:00
nuxt.config.ts fix(drop-base): add drop-base as git submodule 2024-12-27 16:36:37 +11:00
package.json feat(admin ui): customisable image carousel and new layout 2024-12-27 14:43:40 +11:00
README.md fix: Update README.md with discord link 2025-01-08 22:43:30 +00:00
SECURITY.md docs: Added SECURITY.md 2024-11-05 12:39:09 +11:00
tailwind.config.js feat(admin ui): add modifying game descriptions 2024-12-27 19:52:59 +11:00
tsconfig.json initial commit 2024-09-28 19:12:11 +10:00
yarn.lock feat(admin ui): customisable image carousel and new layout 2024-12-27 14:43:40 +11:00



GitHub License Gitlab Pipeline Status Discord Conventional Commits

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

  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. Copy the .env.example to .env and add your GiantBomb metadata key (more metadata providers coming)
  2. Create the .data directory with mkdir .data
  3. Ensure that your user owns the .data directory with sudo chown -R $(id -u $(whoami))
  4. Open up a terminal and navigate to dev-tools, and run docker compose up
  5. 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/register?id=admin

Contributing

Please see the in-depth contributing guide