1
0

Sem descrição

Miguel Ángel Moreno b8291c2ffb doc: Update Markdown version of README há 1 ano atrás
classes b545944e71 chore(git): Unignore classes directory há 2 anos atrás
resources 81f03c0b44 chore: Rename project há 2 anos atrás
src 7a34684feb chore: Fix project source URL há 2 anos atrás
.dir-locals.el 81f03c0b44 chore: Rename project há 2 anos atrás
.gitignore b545944e71 chore(git): Unignore classes directory há 2 anos atrás
LICENSE 916ba00f83 chore: Add license há 2 anos atrás
README 65eb28f104 doc: Update contribution methods há 1 ano atrás
README.md b8291c2ffb doc: Update Markdown version of README há 1 ano atrás
deps.edn 81f03c0b44 chore: Rename project há 2 anos atrás
manifest.scm 80bb68bcad chore(guix): Add manifest há 2 anos atrás
package-lock.json 67007e8bdd feat(frontend): Introduce video.js for stream playback há 2 anos atrás
package.json 67007e8bdd feat(frontend): Introduce video.js for stream playback há 2 anos atrás
postcss.config.js b2c3fecbd1 chore: Add PostCSS configuration há 2 anos atrás
shadow-cljs.edn 81f03c0b44 chore: Rename project há 2 anos atrás
tailwind.config.js 26b7abf933 chore(tailwind): Add more screen sizes há 2 anos atrás
webpack.config.js 81f03c0b44 chore: Rename project há 2 anos atrás

README

# -*- mode: org; org-html-head-include-default-style: nil; org-html-postamble: nil; -*-
#+OPTIONS: toc:nil num:nil
* Tubo
Tubo is an alternative web front-end to various streaming sites. It aims to free users from the world of ad-ridden streaming sites by providing a distraction-free interface to consume content from. It currently supports the following platforms:

- YouTube
- SoundCloud
- media.ccc.de
- PeerTube
- Bandcamp

To retrieve the data, it leverages the excellent [[https://github.com/TeamNewPipe/NewPipeExtractor][NewPipe Extractor]] library that powers the popular [[https://github.com/TeamNewPipe/NewPipe][NewPipe]] Android app. Tubo exposes the extracted data over a REST API that is consumed by a local re-frame SPA.

The ultimate goal behind Tubo is to replicate the Newpipe experience on the web, so that it's accessible to those that don't use an Android device.

** Installation
The easiest way to set up Tubo's dependencies is via the [[https://guix.gnu.org/][GNU Guix]] package manager. Simply invoke what follows:

#+begin_src sh
cd /path/to/tubo
guix shell
#+end_src

To run the application, first compile the downloader ahead-of-time.

#+begin_src sh
clojure -M -e "(compile 'tubo.downloader-impl)"
#+end_src

Fetch the front-end dependencies and build the front-end assets.

#+begin_src sh
npm i
npm run build
#+end_src

Then, compile the front-end.

#+begin_src sh
clojure -M:frontend compile tubo
#+end_src

You can now start a local server that listens on port 3000 by running the following:

#+begin_src sh
clojure -M:run
#+end_src

Access the front-end in your browser at =http://localhost:3000=.

** Road-map
- [X] Basic audio player
- [ ] Track queuing system
- [ ] Playlists
- [ ] User settings

** Screenshots
[[https://files.mianmoreno.com/tubo_kiosk.jpg]]
[[https://files.mianmoreno.com/tubo_channel.jpg]]
[[https://files.mianmoreno.com/tubo_stream.jpg]]

** Contributing
You can send feedback, patches, or bug reports to [[mailto:public@mianmoreno.com][public@mianmoreno.com]].