Self-hosted deployments require the completion of five key steps:
environmental preparation
- Basic running environment: Python 3.8+, Node.js 16+.
- Database: PostgreSQL 12+ (2GB or more RAM recommended)
- Version Control: Git Client
Deployment process
- Code Fetch: By
git clonePulling GitHub repositories - Backend Installation: Install the ffun package with pip and execute the database migration command
- front-end construction: Compiling static files after installing dependencies with npm
- service activation: Run the API services separately (
uvicorn) and background work processes
AI Functional Configuration
Needs to be set in the environment variables:
- OpenAI/Gemini API endpoint address
- The corresponding authentication key
- Optionally adjust the configuration file path of the label processor
Note: All data in the self-hosted version is stored in the local database, regular backups are recommended!pg_dataCatalog.
This answer comes from the articleFeeds.Fun: RSS feeds with automatic tagging and filtering of newsThe































