Jikan - Unofficial MyAnimeList.net PHP API
September 20, 2024 ยท View on GitHub
Jikan - Unofficial MyAnimeList.net PHP API
Jikan is an API for MyAnimeList.net. You can find more details here.
This repository represents Jikan's website - Jikan.moe. Please feel free to contribute and help improve it!
Contributing
This project is built using SvelteKit.
Pre-reqs: Node 18+, NPM
- Git clone & cd into project directory
npm install- Start the dev environment
npm run dev
# or start the server and open the app in a new browser tab
npm run dev -- --open
General Contributing Guidelines
When making changes, please fork the project and work on that.
Adding an integration
- Add a new JSON object entry in https://github.com/jikan-me/website/blob/master/src/data/integrations.js
- Ensure that you're adding it to the end of the list
- Validate the JSON and create a commit
- Create a PR
Important notes
- Add the language or framework you've built the project with in all lowercase in
language supportsV3,supportsV4; These define which version of the REST API your integration supports. V3 is a backwards notifier for some of existing wrappers.urlis the repository link of your integration
Adding a showcase item
- Add a new JSON object entry in https://github.com/jikan-me/website/blob/master/src/data/showcase.js
- Ensure that you're adding it to the end of the list
- Validate the JSON and create a commit
- Create a PR
Important notes
- Ensure that your summary is brief
- Host your preview images on IMGUR or GitHub but please optimize the size to ensure they're not more than 300KB
- The
imageUrlhas to be a direct link to the image (ending with the extension). - Ensure that the
urlyou are providing is accurate and up. This can be the URl to your app's website, install/download or repository page.
Modifying the website
We appreciate all the help in improving the experience of the site. Feel free to create a PR.
If there's something you can help with on our roadmap, that'd be very helpful as well.
Building
To create a production version of your app:
npm run build
You can preview the production build with npm run preview.
Note: You do not have to build a production version to contribute. Comitting to the repository lets Netlify handle that and deployment for you.
