Privacy-first bug and feature report tool for Forgejo-hosted projects.
164
Privacy-first bug and feature report tool for Forgejo-hosted projects
Users submit reports without a Forgejo account. API token stays server-side.
| Variable | Required | Default | Purpose |
|---|---|---|---|
FRT_apiURL | Yes | โ | Forgejo API base URL |
FRT_token | Yes | โ | Forgejo API token (server-side only) |
FRT_owner | Yes | โ | Repository owner |
FRT_repo | Yes | โ | Repository name |
FRT_siteName | No | Anonymous Report Tool | UI header and browser tab name |
FRT_accessPassword | No | โ | Password gate for report access |
FRT_accessCookieName | No | โ | Cookie name for webview bypass (requires FRT_accessCookieValue) |
FRT_accessCookieValue | No | โ | Expected cookie value (shared secret) for webview bypass |
FRT_logoPath | No | custom/logo.png | Custom logo image path |
PORT | No | 3001 | Server port |
src/environments/environment.tsโ )export const appConfig = {
bugLabel: 'kind/bug',
featureLabel: 'kind/feature',
enhancementLabel: 'kind/enhancement',
criticalLabel: 'critical',
criticalPriorityLabel: 'priority/critical',
};
Repo in Forgejo must use "Advanced Label Set" to fully enjoy this tool.
custom/config.jsonโ )Editable file mounted at runtime. No rebuild needed.
{
"features": {
"categories": [
{ "name": "General", "features": ["User Interface", "Performance", "Accessibility"] },
{ "name": "Authentication", "features": ["Login", "Registration", "Password Reset"] }
]
},
"typeFilter": {
"enabled": true,
"types": { "bug": true, "feature": true, "enhancement": true }
}
}
Place logo.png in custom/โ . Served at /api/logo without auth.
Requires connection to the same Docker network as Forgejo. The example below uses the external network forgejo_forgejo (created by Forgejo's docker-compose). Within this shared network, Forgejo is reachable via its service/container hostname (e.g. http://forgejo:3000).
docker build -t forgejo-report-tool .
docker run -d --restart unless-stopped \
--name forgejo-report-tool \
-p 3001:3001 \
--network forgejo_forgejo \
-e FRT_apiURL=http://forgejo:3000/api/v1 \
-e FRT_token=your_token \
-e FRT_owner=your_org \
-e FRT_repo=your_repo \
-v $(pwd)/custom:/app/custom \
forgejo-report-tool
Mount custom/โ volume to override config and logo without rebuild.
| Method | Path | Purpose |
|---|---|---|
| GET | /api/config | Site name and subtitle |
| GET | /api/custom-config | Feature list and type filters |
| GET | /api/logo | Custom logo image |
| GET | /api/access | Session auth |
| POST | /api/logout | Invalidate session |
| POST | /api/proxy | Proxy Forgejo API requests |
Content type
Image
Digest
sha256:fdafba5e6โฆ
Size
55 MB
Last updated
5 months ago
docker pull manatactical/forgejo-report-tool