GithubHelp home page GithubHelp logo

privoci / retube Goto Github PK

View Code? Open in Web Editor NEW
25.0 1.0 1.0 707 KB

ReImagine Tubing

Python 51.69% JavaScript 46.93% Dockerfile 1.39%
video-streaming privacy privacy-enhancing-technologies no-tracking no-ads

retube's Introduction

ReTube

An alternative front-end to YouTube, Odysee/Lbry, Bitchute, Rumble, etc.

Access all videos from one place.
No account, no ads, no tracking.
Subscriptions are saved locally in LocalStorage (TODO: Optional Sync)

Mirrored at Gitlab: https://gitlab.com/PrivOci/ReTube

DEMO

DEMO

Development

I'm not a web developer and this one is my first project, if you like the idea please contribute, any kind of feedback is welcome.
The frontend is build using NextJS with Tailwinds.
The backend uses FastApi and Redis.

I chose them because they are very simple and easy-to-use.

Setup local instance:

Docker

git clone https://github.com/PrivOci/ReTube
cd ReTube
docker-compose up -d

Manual:

Backend

Setup Redis for Caching

cd backend/redis
docker-compose up -d

FastApi

cd backend
pip3 install virtualenv
python -m virtualenv venv
venv\Scripts\activate
pip install -r requirements.txt

uvicorn main:app --reload or python ./main.py
API docs: http://localhost:8000/docs

Frontend

cd frontend
yarn
yarn run dev

retube's People

Contributors

me avatar privoci avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

the-ebdm

retube's Issues

A minor improvement

Iā€™m too lazy to clone and create a pull request just for this, but util.py#L28-L32 could be simpler and flatter:

from itertools import count

part_to_seconds = lambda part, order: int(part) * pow(60, order)
return sum(map(part_to_seconds, reversed(time_parts), count())

Or, at the very least, util.py#L31 should be just:

sum += part * pow(60, count)

xā° = 1, and Python knows this.

Instances webpage

It would be helpful to have a webpage that users can check for what instances exist for ReTube (like Invidious' one), it can be hosted through GitHub Pages or a standalone site for example.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    šŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. šŸ“ŠšŸ“ˆšŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ā¤ļø Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.