Compare commits
3 Commits
dc600aa619
...
a4569f4665
Author | SHA1 | Date | |
---|---|---|---|
a4569f4665 | |||
412d71df0f | |||
688e3cf14b |
20
pyproject.toml
Normal file
20
pyproject.toml
Normal 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
53
src/main.py
Normal 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
|
Loading…
Reference in New Issue
Block a user