Awesome
<p align="center"> <img width="350" src="./image/exampleanime.png"> <img width="350" src="./image/examplemanga.png"> <h3 align="center">MAL-Box</h3> <p align="center">Pinnable GitHub Gist with your latest Activity from MyAnimeList</p> </p>🎉 Usage
🚧 Prep Work
- 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.
🔨 Setup
- 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.
🤫 Environment Secrets
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
.