gpt-emacs-macro
oxipng
Our great sponsors
gpt-emacs-macro | oxipng | |
---|---|---|
6 | 14 | |
43 | 2,635 | |
- | - | |
1.2 | 8.6 | |
about 1 year ago | 6 days ago | |
Emacs Lisp | Rust | |
- | 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.
gpt-emacs-macro
-
Ask HN: Small scripts, hacks and automations you're proud of?
I wrote a quick integration to the GPT-3 API to Emacs [0]. Although it's a very simple implementation, it's made many small things I would've previously done manually much quicker (ie - one-off calls to convert a hyperlink in X format to markdown; abbreviate first names of author lists of papers; convert some "text message speak" messages into a paragraph).
[0] https://github.com/samrawal/gpt-emacs-macro
- ChatGPT inside Emacs
-
Get answers for Shell Commands from GPT3 right from your terminal
I made something similar for emacs and it unlocks what I think of as “semantic macros” — being able to interface with GPT-3 for actions that are a tiny complexity level above what I usually use kbd macros for (like smart capitalization) easily become possible to automate!
Screenshot - https://twitter.com/samarthrawal/status/1591527892386734081
Code - https://github.com/samrawal/gpt-emacs-macro
- gpt-emacs-macro: Connect GPT-3 to Emacs and run "semantic" kbd macros
-
I added a simple hook in emacs to the GPT-3 API -- actions that are a tiny complexity level above what I usually use kbd macros for (like smart capitalization) easily become possible to automate!
Thanks! It's available here -- https://github.com/samrawal/gpt-emacs-macro
oxipng
- OxiPNG: Multithreaded PNG optimizer written in Rust
-
screen capture/snapshot utility with image optimization support/configurability
I have had good experiences with https://github.com/shssoichiro/oxipng . Although, I suspect this wouldn't give you nearly enough space savings as jpg.
- Ask HN: Small scripts, hacks and automations you're proud of?
-
Exported png image with color-to-alpha edit is huge
If you do want the file as a PNG (for transparency and a common format that's well supported), but don't want it so huge, consider something like oxipng. https://github.com/shssoichiro/oxipng
-
Name a program that doesn't get enough love!
oxipng, pngquant and svgcleaner — optimizing images
-
Losslessly Optimising Images
I wonder how `pngcrush` compares to `oxipng` (https://github.com/shssoichiro/oxipng).
Personally, I use `oxipng` if I want lossless compression. However, most of the time, I use `pngquant` instead, since it gives significant size reduction even at `99%` (I can't even distinguish between the original and reduced image).
pngquant --quality=99 --ext=.png --force file.png
-
Adobe plans to make Photoshop on the web free to everyone
Depending on your workflow it might make sense to export PNGs directly from Affinity and then reduce their size with a utility like Oxipng, which uses all your cores to find the best algorithm for each particular image.
- OptiPNG vs. PNGcrush vs. Gimp to Reduce PNG Size
-
Help processing massive videos (16k resolution)
Assuming your frames are PNG files, you could use a lossless optimizer like optipng to try if their size can be reduced. I prefer oxipng, which is faster and multithreaded, and seems to have more active development.
-
(Urgent) Best Image Compressor Sites That Barely Compress?
Not sure what extensions of images you use, but if they’re PNG you could use oxipng: https://github.com/shssoichiro/oxipng
What are some alternatives?
Codex-CLI - CLI tool that uses Codex to turn natural language commands into their Bash/ZShell/PowerShell equivalents
squoosh - Make images smaller using best-in-class codecs, right in the browser.
ai-cli - Get answers for CLI commands from ChatGPT right from your terminal
ImageOptim - GUI image optimizer for Mac
dotfiles - ben's dotfiles
opencv-rust - Rust bindings for OpenCV 3 & 4
emergency-poncho - Emergency Poncho - an HTTP Archive replayer
sharp - High performance Node.js image processing, the fastest module to resize JPEG, PNG, WebP, AVIF and TIFF images. Uses the libvips library.
dragon - Drag and drop source/target for X
image - Encoding and decoding images in Rust
imageproc (PistonDevelopers) - Image processing operations