Compare commits

...

3 Commits

Author SHA1 Message Date
n07070 a4569f4665 Add more comments 2023-11-17 01:21:36 +01:00
n07070 412d71df0f Add main file, comments to structure it 2023-11-17 00:59:43 +01:00
n07070 688e3cf14b Add Poetry 2023-11-17 00:59:34 +01:00
2 changed files with 73 additions and 0 deletions

20
pyproject.toml Normal file
View File

@ -0,0 +1,20 @@
[tool.poetry]
name = "bipbot"
version = "0.1.0"
description = "A general purpose bot"
authors = ["nono <social@n07070.xyz>"]
license = "AGPLv3"
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.11"
[[tool.poetry.source]]
name = "Gitea"
url = "https://git.n07070.xyz/n07070/bipbot"
priority = "primary"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

53
src/main.py Normal file
View File

@ -0,0 +1,53 @@
## Configuration files
## Channels ( In / Out )
# Channels are where we receive messages from, and where we send them back
# - Origin
# - Direction
# - Author
# - Content
# - Attachements
# - Type
### Telegram
### Matrix
### Mastodon
### Emails
### SMS
### Other
## Targets ( Scrapers )
# Targets are places ( ULRs or Files ) we watch for changes
# - Location
# - Type
### RSS
### Sensors
## Logic modules ( Caculate stuff )
# Logic modules are called when we receive something from a channel or a Target changes
### Reply
### Analyse
### Generate
## Timers
# Use to fire some actions in regards to alarms
## Storage
# We store information from Channels, Targets and resultats from Logic Modules
### Databases
### Media
# Typical flow