Skip to main content

Default template for PDM package

Project description

rtt

rtt is a cli application which allows you to convert a repository of code/files and webpages into flat files (both txt and md formats are supported) and interact with LLMs all using one CLI

Installation

currently only supports macOS & Linux distros

curl -sfL https://raw.githubusercontent.com/shammianand/rtt/main/install.sh | sh
# Add to your shell config (~/.zshrc or ~/.bashrc):
export GROQ_API_KEY=sk_xxxx 

Usage

Convert Local Directory

# Convert current directory to rtt.md
rtt .

# Convert directory to custom output file
rtt /path/to/dir -o output.md

Download Web Pages

# Save webpage as markdown
rtt url https://example.com -o page.md

Query Content

# Query current directory
rtt query . "Explain this codebase"

# Query webpage
rtt query url https://example.com "Summarize this article"

By default, queries use the Mixtral-8x7b model with a 32k context window.

For more details:

rtt help
rtt query --help

Author

@shammianand

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rtt_py-0.1.0.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rtt_py-0.1.0-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file rtt_py-0.1.0.tar.gz.

File metadata

  • Download URL: rtt_py-0.1.0.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.18.1 CPython/3.10.12 Linux/6.8.0-58-generic

File hashes

Hashes for rtt_py-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8524ab0f74761f54ab7e06009bf2a0e48ed6c7937943b32d4ce977f92f6a4a0d
MD5 1b8eeacc4a29f22f29e55df3daa7386d
BLAKE2b-256 6abc5417b341b56bbf38b8d5387748b4005c11e69f1fe4edd55f31a8e9679291

See more details on using hashes here.

File details

Details for the file rtt_py-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: rtt_py-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.18.1 CPython/3.10.12 Linux/6.8.0-58-generic

File hashes

Hashes for rtt_py-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2019f04693c85509e894801deb3d63620f45319316a8cb740ab756b3fe1c3510
MD5 ebdc31dcd1626a66406827283f1d25ee
BLAKE2b-256 8f722db3a0b9e73eea330597e0a4344bc7ebfe851af68319bd2bbcd377774307

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page