尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证每日趣味與政治漫畫的 RSS 订阅服务
AI 翻译
RSS feed service for daily funnies and political cartoons
取自仓库 README
正在加载完整 README。 以下为已保存的摘录。
ComicCaster is a web application that generates RSS feeds for comics from multiple sources: GoComics, Comics Kingdom, TinyView, The Far Side, The New Yorker, Creators Syndicate, and Mr. Boffo. It provides a unified interface to subscribe to your favorite comics through RSS.查看完整 README ↗ComicCaster is a web application that generates RSS feeds for comics from multiple sources: GoComics, Comics Kingdom, TinyView, The Far Side, The New Yorker, Creators Syndicate, and Mr. Boffo. It provides a unified interface to subscribe to your favorite comics through RSS.
/catalog.json lists every comic with one schema (name, author, source, category, language, feed URL, last update)llms.txt: /llms.txt explains the catalog, feed URL patterns and OPML generation for agentsAccess-Control-Allow-Origin: *, so browser-based tools can fetch them directlyVisit ComicCaster to:
git clone https://github.com/adamprime/comiccaster.git
cd comiccaster
npm install
netlify dev
http://localhost:8888 in your browserFor Flask-specific development:
# Run Flask without debug mode (recommended)
python run_app.py
# Run Flask with debug mode (LOCAL DEVELOPMENT ONLY - NEVER use in production!)
# WARNING: Debug mode is a security vulnerability - it exposes sensitive data
FLASK_DEBUG=true python run_app.py # INSECURE - Use only for local debugging!
The Flask app will be available at http://localhost:5001
comiccaster/
├── comiccaster/ # Main Python package
│ ├── feed_generator.py # RSS feed generation
│ ├── loader.py # Comic configuration management
│ └── web_interface.py # Flask web application
├── public/ # Static files served by Netlify
│ ├── index.html # Main application page
│ ├── feeds/ # Pre-generated RSS feed files
│ └── comics_list.json # Comic metadata
├── functions/ # Netlify serverless functions
│ ├── generate-opml.js # OPML bundle generation
│ └── fetch-feed.js # Feed preview (allowlisted: own feeds + listed external feeds)
├── scripts/ # Utility and update scripts
├── tests/ # Test suite
└── docs/ # Documentation
Feeds are updated daily and committed to the repository. The workflow:
A second pass re-scrapes GoComics later in the day to pick up political and editorial cartoonists who publish after the overnight window. The Far Side's Daily Dose is retried every 30 minutes through the morning, because the site publishes it at an unpredictable hour.
# Clone the repository
git clone https://github.com/adamprime/comiccaster.git
cd comiccaster
# Create virtual environment
python3 -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
# Install dependencies
pip install -r requirements.txt
pip install -e . # Install package in development mode
# Install test dependencies
pip install pytest pytest-cov pytest-mock
# Run all tests
pytest -v
# Run with coverage
pytest -v --cov=comiccaster --cov-report=term-missing
# Run specific test category
pytest -v tests/test_tinyview_scraper.py
See TESTING_GUIDE.md for comprehensive testing documentation.
public/public/tinyview_comics_list.jsonpublic/external_comics_list.json{
"name": "Comic Name",
"slug": "comic-slug",
"url": "https://source.com/comic-slug",
"source": "gocomics-daily|gocomics-political|tinyview"
}
{
"feed_url": "https://comic.example/feed.xml",
"source": "external-rss"
}
Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.
git checkout -b feature/amazing-feature)pytest -v)git commit -m 'Add amazing feature')git push origin feature/amazing-feature)This project is licensed under the MIT License - see the LICENSE file for details.