GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - rijkt/fediboard-poc: poc of a basic imageboard api to play with (moved to codeberg https://codeberg.org/rijkt/fediboard)

This repository was archived by the owner on Apr 11, 2026. It is now read-only.
BranchesTags
Open more actions menu

Latest commit

 

History

32 Commits
32 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
.vscode
.vscode
 
 
migrations
migrations
 
 
src
src
 
 
.gitignore
.gitignore
 
 
Cargo.lock
Cargo.lock
 
 
Cargo.toml
Cargo.toml
 
 
Containerfile
Containerfile
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
postgrestools.jsonc
postgrestools.jsonc
 
 

Repository files navigation

Fediboard (poc)

This is a proof of concept for a simple image board. The aim is to connect it to the Fediverse using the ActivityPub protocol. Local state will be stored as documents in a PostgreSQL database.

The RESTful API is built using axum and rust.

Development

After setting up the database and environment, the app can be run using cargo run .

Database

Fediboard expects a fully migrated database to be present for application runs and compilation.

Install sqlx cli using cargo install sqlx-cli and obtain a Postgres image. The following example uses podman to run the container:

podman run --replace  -d --name fedi-db \
    -e POSTGRES_PASSWORD=mysecretpassword \
    -e POSTGRES_DB=fediboard \
    -p 5432:5432 \
    docker.io/postgres:17
cargo sqlx migrate run # runs everything in ./migrations

To compile in offline mode, sqlx query metadata needs to be generated and checked into git. Add a pre-commit hook to generate sqlx query metadata automatically:

cargo sqlx prepare > /dev/null 2>&1; git add .sqlx > /dev/null

The supabase.postgrestools language server is used for editing Postgres files. Point your plugin at postgrestools.jsonc.

Environment

Fediboard expects the following environment variables to be set. Usage of .env files is supported using dotenvy.

NAME EXAMPLE
DATABASE_URL postgres://postgres:mysecretpassword@localhost:5432/fediboard
PORT 8080

License

See LICENSE.

About

poc of a basic imageboard api to play with (moved to codeberg https://codeberg.org/rijkt/fediboard)

Topics

axumpodmanpostgresrest-apirustsqlx

Resources

Readme
AGPL-3.0 license
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.