Skip to content

chienwen/github-robot

Repository files navigation

Configuration

Put a file config.ini like:

GITHUB_OWNER=chienwen
GITHUB_REPO=blahblah
GITHUB_AUTH_TOKEN=

PLURK_CONSUMER_KEY=
PLURK_CONSUMER_SECRET=

PLURK_SMULLERS_OAUTH_ACCESS_TOKEN=
PLURK_SMULLERS_OAUTH_ACCESS_TOKEN_SECRET=
PLURK_SMULLERS_USER_ID=

PLURK_SCHIPHOL_OAUTH_ACCESS_TOKEN=
PLURK_SCHIPHOL_OAUTH_ACCESS_TOKEN_SECRET=
PLURK_SCHIPHOL_USER_ID=

PLURK_HOTELDELLUNA_OAUTH_ACCESS_TOKEN=
PLURK_HOTELDELLUNA_OAUTH_ACCESS_TOKEN_SECRET=
PLURK_HOTELDELLUNA_USER_ID=

PLURK_BLOODRAYNE_OAUTH_ACCESS_TOKEN=
PLURK_BLOODRAYNE_OAUTH_ACCESS_TOKEN_SECRET=
PLURK_BLOODRAYNE_USER_ID=

PLURK_VIOOL_OAUTH_ACCESS_TOKEN=
PLURK_VIOOL_OAUTH_ACCESS_TOKEN_SECRET=
PLURK_VIOOL_USER_ID=

FACEBOOK_TITLE_MATCH_PATTERN=

PTT_USERS_COMMA_SEP=
PTT_BOARDS_COMMA_SEP=ALLPOST

HACKMD_GITHUB_REPO=
HACKMD_TOKEN=

CLICKUP_GITHUB_REPO=
CLICKUP_TEAM_ID=
CLICKUP_TOKEN=

Backup plurks

npm run plurk -- --fetch-count-limit=10 --fetch-batch-size=10
npm run plurk -- --fetch-date-limit=2023-12-01

cron settings

0 8 * * * cd ~/github-robot/ && /usr/bin/npm run plurk -- --fetch-count-limit=50

Backup facebook group

npm run facebook -- my_facebook_dump/groups/your_posts_and_comments_in_groups.json 0 8000 >> log.txt 2>&1

Backup ptt

npm run ptt

Backup hackmd

npm run hackmd

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published