PieFed helper
  • Python 88%
  • HTML 12%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-09-23 10:50:32 +02:00
notebooks marimo notebooks 2026-09-03 10:58:23 +02:00
src/piebot process replies 2026-09-23 10:50:32 +02:00
.gitignore deploy 2026-08-28 10:24:56 +02:00
.python-version uv init 2026-08-14 14:49:05 +02:00
config.py.sample layout 2026-09-04 18:24:28 +02:00
LICENSE Initial commit 2026-08-14 14:44:00 +02:00
pyproject.toml ui 2026-09-19 16:51:30 +02:00
README.md layout 2026-09-04 18:24:28 +02:00
uv.lock ui 2026-09-19 16:51:30 +02:00

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 piebot
  • QUART_APP=piebot:app uv run python -m quart run
  • hypercorn piebot:app
  • uv run marimo edit --sandbox notebooks/quickstart.py

Database tools:

  • uv run tortoise init
  • uv run tortoise makemigrations --name add_posts_table
  • uv 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