Pinnable GitHub Gist with your latest Activity from MyAnimeList
- Create a new public GitHub Gist (https://gist.github.com/).
- Create a token with the
gist
scope and copy it. (https://github.com/settings/tokens/new) - Copy your username from MyAnimeList.
- Fork this repository.
- Go to your fork's Settings > Secrets page add each environment secret (below).
- Go to your fork's
Actions
tab and enable themal-box-default
workflow. - Thats it! Now you can pin the gist to your profile and every 30 minutes the gist will be updated.
How to use both Manga and Anime lists:
- Do everything from above steps in setup.
- Go to your fork's Settings > Environments > New environment and create two new environments called "manga" and "anime".
- Choose your "manga" environment and add each environment secret (below). Remember that the
GIST_ID
andMAL_MODE
will differ from the "anime" environment. - Choose your "anime" environment and add each environment secret (below). Remember that the
GIST_ID
andMAL_MODE
will differ from the "manga" environment. - Go to the
Actions
tab on your fork. - If enabled, disable the "mal-box-default" workflow by clicking on it and then Three dots > Disable Workflow .
- Enable the "mal-box-anime" Workflow via the same
Actions
tab. Start a workflow run by Actions > mal-box-anime > Run Workflow. - Enable the "mal-box-manga" Workflow via the same
Actions
tab. Start a workflow run by Actions > mal-box-manga > Run Workflow. - Thats it! Now you can pin the gists to your profile and every 30 minutes both gists will be updated.
GH_TOKEN
- The GitHub token you saved earlier.MAL_USERNAME
- Your MyAnimeList username.GIST_ID
- The ID of the gist url:https://gist.github.com/<github username>/
<gist ID>
.MAL_MODE
- Select the mode from two options:anime
ormanga
.