Skip to content

Commit

Permalink
Merge pull request #28 from chitrakshbotwala/master
Browse files Browse the repository at this point in the history
Changed name from Aniplay to Airin
  • Loading branch information
Noname968 committed Apr 9, 2024
2 parents cadb97f + bad8aab commit f4c92f4
Show file tree
Hide file tree
Showing 13 changed files with 42 additions and 42 deletions.
28 changes: 14 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<div align="center">
<a href="https://aniplaynow.live" target="_blank">
<img src="https://github.com/Luckyhv/aniplay/blob/c39875dc6e1bc2db9d8371574a9ab3ed95ff3b93/public/icon-512x512.png" alt="Logo" width="140" height="140">
<a href="https://Airinnow.live" target="_blank">
<img src="https://github.com/Luckyhv/Airin/blob/c39875dc6e1bc2db9d8371574a9ab3ed95ff3b93/public/icon-512x512.png" alt="Logo" width="140" height="140">
</a>

<h2 align="center">Aniplay</h3>
<h2 align="center">Airin</h3>

<p align="center">
An open-source Anime streaming site built with Nextjs 14
Expand Down Expand Up @@ -48,7 +48,7 @@ Enjoy ad-free streaming and seamless progress tracking with AniList integration,
- [ ] Mangadex
- [ ] And some more

