betterletter
srgn
betterletter | srgn | |
---|---|---|
2 | 5 | |
10 | 395 | |
- | - | |
7.2 | 9.4 | |
about 2 months ago | about 1 month ago | |
Python | Rust | |
MIT License | 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.
betterletter
-
Ask HN: What apps have you created for your own use?
meaning it not only replaces Umlauts and Eszett, it also knows when not to (Poeten), and handles arbitrary compound words. Write your text, slap it all into the tool, it spits out results instantly. The original text can use alternative spellings (ou, ae, ue, ss), which is ergonomic. Combined with tools like AutohotKey, GUI integration through a single keyboard shortcut is possible. See [0] for a similar example.
A niche need I haven't yet come across someone else having as well! (just the amount of text explaining what it's all about is saying a lot in terms of specificity...)
The tool now grew into a tree-sitter based (== language grammar-aware) text manipulation thing, mostly for fun. The bizarre German core is still there however.
[0]: https://github.com/alexpovel/betterletter/blob/c19245bf90589...
- Erfahrungen mit US-Tastaturlayout im deutschsprachigem Raum
srgn
- Show HN: Srgn, AST-aware text manipulation
-
Ask HN: What apps have you created for your own use?
It's currently whitelist-based [0]. The downside is larger (code) size. The upside is simplicity. I imagine a blacklist could also work well, at smaller size but with more preprocessing needed.
[0]: https://github.com/alexpovel/srgn/blob/0008cce1c71f0d83f6a31...
- srgn: precise text and code transplantation; think tr/sed + regex + tree-sitter
-
AST-grep(sg) is a CLI tool for code structural search, lint, and rewriting
Wow! What a coincidence. Just the other day I finished "v1" of a similar tool: https://github.com/alexpovel/srgn , calling it a combination of tr/sed, ripgrep and tree-sitter.
I've spent a lot of time trying to find similar tools, and even list them in the README, but `AST-grep` did not come up! I was a bit confused, as I was sure such a thing must exist already. AST-grep looks much more capable and dynamic, great work.
What are some alternatives?
AutoHotkey.py - Write AutoHotkey scripts in Python.
lsd - LSD - line-square-dot: an addicting game
macros - Press buttons using python or AutoHotkey. Previously called `python-macros` or `macros`
oatmeal - Terminal UI to chat with large language models (LLM) using different model backends, and integrations with your favourite editors!
quikey - A keyboard macro tool.
clipzoomfx - Side-project for extracting highlights from (mostly sports) videos
trace-dkey - Python library to trace path of a particular key inside a nested dict
dhcptool - Tool for testing/debugging DHCP servers
syntax-searcher - Language-independent command-line utility for syntax-aware pattern matching.
webpub - Give me a website, I'll make you an epub.
game-server-watcher - A simple discord/telegram/slack bot that can be hosted on a free service to monitor your game servers and players in style 😎
youtube-cue - Generate CUE sheet from timestamps in youtube video description