# funread-api **Repository Path**: farfarfun/funread-api ## Basic Information - **Project Name**: funread-api - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-09-17 - **Last Updated**: 2026-10-21 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # funread-api `funread` 的后端服务,依赖 [funread](https://github.com/farfarfun/funread) 核心库并对外暴露 API,供 [funread-web](https://github.com/farfarfun/funread-web) 调用。搭配使用见 [funread-dev](https://github.com/farfarfun/funread-dev)。 ## Install and run Install a released version with `uv`: ```bash uv tool install funread-api ``` The named CLI owns the server lifecycle: ```bash funread-api server start funread-api server status funread-api server stop funread-api server run --port 18811 funread-api server restart ``` The server listens on `127.0.0.1:18811` by default. `start` writes its PID and log to `.run/funread-api.pid` and `.run/funread-api.log` below the current working directory; `run` keeps the process in the foreground. Visit `/docs` for the API documentation and `/healthz` for health checks. For a repository checkout, `scripts/setup.sh` keeps installation separate from runtime: ```bash scripts/setup.sh install-dev scripts/setup.sh install-prod [version] scripts/setup.sh publish scripts/setup.sh start scripts/setup.sh status ``` Runtime actions invoke only the installed `funread-api` CLI. The same CLI also provides `upgrade [version]`, `rollback `, and `uninstall`; the last action stops the managed service before removing the package. ## Development ```bash uv sync --extra dev uv run pytest -q uv run ruff check . ``` --- ## 关于 farfarfun [farfarfun](https://github.com/farfarfun) 是一个专注于实用工具库的开源组织, 涵盖云存储、数据处理、AI、多媒体与开发工具链等方向。 - 🏠 组织主页: - 📦 PyPI: - 📧 联系:farfarfun@qq.com 本项目基于 [MIT](LICENSE) 协议开源。