An open web directory and portal and a directory for funding.json manifests. Single binary Go application that uses Postgres as its data store.
See the official instance in action at dir.floss.fund.
If you don't have an existing Postgres instance running, use the docker-compose.yml file and run docker compose up db to run a new instance. The database name, username, and password for the Docker instance is portal.
- Download the latest binary from the releases page.
- Run
./portal --new-configto generate a new TOML config file. Edit the config, primarily the Postgres[db]credentials. - Run
./portal --installto install the database schema. - Run
./portaland visitlocalhost:9000
- Download the latest binary from the releases page.
- Stop the current instance of portal and replace the old binary with the latest one.
- Run
./portal --upgradeto run any database schema migrations. Run the app and visitlocalhost:9000
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.