AniHub is a better MyAnimeList alternative for tracking anime series and movies you watched and discussing them with other people! AniHub is a fullstack platform built for the anime community, by the anime community.
This is a Next.js app hosted on Vercel and Neon, built with React, TypeScript, Prisma, PostgreSQL, and Tailwind, and the libraries Better Auth, Framer Motion, and React Icons. The app folder contains the frontend page routes and the backend API endpoints. The components folder contains frontend layout and UI components. The prisma folder contains the Prisma schema, and the lib and types folders contain extra stuff for setup. Finally, the public folder contains frontend assets like icons and logos.
To host AniHub on your machine for local development or other purposes, simply follow these steps below:
-
Clone the GitHub repository using the command
git clone https://github.com/tonymac129/anihub.git
-
Open it with your favorite code editor or through the terminal
-
Create the file
.envat the root folder and initialize the following variables:DATABASE_URL=your_pooled_neon_connection_string DIRECT_URL=your_neon_connection_string BETTER_AUTH_SECRET=your_better_auth_secret BETTER_AUTH_URL=http://localhost:3000 GITHUB_CLIENT_ID=your_github_id GITHUB_CLIENT_SECRET=your_github_secret -
If you don't have a local Postgres database or a cloud Neon/Supabase cluster/connection string, only the landing page will be available because of obvious reasons
-
Open the terminal and run the commands
npm install npm run dev
or if you have Yarn
yarn install yarn dev
to start the Next.js dev server at localhost:3000 and see the magic!
Any kind of contribution is welcome, but please follow the guideline below!
- Submit an issue if there's a bug/issue or if you want to suggest new features/subscriptions to be added.
- Submit a pull request if you want to add or improve the code base!
- Commit messages should be specific and address the issue
- Please don't submit random issues that aren't specific
- Please don't submit pull requests that "fix typo" or "improve formatting"