YunoHost package for Redlib, a private front-end for Reddit
  • Shell 72.7%
  • Python 27.3%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
John Hackett f8e2ede6c2 Add Forgejo Actions workflow to auto-update Redlib
A daily (and manually dispatchable) workflow runs
.forgejo/scripts/update_redlib.py, which reads the asset patterns from
the manifest's autoupdate table, checks the latest upstream GitHub
release, downloads each asset to compute its sha256 and rewrites the
URLs, checksums and version in manifest.toml. When a new version is
found, the workflow pushes an autoupdate/redlib-v<version> branch and
opens a pull request; an existing branch for that version is left alone.

Also point the README install command at the forge URL.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 08:20:07 +00:00
.forgejo Add Forgejo Actions workflow to auto-update Redlib 2026-11-11 08:20:07 +00:00
conf Add YunoHost package for Redlib 0.40.0 2026-11-11 08:06:35 +00:00
doc Add YunoHost package for Redlib 0.40.0 2026-11-11 08:06:35 +00:00
scripts Add YunoHost package for Redlib 0.40.0 2026-11-11 08:06:35 +00:00
.gitignore Add YunoHost package for Redlib 0.40.0 2026-11-11 08:06:35 +00:00
config_panel.toml Add YunoHost package for Redlib 0.40.0 2026-11-11 08:06:35 +00:00
LICENSE Add YunoHost package for Redlib 0.40.0 2026-11-11 08:06:35 +00:00
manifest.toml Add YunoHost package for Redlib 0.40.0 2026-11-11 08:06:35 +00:00
README.md Add Forgejo Actions workflow to auto-update Redlib 2026-11-11 08:20:07 +00:00
tests.toml Add YunoHost package for Redlib 0.40.0 2026-11-11 08:06:35 +00:00

Redlib for YunoHost

Redlib is a private, alternative front-end for Reddit. This repository packages it for YunoHost.

Overview

  • Uses the official prebuilt static (musl) release binaries for amd64, arm64 and armhf
  • Needs a dedicated domain (Redlib doesn't support sub-paths)
  • Multi-instance, no database, no data on disk: Redlib is stateless
  • All of Redlib's instance and default user settings are exposed in the config panel
  • Hardened systemd service, listening on 127.0.0.1 behind NGINX
  • Upgrading from the official redlib_ynh package keeps the settings from its redlib.conf

See doc/DESCRIPTION.md and doc/ADMIN.md.

Installation

sudo yunohost app install https://git.mutual.email/john/redlib_ynh --args "domain=redlib.example.com&init_main_permission=visitors"

Testing

package_check /path/to/redlib_ynh

Updating Redlib

A Forgejo Actions workflow (.forgejo/workflows/autoupdate.yml) checks daily for a new upstream release. When there is one, it opens a pull request that bumps the source URLs, sha256 checksums and version in manifest.toml. It can also be run by hand from the repository's Actions tab.

To bump the manifest locally instead:

python3 .forgejo/scripts/update_redlib.py manifest.toml

License

Packaging scripts: AGPL-3.0. Redlib itself: AGPL-3.0-only.