Syncronized telegram channel data for my blog, created using my TelegramBackup project.
- Fork this repo (uncheck the option "Copy the main branch only")
- Create your secrets (read here: TelegramBackup)
- Run GitHub actions
- Go to GitHub Pages settings and enable it, select
gh-pages
branch. - Your channel json will be hosted at
https://<username>.github.io/TelegramChanApi/posts.json
(The GitHub actions script will update the JSON once every two hours)
If you need to change the time zone of the generated time, you can add the following information to the tgc yml file. You can click on this link to see an example of using Asia/Shanghai time zone.
env:
TZ: Asia/Shanghai
LC_TIME: POSIX
https://profile-api.hydev.org/posts.json
Additionally, this repo can be used to localize your Zotero publications. Just go to Settings > Secrets and put your Zotero user id into a secret named ZOTERO_USERID.