AniListQuery previously ignored json.Marshal/http.NewRequest errors, logged the wrong variable on client.Do failure, and dereferenced a nil response body, which could panic and leave callers hanging. - Return early with user-safe messages on encode/request failures - Add 20s http.Client timeout and nil guards for res/res.Body - Keep logs generic so no auth material is ever printed - Add aniListGraphQLErrorMessage/aniListSearchStatusError helpers mapping 429 to a rate-limit retry message, 5xx to a temporary outage message, and GraphQL errors[] (even on HTTP 200) to a surfaced message - AniListSearch rejects empty bodies and unparseable payloads with actionable errors instead of failing silently downstream
README
About
Track the anime you are watching by syncing with various services. Anilist, MyAnimeList, Simkl...
This has been built with the official Wails Svelte-TS template.
To run as is, please feel free to download a binary from the releases page.
If you are getting too many errors due to api usage, please build from source.
Build from Source
Get API Keys
First you will need your own API keys for the various services the app connects to. AniList: AniList Developer App MyAnimeList: MyAnimeList Developer App Simkl: Simkl Developer
- Name: AniTrack
- Redirect URL: http://localhost:6734/callback
- App Type: web
- Homepage URL: http://localhost or the Github URL
- Company Name: AniTrack
- Commercial/Non-Commercial: non-commercial
- Purpose of Use: hobbyist
Once you have the IDs, Keys, and Secrets create an environment.go file based on the environment.go.example and fill in the fields.
Install Wails and Dependencies
Please follow the instructions here to get Wails up and running and follow the instructions below.
Live Development
To run in live development mode, run wails dev in the project directory. This will run a Vite development
server that will provide very fast hot reload of your frontend changes. If you want to develop in a browser
and have access to your Go methods, there is also a dev server that runs on http://localhost:34115. Connect
to this in your browser, and you can call your Go code from devtools.
Building
To build a redistributable, production mode package, use wails build --clean.