diff options
author | clarkzjw <[email protected]> | 2023-02-23 11:16:27 -0800 |
---|---|---|
committer | clarkzjw <[email protected]> | 2023-02-23 12:07:32 -0800 |
commit | c5d0fa1fb08e3a3d4dca7aaff7590d35072f0e75 (patch) | |
tree | 27b427b8797f996e50050a0769866d5710a719ff | |
parent | f1bcfdf48153e9c08cc1abfc7fd80cc8cc290359 (diff) | |
download | swarm2fediverse-c5d0fa1fb08e3a3d4dca7aaff7590d35072f0e75.tar.gz |
update README
-rw-r--r-- | README | 15 | ||||
-rw-r--r-- | README.md | 27 | ||||
-rw-r--r-- | dbstore/peewee_store.py | 2 |
3 files changed, 29 insertions, 15 deletions
@@ -1,15 +0,0 @@ | |||
1 | # Swarm2Fediverse | ||
2 | |||
3 | Foursquare Swarm like Telegram bot to checkin at places and post to Fediverse (Mastodon/Pleroma) | ||
4 | |||
5 | TODO: | ||
6 | |||
7 | - Option to set individual checkin visibility | ||
8 | - Amazon .bot domain | ||
9 | - i18n | ||
10 | - Anonymized analysis | ||
11 | - OAuth login to Mastodon/Pleroma | ||
12 | - Delayed checkins | ||
13 | - user usage count, add Telegram payment option | ||
14 | - connect one Telegram user to multiple Fediverse accounts | ||
15 | - Docker deployment, CI/CD, API Gateway | ||
diff --git a/README.md b/README.md new file mode 100644 index 0000000..1dd14e5 --- /dev/null +++ b/README.md | |||
@@ -0,0 +1,27 @@ | |||
1 | # Checkin.bot | ||
2 | |||
3 | Foursquare Swarm like Telegram bot to check in at places and post to Fediverse (Mastodon/Pleroma) | ||
4 | |||
5 | ## Features | ||
6 | |||
7 | - [x] Telegram native location venue checkin | ||
8 | - [x] Telegram raw GPS location checkin | ||
9 | - [x] Attach additional comments and medias (photos, up to 4) with checkins | ||
10 | |||
11 | ## TODO: | ||
12 | |||
13 | - [x] OAuth2 login | ||
14 | |||
15 | - Supported Fediverse software | ||
16 | - [x] Mastodon | ||
17 | - [ ] Pleroma | ||
18 | - [ ] Misskey | ||
19 | |||
20 | - [ ] Option to set individual checkin visibility | ||
21 | - [ ] Delayed checkins (Scheduled posts on Fediverse) | ||
22 | - [ ] Connect multiple Fediverse accounts | ||
23 | - [ ] .bot domain | ||
24 | - [ ] CI/CD, Tyk API Gateway | ||
25 | - [ ] add Telegram payment option to enable raw GPS checkins | ||
26 | - [ ] i18n | ||
27 | - [ ] Anonymized analysis | ||
diff --git a/dbstore/peewee_store.py b/dbstore/peewee_store.py index 272e230..d124de2 100644 --- a/dbstore/peewee_store.py +++ b/dbstore/peewee_store.py | |||
@@ -16,6 +16,8 @@ class BaseModel(Model): | |||
16 | 16 | ||
17 | class User(BaseModel): | 17 | class User(BaseModel): |
18 | telegram_user_id = CharField(unique=True, primary_key=True) | 18 | telegram_user_id = CharField(unique=True, primary_key=True) |
19 | # TODO: | ||
20 | # add AES encryption to access_key | ||
19 | access_key = CharField(max_length=64) | 21 | access_key = CharField(max_length=64) |
20 | home_instance = CharField(max_length=128) | 22 | home_instance = CharField(max_length=128) |
21 | state = CharField(max_length=128) | 23 | state = CharField(max_length=128) |