File tree Expand file tree Collapse file tree 6 files changed +604
-0
lines changed
Expand file tree Collapse file tree 6 files changed +604
-0
lines changed Original file line number Diff line number Diff line change 1+ # Copy this file to ".env" and fill in your values.
2+
3+ GITHUB_TOKEN = ghp_your_token_here
4+
5+ # Optional filters
6+ GITHUB_NOTIF_PARTICIPATING_ONLY = true
7+ GITHUB_NOTIF_INCLUDE_READ = false
8+ GITHUB_NOTIF_REASONS_INCLUDE =
9+ GITHUB_NOTIF_REASONS_EXCLUDE = subscribed,ci_activity
10+ GITHUB_NOTIF_REPOS_INCLUDE =
11+ GITHUB_NOTIF_REPOS_EXCLUDE =
12+
13+ # RSS metadata
14+ RSS_TITLE = GitHub notifications RSS
15+ RSS_LINK = https://github.com/notifications
16+ RSS_DESCRIPTION = Custom feed built from your GitHub notifications
17+
18+ # Cache duration (seconds). 0 = disable caching.
19+ CACHE_TTL_SECONDS = 60
20+
21+ # Use HTML inside <description> (most readers support this nicely)
22+ RSS_HTML_DESCRIPTION = true
23+
24+
25+ # Server
26+ BIND_ADDR = 0.0.0.0
27+ BIND_PORT = 8000
28+
Original file line number Diff line number Diff line change 1+ __pycache__ /
2+ * .pyc
3+ .env
4+ .idea /
5+ .vscode /
6+ * .log
7+
Original file line number Diff line number Diff line change 1+ FROM python:3.12-slim
2+
3+ WORKDIR /app
4+
5+ COPY requirements.txt .
6+ RUN pip install --no-cache-dir -r requirements.txt
7+
8+ COPY app.py .
9+
10+ ENV BIND_ADDR=0.0.0.0
11+ ENV BIND_PORT=8000
12+
13+ EXPOSE 8000
14+
15+ CMD ["python" , "app.py" ]
16+
You can’t perform that action at this time.
0 commit comments