HUB
Sign inSign up
serenade-myfeed logo

interchouette/serenade-myfeed

By interchouette

•Updated 24 minutes ago

Self-hosted public feed demo built with Serenade and Rust, rich-text posts, moderation, and SQLite

Image
Languages & frameworks
Developer tools
Web servers
0

1.6K

interchouette/serenade-myfeed repository overview

⁠Serenade MyFeed

Live at https://myfeed.serenade.rs/⁠

A self-hosted public feed demo built with the Serenade Rust framework.

Source code and development commands: Interchouette-ITC/Serenade⁠

MyFeed demonstrates server-rendered HTML, rich-text publishing, comment moderation, and persistent SQLite storage using Serenade components.

⁠Features

  • Rich-text posts with Quill, emoji, images, and media embeds
  • Public likes and moderated comments
  • Admin sign-in, post editing, and deletion
  • Category management and feed search
  • English and French translations
  • SQLite persistence without a separate database server
  • Multi-stage Rust build with a non-root Debian runtime

⁠Tags

TagMeaning
devDevelopment image published from the dev branch
latestSame development build, also tagged latest

latest currently tracks development builds; it is not a separate stable release.

⁠Quick start

Set your own admin token and CSRF secret before starting:

export MYFEED_ADMIN_TOKEN='replace-with-a-long-random-admin-token'
export MYFEED_CSRF_SECRET='replace-with-a-long-random-csrf-secret'

docker run -d \
  --name serenade-myfeed \
  -p 127.0.0.1:8080:8080 \
  --mount type=volume,source=myfeed-data,target=/data \
  -e MYFEED_ADMIN_TOKEN \
  -e MYFEED_CSRF_SECRET \
  --security-opt no-new-privileges:true \
  --cap-drop ALL \
  interchouette/serenade-myfeed:latest

Open http://localhost:8080/⁠.

For administration, open http://localhost:8080/admin⁠ and enter your configured admin token.

⁠Configuration

VariableContainer defaultPurpose
MYFEED_BIND0.0.0.0:8080Server listen address
MYFEED_DB/data/myfeed.sqliteSQLite database location
MYFEED_ADMIN_TOKENmyfeed-dev-adminAdmin sign-in token
MYFEED_CSRF_SECRETDevelopment secretHMAC CSRF key

Replace both development credentials before any non-local deployment.

⁠Persistent storage

Mount a Docker volume at /data to retain posts across container replacements.

The quick-start command uses the named volume myfeed-data. Removing the container does not delete this volume.

⁠Container management

docker logs -f serenade-myfeed
docker stop serenade-myfeed
docker start serenade-myfeed

⁠Deployment notes

MyFeed is an open public feed and a framework demonstration, not a private social network.

For public deployment, use an HTTPS reverse proxy, configure strong credentials, and back up the SQLite database.

⁠License

Apache-2.0. See the source repository for license details.

Tag summary

Content type

Image

Digest

sha256:33f958845…

Size

36.6 MB

Last updated

24 minutes ago

docker pull interchouette/serenade-myfeed