Code Monkey home page Code Monkey logo

cmdlib's Introduction

CmdLib

A Command Library GUI for GNU/Linux.

Description:

CmdLib is a small library app for your favorite commands. The idea started because I was so tired to look up all the time for commands I already used once... With CmdLib, you can collect them all in one place, and you'll have them for the future. You can search your commands, put them in categories with names and descriptions, create command lists and even export them to bash scripts!

screenshot

Main Features:

  • Add a name, a description at set a category to each command
  • Set a working directory to use in the selected command
  • Search across the whole commands entries (name category, commands)
  • Add/Delete commands
  • Backup/Export/Import libraries
  • One-click help button for Manpage, help, version, and what you like
  • File and path picker to insert files easily into a command
  • File picker to clipboard
  • Copy the command to clipboard
  • Hold the terminal after running a commands
  • Create command lists
  • Run lists in parallel or as a sequence
  • Export commands to bash scripts
  • Insert you scripts directly into the library
  • Open scripts and selected files directly
  • Integrate it to Caja/Nautilus via a script
  • The library is a simple csv file (easily editable with LibreOffice)

Installation:

  1. copy the whole CmdLib folder on your system
git clone https://github.com/sonejostudios/CmdLib.git
  1. from this folder start CmdLib with:
sh CmdLib.sh

or

python3 CmdLib.py

Requirements:

  • GNU/Linux
  • Python3

Required libraries:

  • PySide2
  • pyperclip
  • notify2
  • pandas

(use sudo pip3 install to install them)

Caja/Nautilus Integration:

  1. Open CmdLibWorkdir.sh
  2. Change cd to the installation path of CmdLib
  3. If you use Nautilus, change $CAJA_SCRIPT_CURRENT_URI with $NAUTILUS_SCRIPT_CURRENT_URI
  4. Save
  5. Copy CmdLibWorkdir.sh to your Caja/Nautilus Script directory (e.g. ~.config/caja/scripts)

Now, when you go to a directory, start CmdLibWorkdir.sh with the context menu. It will insert the actual directory as workdir automatically

Shortcuts:

  • Ctrl+F = Focus on Find/Search
  • Ctrl+L or Tab = Focus on Library
  • Ctrl+Return = Run Command
  • Ctrl+N = Create new commands
  • Delete = Delete selected command from library
  • Ctrl+S = Save command to library
  • Ctrl+H = Show Help (Manpage/Help/Verion/Whatever)

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.