Skip to content

shafat-96/zoro-clone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zoro – PHP Anime Streaming Site

A self-hosted, SEO-friendly anime streaming platform built with PHP, MySQL and the AniList GraphQL API.
Forked and extended from the original work by KiriXen, this version modernises URLs, removes server-side caching, improves user-history tracking and adds fresh endpoints such as Upcoming, Ongoing & Trending lists.


✨ Features

  • SEO-friendly routes:
    • Anime details – /anime/{id}/{slug}
    • Episode watch – /watch/{id}/{slug}/episode-{number}
  • Clean, responsive UI (Bootstrap 4 + FontAwesome 6).
  • AniList GraphQL integration for metadata, recommendations & upcoming titles.
  • Continue-Watching list stored in MySQL per user.
  • Dynamic sitemaps (SUB, DUB, Chinese, Ongoing & All Anime).
  • View-, like- & dislike-counters with prepared-statement SQL.
  • Zero file-system caching – every request is live from AniList.
  • Discord community support.

🗂 Project Structure (excerpt)

htdocs/
├─ _config.php           # Site-wide configuration
├─ _php/                 # Helper libraries & API wrappers
│  └─ anilist_api.php    # AniList GraphQL helper (no cache)
├─ home.php              # Landing page (Trending, Ongoing, Latest, Upcoming)
├─ streaming.php         # Episode watch page
├─ latest/               # Latest release category pages
├─ sitemaps/             # Dynamic XML/HTML sitemaps
└─ files/                # Static assets (CSS, JS, images)

🚀 Quick Start

  1. Clone & install dependencies

    git clone https://github.com/yourname/zoro-php.git
    cd zoro-php/htdocs
    composer install   # only if you add composer packages
  2. Configure your environment – copy the example below into _config.php or .env.

  3. Serve locally (XAMPP / Apache / nginx + PHP-FPM) and visit http://localhost:3000/home.


🔧 Configuration Example (_config.php)

<?php
// Database connection
$conn = mysqli_connect('localhost', 'root', '', 'anime') or die('Connection failed');

// Site basics
$websiteTitle = 'Zoro';
$websiteUrl   = 'http://localhost:3000';#mandatory
$version      = '0.1';

// Social / external links
$discord = 'https://discord.gg/7JKJSbnHqf';  // Community support
$github  = 'https://github.com/shafat-96';    
$twitter = 'https://x.com/racistprogrammer';
$contactEmail = 'shafat96@gmail.com';

// Disqus embed (leave blank to disable)
$disqus = 'https://YOURSHORTNAME.disqus.com/embed.js';

// Optional self-hosted mapper API (leave empty if unused)
$api = 'https://github.com/shafat-96/anicrush-api.git/api';#mandatory

// Assets
$websiteLogo = $websiteUrl . '/files/images/logo_zoro.png';
$banner      = $websiteUrl . '/files/images/banner.png';

🤝 Contributing

Pull requests are welcome! Please open an issue first to discuss what you would like to change.

  1. Fork the repo & create your branch: git checkout -b feature/fooBar
  2. Commit your changes with clear messages.
  3. Push to the branch: git push origin feature/fooBar
  4. Open a pull request.

📃 License

This project retains the original MIT License from KiriXen.
Please see LICENSE for details.


🙏 Credits

  • KiriXen – Original creator & inspiration.
  • AniList – GraphQL anime database API.
  • Bootstrap & FontAwesome – UI framework & icons.

Join our Discord for help or discussion: https://discord.gg/7JKJSbnHqf

About

zoro working clone with anilist api

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors