Automated collection of social activities using GitHub Actions.
There are two components in this repo
- Data collection: the python code in
pulse
folder will be executed regularly using cronjob in GitHub Actions. - Dashboard: the frontend code in
dashboard
folder takes the data and visualizes it.
Fork the repo, and change the configs.
- Fork the repo. Make sure to allow GitHub Actions when forking.
- Remove the data files in
dashboard/data
. - Change the
CNAME
file to adjust to your own domain name if needed. Otherwise, delete the file. - Change the configs (see below).
The config file is located in configs/config.json
.
Change all the user_id
fields in the config. Check the details of the //
comments in the following example.
{
"name": "social pulse",
"base_folder": "dashboard/data",
"enabled": [
["douban", "book_movie_music"]
],
"combined": {
"artifacts": {
"local": "pulses.json"
}
},
"social": {
"douban": {
"book_movie_music": {
"user_id": "emptymalei", // Replace it with your own douban id
"artifacts": {
"local": "douban/douban__book_movie_music.json"
}
},
"status": {
"user_id": "1587390", // Replace it with your own douban id, only numerical id is supported: https://docs.rsshub.app/social-media.html#dou-ban
"artifacts": {
"local": "douban/douban__status.json"
}
}
},
"github": {
"events": {
"user_id": "emptymalei", // Replace it with your GitHub id.
"artifacts": {
"local": "github/github__events.json"
}
}
}
}
}