Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/madebyarthouse/hasanhub
Hasanhub is a Youtube aggregator for over 70 channels in the Hasanabi Clips Industrial Complex.
https://github.com/madebyarthouse/hasanhub
content-creator streaming twitch youtube
Last synced: about 1 month ago
JSON representation
Hasanhub is a Youtube aggregator for over 70 channels in the Hasanabi Clips Industrial Complex.
- Host: GitHub
- URL: https://github.com/madebyarthouse/hasanhub
- Owner: madebyarthouse
- License: mit
- Created: 2022-05-15T21:49:59.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-11-15T17:57:39.000Z (about 2 months ago)
- Last Synced: 2024-11-15T18:37:11.034Z (about 2 months ago)
- Topics: content-creator, streaming, twitch, youtube
- Language: TypeScript
- Homepage: https://hasanhub.com
- Size: 1.29 MB
- Stars: 7
- Watchers: 0
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Hasanhub
![CleanShot 2024-11-06 at 00 14 23](https://github.com/user-attachments/assets/7df9a391-b909-4606-9a6d-03bc49d6bd9e)
## Important Note
This is a raw release with some basic documentation.
There is currently no admin for editing the data. You'd need to insert the non-dynamic data directly via the database.For more detailed documentation, please see the [README](./docs/README.md).
## What is this?
**Hasanhub project page:** [chrcit.com/projects/hasanhub-com](https://chrcit.com/projects/hasanhub-com)
A web app which aggregates videos from multiple Youtube Channels into one view.
If you add tags they will be autodetected on all videos synced.## Why?
The political streamer Hasanabi allows his fans to clip his stream VODs, upload those clips to YouTube and make money from his content.
Due to this there are 100+ different YouTube channels dedicated to him. Some of these fan channels have over 200.000 subscribers.His community is ideal for such an application due to the sheer number of channels.
But it could be useful for other creators/communites which have multiple channels and/or a larger backlog.## Stack
- Typescript
- React
- Remix
- Prisma
- Turso / LibSQL
- TailwindI'm currently hosting via Vercel but it should work almost[1] everywhere.
Syncing needs to be setup via Cron jobs (or similiar) by hitting the API routes defined in the `vercel.json`[1] Prisma limits support for edge enviromnents.
### Potential changes
- Add payloadcms
- Also switches from Prisma to Drizzle
- Add database configs for all available adapters
- Add deployment options for Docker and Vercel/Netlify/Cloudflare## Can I use this for my own site?
For sure! If you do pls [let me know](https://twitter.com/chrcit) so I can check it out.
I'd also love a backlink to [my website](https://chrcit.com/projects/hasanhub-com?utm_source=github-hasanhub) somewhere on the site if you are awesome!## Random stuff
## Refresh Twitch access token
```bash
curl -X POST 'https://id.twitch.tv/oauth2/token' \
-H 'Content-Type: application/x-www-form-urlencoded' \
-d 'client_id=ttsgjnui5mqji4aqjvzahh3mrlyzy3&client_secret=[CLIENT_SECRET]&grant_type=client_credentials'
```