Giter VIP home page Giter VIP logo

rofi-dl's Introduction

rofi-dl

rofi-dl is a simple bash script that utilizes the power of rofi and aria2c to manage and download links. It provides a simple and interactive interface to add, view, clear, and download links.

Features

  • Add links to a playlist
  • View the current playlist
  • Clear all links from the playlist
  • Download the entire playlist using aria2c

Prerequisites

  • rofi
  • aria2c

Usage

  1. Clone the repository:
git clone https://github.com/M00t3/rofi-dl.git
cd rofi-dl
  1. Make the script executable:
chmod +x rofi-dl
  1. Run the script:
./rofi-dl

You will be presented with a rofi menu with the following options:

  • add: Write your link in the prompt to add it to the playlist.
  • show playlist: Opens the playlist in lvim for viewing.
  • clear links: Clears all links from the playlist.
  • download playlist: Downloads all the links in the playlist using aria2c.

Configuration

You can configure the script by editing the config file in the same directory. The config file should define the following variables:

  • download_dir: The directory where the downloads should be saved.
  • terminal_cmd: The terminal command to use for opening the playlist and downloading.

License

This project is licensed under the GPL3 License - see the LICENSE file for details.

rofi-dl's People

Contributors

m00t3 avatar

Watchers

 avatar

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.