Skip to content

Rust based directory application to collect list of federated instances

License

Notifications You must be signed in to change notification settings

PrivateBin/Directory

Folders and files

NameName
Last commit message
Last commit date
Mar 15, 2025
Apr 15, 2023
Mar 22, 2020
Mar 20, 2022
Feb 1, 2025
Jun 23, 2024
Mar 20, 2022
Dec 22, 2024
Mar 28, 2020
Jan 9, 2022
Mar 22, 2020
Feb 23, 2025
Mar 15, 2025
Mar 15, 2025
Feb 23, 2025
Feb 23, 2025
Feb 1, 2025
Dec 22, 2024
Mar 20, 2022
Mar 29, 2020
Dec 22, 2024
Mar 28, 2020

Repository files navigation

Directory

Rust based directory application to collect lists of federated instances of a software.

The application is built primarily using the following libraries:

Configuration

The image supports the use of the following environment variables:

  • CRON: (Optional) If set when running the app a cron cycle is performed. Set it to CRON=FULL to run a full cron (once a day).
  • GEOIP_MMDB: path to the GeoIP database, in MaxMind format
  • ROCKET_DATABASES: database dict for Diesel SQLite library integration into Rocket
  • ROCKET_SECRET_KEY: Needed in production environments, used to protect private cookies, generate this using openssl rand -base64 32

Volumes

  • /var/directory.sqlite: Database file, needs to be writeable
  • /var/geoip-country.mmdb: GeoIP database, country level is sufficient

Network ports

  • 8000/tcp: HTTP of web service

Usage

make help