Important
As of August 24 2024, this repository is no longer maintained and will not receive any further updates or support from the author. If you choose to use the code in this repository, please do so at your own risk.
- Don't use this code for commercial use: Read the LICENSE for more.
- No Updates: There will be no further updates or improvements made to this repository.
- No Support: The author will not provide any support, fixes, or acknowledge any issues found in the code.
- Use at your own Risk: Any errors, bugs, or other issues that arise from using this code are your responsibility.
Thank you.
Warning: If you are not familiar with JavaScript or any other programming language related to this project, please learn it first before attempting to work on this project. I won't help anyone who doesn't know how to do basic stuff.
1Anime is an anime streaming website made possible by the Consumet API and Anify API, built with Next.js and Nextui, It offers AniList integration with no ads or interruptions
- General
- Free ad-supported streaming service
- Theming
- Dub Anime support
- User-friendly interface
- Auto sync with AniList
- Add Anime to your AniList
- Scene Searching powered by trace.moe
- PWA supported
- Mobile responsive
- Watch Page
- Player
- Autoplay next episode
- Skip op/ed button
- Comment section
- Player
- Profile page to see your watch list
If you want to self-host this app, please note that it is only allowed for personal use. Commercial use is not permitted, and including ads on your self-hosted site may result in actions such as site takedown.
- Clone this repository using :
git clone https://github.com/1Anime/V1.git
- Install package using npm :
npm install
- Create
.env
file in the root folder and put this inside the file :
## Redis
# If you don't want to use redis leave it empty or comment it.
REDIS_URL="get redis from upstash, litegix or aiven. They offer free tier."
## AniList
GRAPHQL_ENDPOINT=https://graphql.anilist.co
ANILIST_CLIENT_ID="get your id from here https://anilist.co/settings/developer"
ANILIST_CLIENT_SECRET="get your secret from here https://anilist.co/settings/developer"
## NextAuth Details
NEXTAUTH_SECRET='run this command in your terminal (openssl rand -base64 32)'
NEXTAUTH_URL="for development use http://localhost:3000/ and for production use your domain url"
## NextJS
NEXT_PUBLIC_PROXY_URI="Use a proxy if u wish, not mandatory"
CONSUMET_URI="host your own API from this repo https://github.com/consumet/api.consumet.org. Don't put / at the end of the url."
## Optional (Will work without this)
MALSYNC_URI=https://api.malsync.moe/mal/anime/anilist: ## Dont worry if it not works they ban ips so cant do anything
ZORO_URI="host your own API from this repo https://github.com/ghoshRitesh12/aniwatch-api. Don't put / at the end of the url."
## MongoDB
MONGODB_URI="Your Mongodb connection String"
## Deployment URLs
NEXT_PUBLIC_DEV_URL=http://localhost:3000 # This is the URL for your current local development environment.
NEXT_PUBLIC_PRODUCTION_URL="Your deployement URL. Don't put / at the end of the url"
## In AniList Developer console add redirect url :
# https://{your-domain}/api/auth/callback/AniListProvider
- Add this endpoint as Redirect Url on AniList Developer :
https://your-website-domain/api/auth/callback/AniListProvider
- Start local server :
npm run build
- Consumet API for anime sources
- AniList API for anime details source
- Anify API for backup anime sources
- Airin for the base code
- Moopa for UI Inspiration and ReadMe.md Inspiration
This project is licensed under the GNU General Public License v3.0 - see the LICENSE.md file for details.
This means that if you choose to use or host this site for your own purposes, you are also required to release the source code of any modifications or improvements you make to this project. This open-source ethos is central to the project's philosophy.