Skip to content

Commit 00a4879

Browse files
committed
Init repo
1 parent 47897a5 commit 00a4879

File tree

6 files changed

+604
-0
lines changed

6 files changed

+604
-0
lines changed

.env.example

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
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+

.gitignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
__pycache__/
2+
*.pyc
3+
.env
4+
.idea/
5+
.vscode/
6+
*.log
7+

Dockerfile

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
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+

0 commit comments

Comments
 (0)