Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jckli/mal-box
📌 Update a pinned gist to contain your latest activity from MyAnimeList
https://github.com/jckli/mal-box
anime gist gistbox github github-gist myanimelist myanimelist-api pinned-gist
Last synced: 2 months ago
JSON representation
📌 Update a pinned gist to contain your latest activity from MyAnimeList
- Host: GitHub
- URL: https://github.com/jckli/mal-box
- Owner: jckli
- Created: 2021-12-31T22:04:54.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2022-03-10T22:50:02.000Z (almost 3 years ago)
- Last Synced: 2024-08-02T07:09:49.302Z (5 months ago)
- Topics: anime, gist, gistbox, github, github-gist, myanimelist, myanimelist-api, pinned-gist
- Language: TypeScript
- Homepage:
- Size: 75.2 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-pinned-gists - mal-box - Update a pinned gist to contain your latest activity from MyAnimeList. (External Services)
README
MAL-Box
Pinnable GitHub Gist with your latest Activity from MyAnimeList
***
## 🎉 Usage
### 🚧 Prep Work
1. Create a new public GitHub Gist (https://gist.github.com/).
2. Create a token with the `gist` scope and copy it. (https://github.com/settings/tokens/new)
3. Copy your username from MyAnimeList.### 🔨 Setup
1. Fork this repository.
2. Go to your fork's **Settings > Secrets** page add each environment secret (below).
3. Go to your fork's `Actions` tab and enable the `mal-box-default` workflow.
4. **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:**
1. Do everything from above steps in setup.
2. Go to your fork's **Settings > Environments > New environment** and create two new environments called "manga" and "anime".
3. Choose your "manga" environment and add each environment secret (below). Remember that the `GIST_ID` and `MAL_MODE` will differ from the "anime" environment.
4. Choose your "anime" environment and add each environment secret (below). Remember that the `GIST_ID` and `MAL_MODE` will differ from the "manga" environment.
5. Go to the `Actions` tab on your fork.
5. If enabled, disable the "mal-box-default" workflow by clicking on it and then **Three dots > Disable Workflow** .
6. Enable the "mal-box-anime" Workflow via the same `Actions` tab. Start a workflow run by **Actions > mal-box-anime > Run Workflow**.
7. Enable the "mal-box-manga" Workflow via the same `Actions` tab. Start a workflow run by **Actions > mal-box-manga > Run Workflow**.
8. **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//`**``**.
- **`MAL_MODE`** - Select the mode from two options: `anime` or `manga`.