See the [open issues](https://github.com/Luckyhv/aniplay/issues) for a full list of proposed features (and known issues).
See the [open issues](https://github.com/Luckyhv/Airin/issues) for a full list of proposed features (and known issues).


## Environment Variables
Expand Down Expand Up @@ -94,12 +94,12 @@ NEXT_PUBLIC_PRODUCTION_URL="Your deployement URL. Don't put / at the end of the

Clone the project
```bash
git clone https://github.com/Luckyhv/aniplay.git
git clone https://github.com/Luckyhv/Airin.git
```

Go to the project directory
```bash
cd aniplay
cd Airin
```

Install dependencies
Expand All @@ -122,29 +122,29 @@ Move the .env file somewhere it won't bother you (optional)
Run the image:
```bash
docker run -d -it \
--name Aniplay \
--name Airin \
-p 3000:3000 \
-v <path_of_env_file>/.env:/usr/src/app/.env \
ghcr.io/luckyhv/aniplay:latest
ghcr.io/luckyhv/Airin:latest
```

For Docker Compose:
```yaml
version: "3.3"
services:
aniplay:
container_name: Aniplay
Airin:
container_name: Airin
ports:
- 3000:3000
volumes:
- <path_of_env_file>/.env:/usr/src/app/.env
image: ghcr.io/luckyhv/aniplay:latest
image: ghcr.io/luckyhv/Airin:latest
```

For at full stack deploy (db, redis, consumet api)
See [docker-compose.yml](https://github.com/Luckyhv/aniplay/blob/master/docker-compose.yml)
See [docker-compose.yml](https://github.com/Luckyhv/Airin/blob/master/docker-compose.yml)

Access Aniplay at ``http://localhost:3000``
Access Airin at ``http://localhost:3000``

<!-- CONTRIBUTING -->
## Contributing
Expand All @@ -163,7 +163,7 @@ Don't forget to give the project a star! Thanks again!
<!-- CONTACT -->
## Contact

Project Link: [https://github.com/Luckyhv/aniplay](https://github.com/Luckyhv/aniplay)
Project Link: [https://github.com/Luckyhv/Airin](https://github.com/Luckyhv/Airin)

Discord Server: [https://discord.gg/aW5P4W94ZS](https://discord.gg/aW5P4W94ZS)

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "aniplay",
"name": "Airin",
"version": "0.1.0",
"private": true,
"scripts": {
Expand Down
6 changes: 3 additions & 3 deletions public/manifest.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"id":"1",
"name": "Aniplay",
"short_name": "Aniplay",
"description": "Watch Anime Online for free without ads on Aniplay",
"name": "Airin",
"short_name": "Airin",
"description": "Watch Anime Online for free without ads on Airin",
"icons": [
{
"src": "/icon-192x192.png",
Expand Down
6 changes: 3 additions & 3 deletions src/app/anime/catalog/[[...options]]/page.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ import Navbarcomponent from '@/components/navbar/Navbar'

export async function generateMetadata({ params }) {
return {
title: "Aniplay - Catalog",
title: "Airin - Catalog",
openGraph: {
title: "Aniplay - Catalog",
title: "Airin - Catalog",
},
twitter: {
card: "summary",
title: "Aniplay - Catalog",
title: "Airin - Catalog",
},
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/app/anime/watch/[[...watchid]]/page.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ async function AnimeWatch({ params, searchParams }) {
id: id,
title: data?.title?.english || data?.title?.romaji,
episode: epNum,
name: "aniplayz",
name: "Airinz",
}}
/>
</div>
Expand Down
4 changes: 2 additions & 2 deletions src/app/api/auth/[...nextauth]/route.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ export const authOptions = {

let customLists = userLists || [];

if (!userLists?.includes("Watched Via Aniplay")) {
customLists.push("Watched Via Aniplay");
if (!userLists?.includes("Watched Via Airin")) {
customLists.push("Watched Via Airin");
const fetchGraphQL = async (query, variables) => {
const response = await fetch("https://graphql.anilist.co/", {
method: "POST",
Expand Down
8 changes: 4 additions & 4 deletions src/app/dmca/page.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ function page() {
<div className="mx-auto w-[94%] lg:w-[80%]">
<h1 className="text-3xl font-bold mt-4 md:mt-8">DMCA - Disclaimer</h1>
<p className="mt-4 text-[#bdbdbd]">
Aniplaynow.live is committed to respecting the intellectual property
Airinnow.live is committed to respecting the intellectual property
rights of others and complying with the Digital Millennium Copyright
Act (DMCA). We take copyright infringement seriously and will respond
to notices of alleged copyright infringement that comply with the DMCA
Expand Down Expand Up @@ -76,16 +76,16 @@ function page() {

<h2 className="text-2xl font-bold mt-8">NOTE:</h2>
<p className="mt-4 text-[#bdbdbd]">
None of the files listed on aniplaynow.live are hosted on our servers. All
None of the files listed on Airinnow.live are hosted on our servers. All
links point to content hosted on third-party websites. gojo.live does
not accept responsibility for content hosted on third-party websites
and has no involvement in the downloading/uploading of movies. We only
post links that are available on the internet. If you believe that any
content on our website infringes upon your intellectual property
rights and you hold the copyright for that content, please report it
to{" "}
<Link href="mailto:contact@aniplaynow.live" className="text-white">
contact@aniplaynow.live
<Link href="mailto:contact@Airinnow.live" className="text-white">
contact@Airinnow.live
</Link>{" "}
and the content will be immediately removed.
</p>
Expand Down
8 changes: 4 additions & 4 deletions src/app/layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ import { AuthProvider } from './SessionProvider';
const inter = Inter({ subsets: ['latin'] })
//const myfont = localFont({ src: "../static-fonts/AldotheApache.ttf" })

const APP_NAME = "Aniplay";
const APP_DEFAULT_TITLE = "Welcome to AniPlay - Your Ad-Free Anime Haven!";
const APP_DESCRIPTION = "Discover a world of anime without interruptions on AniPlay! Watch your favorite series for free, with no ads to disrupt your viewing experience. Join now and immerse yourself in the captivating stories and vibrant characters that AniPlay has to offer!";
const APP_NAME = "Airin";
const APP_DEFAULT_TITLE = "Welcome to Airin - Your Ad-Free Anime Haven!";
const APP_DESCRIPTION = "Discover a world of anime without interruptions on Airin! Watch your favorite series for free, with no ads to disrupt your viewing experience. Join now and immerse yourself in the captivating stories and vibrant characters that Airin has to offer!";

export const metadata = {
metadataBase: new URL('https://aniplaynow.live'),
Expand Down Expand Up @@ -48,7 +48,7 @@ export const metadata = {
'latest dubbed anime',
'subbed anime streaming',
'dubbed anime streaming',
'aniplay latest anime',
'Airin latest anime',
],
manifest: "/manifest.json",
appleWebApp: {
Expand Down
6 changes: 3 additions & 3 deletions src/components/Footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ function Footer() {
<div className="lg:flex lg:justify-between">
<div className="mb-6 lg:mb-0 flex flex-col lg:flex-row lg:items-center lg:gap-6">
<Link href="/" className="flex items-center w-fit">
{/* <p className={`aniplay self-center text-3xl font-medium whitespace-nowrap dark:text-white`}>
ANIPLAY
{/* <p className={`Airin self-center text-3xl font-medium whitespace-nowrap dark:text-white`}>
Airin
</p> */}
<Image src='/logo.svg' width={50} height={50} className="w-32 h-20 "/>
</Link>
Expand Down Expand Up @@ -87,7 +87,7 @@ function Footer() {
</div>
<div className='bg-tersier border-t border-white/5 mt-2'></div>
<div className="mx-auto w-full lg:max-w-[83%] lg:flex lg:items-center lg:justify-between lg:text-[0.8rem] text-[0.7rem] text-[#ffffffb2] py-3">
<span className="sm:text-center ms-5 lg:ms-0">© {year} <Link href="/" className="hover:text-white">ANIPLAY</Link> | Made by <span className="font-bold" >Aniplay Team</span>
<span className="sm:text-center ms-5 lg:ms-0">© {year} <Link href="/" className="hover:text-white">Airin</Link> | Made by <span className="font-bold" >Airin Team</span>
</span>
<div className="flex mt-4 lg:justify-center lg:mt-0">
<Link href="https://github.com" target="_blank" className=" hover:text-gray-900 dark:hover:text-white ms-5 lg:ms-0">
Expand Down
2 changes: 1 addition & 1 deletion src/components/comments/DisqusComments.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { DiscussionEmbed } from "disqus-react";
const DisqusComments = ({ post }) => {
let currentUrl = typeof window !== 'undefined' ? window.location.href : '';
currentUrl = currentUrl.replace(/&?host=[^&]*/, '').replace(/&?epid=[^&]*/, '').replace(/&?type=[^&]*/, '');
const disqusShortname = "aniplayz";
const disqusShortname = "Airinz";
const disqusConfig = {
url: currentUrl,
identifier: currentUrl,
Expand Down
4 changes: 2 additions & 2 deletions src/components/navbar/Navbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,15 +110,15 @@ function Navbarcomponent({ home = false }) {
<div className={styles.navleft}>
<div className={styles.logoContainer}>
<Link href="/" className={styles.logoLink}>
{/* ANIPLAY */}
{/* Airin */}
<Image src='/logo.svg' width={50} height={50} className="w-32 !h-12 "/>
</Link>
</div>
<div className={styles.navItemsContainer}>
<Link href="/anime/catalog" className={styles.navItem}>Catalog</Link>
<Link href="/anime/catalog?sortby=TRENDING_DESC" className={styles.navItem}>Trending</Link>
<Link href="/anime/catalog?format=MOVIE" className={styles.navItem}>Movies</Link>
<Link href="https://community.aniplaynow.live" className={styles.navItem}>Community</Link>
<Link href="https://community.Airinnow.live" className={styles.navItem}>Community</Link>
</div>
</div>
<div className={styles.navright}>
Expand Down
4 changes: 2 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4692,9 +4692,9 @@ __metadata:
languageName: node
linkType: hard

"aniplay@workspace:.":
"Airin@workspace:.":
version: 0.0.0-use.local
resolution: "aniplay@workspace:."
resolution: "Airin@workspace:."
dependencies:
"@auth/mongodb-adapter": "npm:^2.4.0"
"@ducanh2912/next-pwa": "npm:^10.2.2"
Expand Down

0 comments on commit f4c92f4

Please sign in to comment.