Back to services

Dropserver

An application platform for your personal web services.

View alternatives to Dropserver
Suggest edit
Open source
Self-hostable
Apache-2.0
Recent reviews

Alternatives

Tech stack

No tech stack added yet. Sign in to suggest some

Overview

Dropserver is an open-source personal application server for hosting lots of small web-based apps. Rather than trying to make a single app serve huge numbers of users, it lets everyone run their own apps at a small scale, which suits individuals, families, clubs, and small businesses. The project's philosophy is close to the "indie web" and "small web" movements, and its aim is to let users stay in control of the code and data they use in the cloud.

Key features

  • Multiple apps on one instance: once Dropserver is set up, installing an app takes just a few clicks, and the official site says installed apps "just work".
  • Appspaces and collaboration with friends: an app instance is called an appspace. You can invite friends to join your appspace to collaborate and share, at scales from two or three people to a few hundred.
  • Unified identity (dropid): you don't have to sign up for a new account every time you use a new app. You can go straight into all the apps you have installed, and appspaces that friends invite you to can be entered with one click.
  • Sandboxed security: every app runs in a sandbox. By default it cannot read files on disk or access servers on the internet. When an app needs these permissions, the user must grant them explicitly. On Linux you can also add another layer of isolation with Bubblewrap, and monitor and limit resource usage with cgroups v2.
  • Portable data: apps and their data can be exported and moved to a new server.
  • Resources used on demand: the design is similar to apps on a phone. You can install many of them, but only the apps in use take up memory and CPU.

For developers

Dropserver aims to make writing app backends as easy as possible. The platform provides the following:

  • User management (including avatars) and authentication
  • Private and public routes
  • File storage and static asset serving
  • Data migration hooks, plus backup and import of app data
  • A local development environment, ds-dev

Developers only need to write the app logic. For example, the backend of the official "Secret Santa" example app is a single TypeScript file of about 120 lines. Existing apps include Leftovers (tracks leftover food in the fridge) and Shopping List (a shopping list with inventory tracking).

Use cases

  • Private, single-user apps such as a personal journal, accessible from any device you're logged in on
  • Small multi-user tools for families
  • A static site CMS: content editing goes through private routes, and the published site is served through public routes
  • Internal tools for work teams or clubs

Deployment (Linux)

  1. Download ds-host from GitHub Releases. It supports x86-64 and arm64 (such as Raspberry Pi).
  2. Install Deno.
  3. Point your domain and all of its subdomains (@ and * wildcard records) to the host or a reverse proxy.
  4. Create a data directory (such as /srv/dropserver) and a socket directory (such as /var/run/dropserver).
  5. Write a config.json configuration file. ds-host can listen directly on ports 80/443 and obtain certificates automatically through Let's Encrypt, or it can run behind a reverse proxy (recommended, together with a wildcard certificate).
  6. Run ds-host -config=/path/to/config.json -migrate to initialize the database, then start it normally. Using systemd to manage the service is recommended.
  7. Find the setup_key_reveal= link in the logs and use it to create an admin account, then create a dropid, upload an app, and create an appspace.

A macOS version is now also available. You can also access your instance through Tailscale.

Technical requirements

  • A Linux or macOS host
  • Deno installed
  • A domain on which you can configure wildcard subdomains
  • Optional: cgroups v2 (requires running in a delegable cgroup, for example systemd's Delegate=true), Bubblewrap

Notes

  • The project is still under active development. As of the latest version listed on the official site, 0.14.5, most features are usable, and the author says instances can run for months without problems.
  • The project is developed largely by one person, and the official site warns that there may be security vulnerabilities, so be especially careful when exposing it to the public internet.
  • Some features are still incomplete, and the app API and configuration file format may still change before it stabilizes.
  • It is currently aimed mainly at developers and technically inclined users. Making it possible for non-technical users to install it themselves is a goal that is still being worked on.