terminalmind

terminalmind logo

Latest Version: v1.0.2

License: MIT

Enhance your coding and command-line efficiency with terminalmind, now known as temi. Get relevant code snippets, process text and PDF data without leaving your terminal, and maintain a seamless workflow.

πŸš€ What’s New

Explore the release notes for more details.

πŸ™ Acknowledgments

A huge shoutout to Georgi Gerganov and all contributors of llama.cpp for their pioneering work.

✨ Supported Features

Demo:

Examples

πŸ“– Description

temi is your go-to CLI companion for quick text summarization, efficient content retrieval, and more. It’s an indispensable tool for developers, researchers, and anyone who loves efficiency.

πŸ›  Installation

Clone the repository:

git clone https://github.com/namtranase/terminalmind.git
cd terminalmind
# Install requirement packages
sudo apt install python3-requests python3-bs4 python3-pypdf2 jq
# Download the model
./scripts/download_model.sh
#Install the package by scripts:
./scripts/install_temi.sh

Optionally, build and install the Debian package manually:

dpkg-deb --build temi-packaging temi.deb
sudo dpkg -i temi.deb

πŸ–₯ Usage

For the first time, you can call helper for better understand the functions of temi:

temi --help

Examples

Use temi for a variety of tasks:

temi how to make a python package
#  To create a Python package, follow these steps:

# 1. Choose a name for your package and ensure it's unique.
# 2. Create a new directory with that name.
# 3. Inside the directory, create a file named `__init__.py` to mark the directory as a Python package.
# 4. Write your Python code in subdirectories or files inside the package directory.
# 5. Install any required dependencies in a `requirements.txt` file or `setup.py`.
# 6. To distribute, use tools like setuptools, Twine and PyPI to create a distribution package.%

🀝 Contributing

We welcome contributions!

Quick Start for Contributors

For detailed instructions on working with the llama.cpp submodule, including setup and usage, refer to the WORK_WITH_LLAMACPP.md file.

  1. Install repo and submoudles:
    git clone --recurse-submodules https://github.com/namtranase/terminalmind.git
    
  2. Install Development Dependencies:
    pip install -r requirements/dev_requirements.txt
    
  3. Set Up Pre-Commit Hooks:
    pre-commit install
    

License

terminalmind is MIT licensed, as found in the LICENSE file.