dansup/apnet

A minimal ActivityPub network directory, powered by a curated SQLite database provided by FediDB

Maintainers

Details

github.com/dansup/apnet

Source

Installs: 0

Dependents: 0

Suggesters: 0

Security: 0

Stars: 17

Watchers: 1

Forks: 1

Type:project

dev-main 2023-07-29 08:39 UTC

This package is auto-updated.

Last update: 2024-11-29 11:43:30 UTC


README

A minimal ActivityPub network directory, powered by a curated SQLite database provided by FediDB

Installation

  1. Clone the source code
git clone https://github.com/dansup/apnet.git
  1. Change directory
cd apnet
  1. Install composer deps
composer install
  1. Copy .env file
cp .env.example .env
  1. Generate app key
php artisan key:generate
  1. Edit .env DB_DATABASE path

You need to edit this value to the full path to the sqlite database in the storage/app/ directory

DB_DATABASE=/path/to/storage/app/fedidb_public.db
  1. Optional: Start dev server
php artisan serve

Note: We don't recommend using this method in production, instead setup nginx or apache