Skip to content

ougihz/datafansub

Repository files navigation

dataFansub

An index dedicated to recommending releases by Spanish fansubs, primarily published on Nyaa and NekoBT. The site keeps the current season's anime updated while gradually adding titles from previous seasons. This site only displays release information; we do not host any torrents.

Features

  • Real-time data from PocketBase API
  • Anime listings with season/fansub grouping
  • Spanish variant support (Latin America / Spain)
  • Dark mode support
  • Responsive design for mobile and desktop
  • Pagination and search functionality

Tech Stack

  • Framework: Astro (SSR mode)
  • Runtime: Node.js adapter
  • Styling: Vanilla CSS with CSS custom properties
  • Data Source: PocketBase API
  • External API: AniList (for anime metadata)

Getting Started

Prerequisites

  • Node.js 18+
  • pnpm (recommended)

Installation

pnpm install

Development

pnpm dev

Open http://localhost:4321 to view the site.

Build

pnpm build

The output will be in the dist/ directory.

Environment Variables

Create a .env file in the root directory:

PUBLIC_API_URL=https://datafansub.bye.moe

Project Structure

src/
├── components/           # Astro components
│   ├── common/           # Shared components
│   │   ├── navbar.astro
│   │   └── pagination.astro
│   ├── entryTable.astro
│   └── scripts.astro
├── lib/                  # TypeScript utilities
│   ├── types.ts          # Type definitions
│   ├── utils.ts          # Helper functions
│   ├── anilist.ts        # AniList API integration
│   └── datafansub.ts     # Main data fetching
├── pages/                # Astro pages
│   ├── index.astro
│   ├── about.astro
│   ├── health.astro
│   └── boochi.ts
└── styles/               # CSS files (modular)
    ├── variables.css
    ├── base.css
    ├── global.css
    ├── navbar.css
    ├── table.css
    ├── mobile.css
    ├── pagination.css
    └── about.css

License

MIT

About

an anime index dedicated to recommending releases by spanish fansubs

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages