PieFed helper
- Python 88%
- HTML 12%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| notebooks | ||
| src/piebot | ||
| .gitignore | ||
| .python-version | ||
| config.py.sample | ||
| LICENSE | ||
| pyproject.toml | ||
| README.md | ||
| uv.lock | ||
PieBot
PieBot is a companion app for PieFed that adds AI-powered features to the PieFed experience.
Features (ToDo)
- community recommendations
- spamfilter
- recommendation algorithm
- machine translation
- TTS
- API
Config
Copy the config.py.sample to config.py and edit the settings.
Use the following code in an interactive Python console to generate a random secret key:
>>> import secrets
>>> secrets.token_urlsafe(16)
Run
uv run piebotQUART_APP=piebot:app uv run python -m quart runhypercorn piebot:appuv run marimo edit --sandbox notebooks/quickstart.py
Database tools:
uv run tortoise inituv run tortoise makemigrations --name add_posts_tableuv run tortoise migrate
AI usage disclaimer
- Everything is handcrafted by humans. This project leverages data science and machine learning trchniques, but isn't designed or written by generative AI.
Contributing
Contributions, ideas, bug reports, and feature suggestions are welcome.
License
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
Libraries
| Name | URL | License |
|---|---|---|
| Quart | https://quart.palletsprojects.com | MIT |
| Tortoise ORM | https://tortoise.github.io | Apache 2.0 |
| Simple.css | https://simplecss.org | MIT |
| Datastar | https://data-star.dev | MIT |
| plotly | https://plotly.com | MIT |