aichat
syntect
aichat | syntect | |
---|---|---|
19 | 5 | |
3,081 | 1,831 | |
- | - | |
9.7 | 7.1 | |
7 days ago | 12 days ago | |
Rust | Rust | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
aichat
- AIChat: All-in-One AI CLI Tool
-
Show HN: ffmpeg-english "capture from /dev/video0 every 1 second to jpg files"
There's also aichat's shell integration [1]. Instead of typing a command I describe what I want in plain English in a terminal and then press Alt-E. It replaces the text with a command.
[1] https://github.com/sigoden/aichat/tree/main/scripts/shell-in...
-
Make Timelapse easily using FFmpeg
That way I can use any aichat backend as necessary, I actually have time to verify the output myself, and all the commands get saved to my history.
The prompt that runs is the following: "Based on the following user description, generate a corresponding Fish shell command. Focus solely on interpreting the requirements and translating them into a single, executable Fish command. Ensure accuracy and relevance to the user's description. The output should be a valid Fish command that directly aligns with the user's intent, ready for execution in a command-line environment. Do not output anything except for the command. No code block, no English explanation, no newlines, and no start/end tags."
[1] - https://github.com/sigoden/aichat
-
Show HN: A shell CLI tool to predict your next command enhanced by LLM and RAG
thanks for sharing this, I have been using aichat (https://github.com/sigoden/aichat) and shell_gpt for a while. Let's see how it works.
-
Show HN: How do you OCR on a Mac using the CLI or just Python for free
use LLMs (gpt-4-vision or LLaVA) with aichat
`aichat -f tmp/test.png -- output only text in the image`
https://github.com/sigoden/aichat
- Aichat: Use GPT-4(V), Gemini, LocalAI, Ollama and Other LLMs in the Terminal
-
Stop wasting time on watching questionable Youtube videos, make ChatGTP do it for you
Tools required: https://github.com/yt-dlp/yt-dlp https://github.com/sigoden/aichat
- ChatGPT m'aide énormément dans mon travail
-
Effective Spaced Repetition
Yes, I'm using for language learning. Usually via tool `https://github.com/sigoden/aichat` with different roles that I've created. For example for grammar ChatGPT generates bunch of examples for specific grammar rules, which I memorize.
-
Become a 1000x engineer or die tryin
I've been enjoying using aichat for command-line chatgpt access https://github.com/sigoden/aichat (it supports both an interactive repl mode and you can invoke it with your query directly from the command line like the helper used in this article).
syntect
-
Documentation generators and custom syntax highlighting
Zola (https://www.getzola.org/) can generate from markdown-ish files nice looking documentation websites (and also RSS feeds), it uses syntect (https://github.com/trishume/syntect) which supports sublime syntax highlight files. For github readme I don't have a solution besides using a png.
-
AIChat: A cli tool to chat with gpt-3.5/chatgpt in terminal.
Syntax highlighting: https://github.com/trishume/syntect
-
Will Treesitter ever be stable on big files?
I wonder if a plugin integrating syntect would be possible.
-
[Media] I made a Rust CLI game that tests how fast you can guess the language of a code block!
I love that idea! I think there might be a better way than just hardcoding all the comment types for all the languages, though. I'm using the syntect library which will parse the code based on syntax files, so I opened an issue there to see if they have anything that could help.
-
Is calling a Rust function from NodeJS via WASM like really slow?
Very recently, I stumbled onto a library called syntect, which is a syntax highlighting library, and I got interested in the project because it promises to be really fast.
What are some alternatives?
cli-gpt - 💬 Simple TUI for ChatGPT.
confy - 🛋 Zero-boilerplate configuration management in Rust
tiny - A terminal IRC client
ammonia - Repair and secure untrusted HTML
gogpt - ChatGPT CLI
guess-that-lang - CLI game to see how fast you can guess the language of a code block!
tui-realm - 👑 tui-rs framework to build stateful applications with a React/Elm inspired approach
rust-build.action - Automate publishing Rust build artifacts for GitHub releases through GitHub Actions
zsh-gpt - ZSH plugin to query ChatGPT from the command line.
sublime-monokai-extended - Extends Monokai from Soda with additional syntax highlighting for Markdown, LESS, HTML, Handlebars and more.
starship - ☄🌌️ The minimal, blazing-fast, and infinitely customizable prompt for any shell!