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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8524ab0f74761f54ab7e06009bf2a0e48ed6c7937943b32d4ce977f92f6a4a0d
|
|
| MD5 |
1b8eeacc4a29f22f29e55df3daa7386d
|
|
| BLAKE2b-256 |
6abc5417b341b56bbf38b8d5387748b4005c11e69f1fe4edd55f31a8e9679291
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2019f04693c85509e894801deb3d63620f45319316a8cb740ab756b3fe1c3510
|
|
| MD5 |
ebdc31dcd1626a66406827283f1d25ee
|
|
| BLAKE2b-256 |
8f722db3a0b9e73eea330597e0a4344bc7ebfe851af68319bd2bbcd377774307
|