portal

module
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 27, 2025 License: AGPL-3.0

README

funding.json manifest portal

An open web directory and portal and a directory for funding.json manifests. Single binary Go application that uses Postgres as its data store and Typesense for search.

See the official instance in action at dir.floss.fund.

Installation

Binary
  • Download the binary from the releases page.
  • Run ./portal --new-config to generate a new TOML config file. Edit the file.
  • Run ./portal --install to install the Postgres and Typesense schemas.
  • Run ./portal and visit localhost:9000
Docker
  • Copy the docker-compose.yml file.
  • Run docker-compose up
  • Visit localhost:9000
Running the crawler

Schedule a cron job to run (./portal --mode=crawl) the crawler at the desired interval. The crawler runs N workers and goes through all the manifest URLs in the database and updates their contents if they have changed (based on the Last-Updated header) within the interval specified in the config.

Directories

Path Synopsis
cmd
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL