Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hitarth-gg/zenshin

🔖 Web & Electron based Anime Torrent Streamer for 🐈s
https://github.com/hitarth-gg/zenshin

anilist axios electron electronjs express expressjs hls hlsjs nodejs nyaa radix-ui react react-query reactjs tailwindcss video-streaming videojs vite-electron vlc-media-player webtorrent

Last synced: 13 days ago
JSON representation

🔖 Web & Electron based Anime Torrent Streamer for 🐈s

Awesome Lists containing this project

README

        

# zenshin.










A web and electron based anime torrent streamer which can stream torrents and scraped anime episodes within the app or on an external media player.

## Electron Port (Beta) :
![image](https://github.com/user-attachments/assets/2b11e7a9-9667-43b4-a95d-38b1365467f7)
![image](https://github.com/user-attachments/assets/e1114387-0432-4bf2-a692-c0e1c3f46df6)
![image](https://github.com/user-attachments/assets/30d6e6b4-f63f-4ed5-97f1-96b898a2c1d0)
![image](https://github.com/user-attachments/assets/d9906902-0756-4d16-ad20-77fcadcb5d82)
![image](https://github.com/user-attachments/assets/0d5720ff-c06e-452d-b0cd-c2078ba3f115)
![image](https://github.com/user-attachments/assets/01939941-c2d4-4d2d-8596-36cbdab82f86)
![image](https://github.com/user-attachments/assets/8e0588c3-e44e-49a3-bea8-55dbe27f4f8f)
![image](https://github.com/user-attachments/assets/a3662bff-c799-45ec-a77d-2b11ff313465)
![image](https://github.com/user-attachments/assets/844af4d5-9dbb-41a3-b6de-7ee0d5016440)
![image](https://github.com/user-attachments/assets/f2190575-a983-40d8-9a32-41e34d0a1fc2)

## Demo : (Click the image)
[![IMAGE ALT TEXT HERE](https://img.youtube.com/vi/Mdh2HuqTFyQ/0.jpg)](https://youtu.be/Mdh2HuqTFyQ)

---
Note: The video player in the browser currently does not support subtitle rendering as extracting embedded subtitles from an mkv file is quite tricky and is way out of my league. To play the video with subtitles open it in VLC by clicking on the `Open VLC` button when playing an episode.

---

### Disclaimer : [disclaimer.md](https://github.com/hitarth-gg/zenshin/blob/af8cd6485cc9fa8ea59434312d022fce223daa28/disclaimer.md)

---

### Building the Electron App

Commands required to build the app on Windows, Linux and macOS (untested) are `npm run build:win`, `npm run build:linux` and `npm run build:mac` respectively.
| Windows | Linux | MacOS |
|---------------------|-----------------------|---------------------|
| `npm run build:win` | `npm run build:linux` | `npm run build:mac` |

1. Navigate to `Electron\zenshin-electron`.
2. Run `npm i` or `npm install`
3. Run `npm run build:win`
4. Check the `dist` folder (`Electron\zenshin-electron\dist`), `zenshin-electron-x.x.x-setup.exe` is the setup and the folder `win-unpacked` contains pre-installed / unpacked files.
5. `Zenshin.exe` inside the `win-unpacked` folder (`dist\win-unpacked\Zenshin.exe`) can be used if you want to avoid installing the setup.
6. Example : [YouTube: Building on Ubuntu](https://youtu.be/l13ogKtMbt0). Same process can be followed for other Operating Systems with their respective build commands.

[![IMAGE ALT TEXT HERE](https://img.youtube.com/vi/l13ogKtMbt0/0.jpg)](https://youtu.be/l13ogKtMbt0)

### How to use / build (WebApp): (outdated)
- Web Version is no longer being worked on upon. Use electron.

[![IMAGE ALT TEXT HERE](https://img.youtube.com/vi/DiVczJ92sAU/0.jpg)](https://www.youtube.com/watch?v=DiVczJ92sAU)

[YouTube: How to use / build](https://youtu.be/DiVczJ92sAU?si=NvqnDvXE_LW7EHW8)

---
#### VLC Media Player Support (in web version)
Define the path to vlc.exe in BACKEND/server.js :
```js
const vlcPath = '"C:\\Program Files (x86)\\VideoLAN\\VLC\\vlc.exe"'; // Adjust this path as needed
```
---

### Tech Stack and dependencies used :
- ReactJS
- ElectronJS
- WebTorrent
- TanStack React Query
- Radix UI and Radix Icons
- Video.js
- axios
- date-fns
- ldrs
- react-infinite-scroll-component
- TailwindCSS w/ tailwindcss-animated and line-clamp
- ExpressJS
- React Lenis
- Sonner
- Plyr
- Puppeteer

Inspired by Miru :)