GithubHelp home page GithubHelp logo

yitzig / cli-tools Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 4 KB

'cli-tools' is a collection of versatile bash scripts aimed to simplify various tasks on a macOS environment. These utilities, ranging from password generators to automation scripts, can be placed anywhere within your PATH for easy access. Clone, use, or tweak them as needed. Your contributions are welcome!

Shell 100.00%

cli-tools's Introduction

cli-tools

This repository is a collection of versatile bash scripts aimed to simplify various tasks on a macOS environment. They can be placed anywhere within your PATH for easy access.

Scripts

rpass

Generates a secure, random password and copies it to the clipboard. It uses pwgen for generating the password and pbcopy (macOS) for clipboard operations. The script checks for pwgen and attempts to install it if not present.

Usage: rpass

Dependencies: pwgen (The script checks for pwgen and gives install instructions if not present.)

rname

Generates two random proper names using the list of proper names available on Unix-based systems and copies them to the clipboard.

Usage: rname

gpterm

A bash interface for OpenAI's GPT models. It takes the model name and a system message as input and interacts with the model using OpenAI's API.

# Usage:
gpterm -m MODEL -s SYSTEM_MESSAGE USER_MESSAGE [USER_MESSAGE...]

Dependencies: jq (The script checks for jq and attempts to install it if not present.)

looksee

Fetches a webpage, converts it to text, tokenizes it, and feeds the tokens into a long-lived model. It takes a URL and a system name as input.

# Usage: 
looksee URL SYSTEM

Dependencies: html2text, ttok, llm (Please ensure these are installed and in your PATH.)

Contributions

Feel free to clone, use, or tweak these scripts as needed. Your contributions to improve these scripts or add new ones are welcome!

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.