{"id":17823334,"url":"https://github.com/purarue/mal-notify-bot","last_synced_at":"2025-03-18T16:30:25.772Z","repository":{"id":43475651,"uuid":"169936756","full_name":"purarue/mal-notify-bot","owner":"purarue","description":"discord bot that checks the MAL \"Just Added\" page, reporting newly approved entries","archived":false,"fork":false,"pushed_at":"2024-10-27T20:10:04.000Z","size":389,"stargazers_count":3,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-28T10:44:37.779Z","etag":null,"topics":["discord-bot","discord-py","mal","myanimelist"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/purarue.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-02-10T02:47:59.000Z","updated_at":"2024-10-27T20:10:08.000Z","dependencies_parsed_at":"2023-02-15T11:15:25.996Z","dependency_job_id":"81af0353-6e87-4066-8486-06d3f857fe94","html_url":"https://github.com/purarue/mal-notify-bot","commit_stats":null,"previous_names":["seanbreckenridge/mal-notify-bot"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/purarue%2Fmal-notify-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/purarue%2Fmal-notify-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/purarue%2Fmal-notify-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/purarue%2Fmal-notify-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/purarue","download_url":"https://codeload.github.com/purarue/mal-notify-bot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243940058,"owners_count":20372044,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["discord-bot","discord-py","mal","myanimelist"],"created_at":"2024-10-27T17:57:33.070Z","updated_at":"2025-03-18T16:30:25.766Z","avatar_url":"https://github.com/purarue.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mal-notify-bot\n\nA discord bot that checks the [Just Added](https://myanimelist.net/anime.php?o=9\u0026c%5B0%5D=a\u0026c%5B1%5D=d\u0026cv=2\u0026w=1) page on [MAL](https://myanimelist.net/), reporting any newly approved entries.\n\n\u003cimg src=\"https://i.imgur.com/pEVk0iw.png\" alt=\"\" width=400\u003e\n\n#### Join:\n\nYou can join the discord server this is run on [here](https://goo.gl/ciydwZ). If that link doesn't work, scroll down to the bottom of your servers, hit \"Add a Server\" \u003e \"Join a server\" and type in `ajABjeN`.\n\n#### Install:\n\nThe code is generally up here as reference, I don't see a major reason why one would want to host their own instance of this bot. You can just join the public server above, I maintain the bot there.\n\nNevertheless, to create your own instance of the bot, create a server which has two channels named `feed` and `nsfw-feed`, [add the bot to it](https://github.com/reactiflux/discord-irc/wiki/Creating-a-discord-bot-\u0026-getting-a-token), and then:\n\n```\ngit clone https://github.com/purarue/mal-notify-bot\ncd mal-notify-bot\npython3 -m pip install pipenv  # if you don't have pipenv already\npipenv install\npipenv shell\ngit clone https://github.com/purarue/mal-id-cache\ntouch token.yaml\n```\n\nThis uses a file in this directory called `old` which caches the already printed entries; if one was to start this on a new server, it would send every entry since it hasn't sent any yet (it doesn't know which ones are 'new'). You can use my [`mal-id-cache`](https://github.com/purarue/mal-id-cache) repository as a base, by reading in the SFW/NSFW IDs for anime, and saving those to a file named `old`. The format is just a text file, with one entry per line.\n\nCould create the initial 'old' file by running:\n\n`curl -s 'https://raw.githubusercontent.com/purarue/mal-id-cache/master/cache/anime_cache.json' | jq -r '.sfw + .nsfw | .[]' \u003e'old'`\n\nput your bots token in `token.yaml` with contents like:\n\n`token: !!str EU*#3eiSzEr7i4L36FaTlrV0*RtuGOBVNrcteyrtt$GPAwNtkJKQg*dweSLy`\n\n#### Run:\n\n`python3 bot.py`\n\nThis is run on `python 3.10.2`. You can use [pyenv](https://github.com/pyenv/pyenv) to install another version of python if needed.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpurarue%2Fmal-notify-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpurarue%2Fmal-notify-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpurarue%2Fmal-notify-bot/lists"}