Giter Club home page Giter Club logo

muse's Introduction

Table of Contents

  1. Muse
    1. Requirements
    2. Installation
    3. Notes
    4. Todo

Muse

Search for videos on Youtube, view them, and download their audio tracks.

This package contains an Emacs major mode `muse-mode`, and Rust cli.

❯ muse help
Muse 0
someone
Manage Youtube music

USAGE:
    muse <SUBCOMMAND>

OPTIONS:
    -h, --help       Print help information
    -V, --version    Print version information

SUBCOMMANDS:
    download
    help        Print this message or the help of the given subcommand(s)
    search
    view

Requirements

  • `geckodriver`
  • `ascii-image-converter`

Installation

  • Install `geckodriver`: `sudo apt install geckodriver`
  • Install `ascii-image-converter`: `sudo apt install ascii-image-converter`
  • Clone this repo and `cargo install –path .`
  • In Emacs, `M-x load-file` and then load `muse.el` in this repo
  • `M-x muse-search` and add the query, then press `d` on a video listed in the resulting buffer to download the audio track, `v` to view the video and its related videos in another buffer, `o` to open the video link in the system browser.

Notes

The `muse` cli does not manage the `geckodriver server`, that is responsibility of `muse-mode`. If you want to use the cli independently, start a geckodriver server with `geckodriver –port=4444`.

Todo

  • Handle errors gracefully
  • Allow the cli help to be printed without a `geckodriver` server
  • Add ’preview’ under `p`, slicing with https://unix.stackexchange.com/a/388148
    • Would be good to be able to see the video length
  • Stream video to terminal as ascii art under `w` (watch), on the view page
  • Add a command to go to the channel for a video, bound to `c`
  • Add a more sophisticated `transient` menu to control the download options
    • Have a `magit` style `transient` menu on `muse-mode` buffers
  • Add `Muse` implementations for other sources (Spotify, etc)
  • Add tests

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.