YunoHost package for Redlib, a private front-end for Reddit
- Shell 72.7%
- Python 27.3%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
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> |
||
| .forgejo | ||
| conf | ||
| doc | ||
| scripts | ||
| .gitignore | ||
| config_panel.toml | ||
| LICENSE | ||
| manifest.toml | ||
| README.md | ||
| tests.toml | ||
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,arm64andarmhf - 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.1behind NGINX - Upgrading from the official
redlib_ynhpackage keeps the settings from itsredlib.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.