Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/drryanhuang/bangumi-anime
Showcase Your Bangumi Anime Watchlist! πΊπΏβ¨
https://github.com/drryanhuang/bangumi-anime
Last synced: 2 months ago
JSON representation
Showcase Your Bangumi Anime Watchlist! πΊπΏβ¨
- Host: GitHub
- URL: https://github.com/drryanhuang/bangumi-anime
- Owner: DrRyanHuang
- License: gpl-3.0
- Created: 2024-04-26T14:18:12.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-11-18T01:36:30.000Z (2 months ago)
- Last Synced: 2024-11-18T02:35:40.120Z (2 months ago)
- Language: Python
- Homepage:
- Size: 8.46 MB
- Stars: 0
- Watchers: 1
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### Demo Showcase π₯π
### Getting Started π
To get started, simply fork this repository and modify the contents of the config.py file:
```python
USER_INFO = {
"name": "ryanbgm", # <------ Replace with your Bangumi username# Ensure that the total number of anime you've watched exceeds cols x rows
"cols": 10, # Number of columns
"rows": 4, # Number of rows
}
```Once you've updated the configuration, sit back and let the GitHub Action work its magic! β¨ After the action completes, you'll find your personalized anime watchlist image in the status.svg file, with the titles arranged in chronological order.
### Customization π¨
Dive into the main.py and utils.py files to take your watchlist customization to the next level. Modify these files to filter anime titles based on your preferred criteria or genres, ensuring that your list perfectly aligns with your taste. π―
For even more control, explore the `type_filter` and `img_filter` functions in the utils.py file. These powerful tools allow you to fine-tune your anime selection, creating a watchlist that is tailored just for you. ποΈ
By default, the script automatically filters out anime that you've put on hold or dropped, based on the `CODE_CONFIG["anime_type"]` setting in the config.py file. This feature gives you a clean and focused view of your active watchlist, so you can start optimizing your list right away! π
### Adjusting Update Frequency β°
If you want to change how often the SVG file is updated, simply modify the cron expression in the .github\workflows\python-app.yml file:
```yml
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
schedule:
- cron: "0 0 * * 1" # <------------ mondays at 00:00
```Customize the cron expression to set your desired update frequency and keep your watchlist always up to date! π
### Under the Hood π
This project leverages the official Bangumi API to fetch your watched anime data and utilizes the svgwrite library to generate the SVG image. The combination of these powerful tools allows for a seamless and efficient creation of your personalized anime watchlist. π§©π‘
### Feedback and Contributions π
If you have any questions, suggestions, or would like to contribute to the project, please don't hesitate to open an issue on the GitHub repository. Your feedback is invaluable and greatly appreciated! ππ