Personal Anime Gallery Website
A personal website for collecting anime images, featuring an extensive image library from Anilist. Deploy with one click to instantly have your own anime image collection site.
A modern, responsive anime album collection website template built with Next.js. This template provides a beautiful and interactive way to showcase your anime collection with features like video backgrounds, weather effects, and Live2D character interactions.
git clone https://github.com/tomcomtang/anime-albums-website.git
cd anime-albums-website
yarn install
node scripts/fetch-anilist-data.js
This script will fetch anime data from AniList API and generate configuration files in the public/data
directory.
Run the development server:
npm run dev
# or
yarn dev
Open http://localhost:3000 with your browser to see the result.
npm run build
# or
yarn build
If you want to update the anime data every time you deploy, you can modify the build script in package.json
:
{
"scripts": {
"build": "node scripts/fetch-anilist-data.js && next build"
}
}
Then, you can start the production server:
npm run start
# or
yarn start
The website uses JSON configuration files in the public/data
directory for anime data. You can customize the content by:
public/data
fetch-anilist-data.js
script with different parametersWeather effects can be customized in:
components/weather/weather-effects.tsx
app/globals.css
(weather-related styles)โโโ app/ # Next.js app directory
โ โโโ [locale]/ # Internationalization routes
โ โโโ gallery/ # Gallery pages
โ โโโ globals.css # Global styles
โโโ components/ # React components
โ โโโ gallery/ # Gallery components
โ โโโ live2d/ # Live2D components
โ โโโ weather/ # Weather effect components
โโโ lib/ # Utility functions
โโโ public/ # Static files
โ โโโ data/ # Anime data JSON files
โ โโโ videos/ # Background videos
โโโ scripts/ # Utility scripts
โโโ fetch-anilist-data.js # Data fetching script
This project is licensed under the MIT License. For commercial use, please refer to the licensing terms of Live2D and AniList.