Hacker Newsnew | past | comments | ask | show | jobs | submit | oskob's commentslogin

thank you! yeah i wanted to make something minimal and portable without package managers and build systems, just pure bash


Like the thing in Warp, but, you know, without Warp.

Useful for quick command lookups, like trying to remember those ffmpeg arguments, for example. Just go:

> clud convert file movie.mov to h264 optimized for web and write to out.mp4

And it responds with:

Suggested command: ffmpeg -i movie.mov -c:v libx264 -preset medium -crf 23 -c:a aac -b:a 128k out.mp4

Run it? [y/N]

Written mostly in bash script but some dependencies on curl and python3. Might try to remove python3 dependency at some point. Just used for JSON parsing/serializing.

You need an API key for Gemini, OpenAI or Claude.

Feature requests are welcome!


An excellent video on the topic:

https://www.youtube.com/watch?v=-k3NJXGSIIA


Well There's Your Problem has an episode on the incident as well: https://www.youtube.com/watch?v=34rdxDgpaaA


One product is missing from this list: Flic (super small Bluetooth button)

I have them scattered all around my house and I never use voice or even apps anymore to control my smart home.


Oh shit, I commited a binary file larger than 100 mb and now i can't push to github.com. Solution: https://rtyley.github.io/bfg-repo-cleaner/


Is there some tool that runs a full internal consistency check on a git repo?

Because otherwise, how can I be sure that some tool didn't mess up my repo, and one day I'll be getting error messages when checking out files, etcetera?


git fsck


This. Also, hold on to the commit before you started refactoring (preferably by placing a temporary branch there, in order to avoid premature garbage collection). Then after your refactoring is done, `git fsck` and `git diff --stat $old_branch..HEAD` to verify that you did not lose any important content during the refactoring.


That is true in general. However, in the context of bfg-repo-cleaner, that doesn't help, because the purpose of the bfg-repo-cleaner is to completely remove commits that match the criteria you give it. I say this not to "correct" you per se, because you are correct, but to ensure that people using bfg-repo-cleaner do not believe that this will help them.

The "correct" course of action prior to using the bfg-repo-cleaner is to make a complete copy of the target .git directory. I've used it many times and it seems quite reliable, but if nothing else, that's a good defense against terminating it halfway through accidentally or something. (Of course even without that, you shouldn't be operating on the only copy of your .git repo anyhow since it is almost certainly somewhere else, too, or you wouldn't be having the problem bfg-repo-cleaner is designed to solve in the first place. But losing your own local branches and work is still a pain.)


This can already be achieved with Flic: http://flic.io Flic is a Bluetooth button which uses your smartphone to communicate with smart electronics. If you have Philips Hue or LIFX smart lights and a Logitech Harmony Hub (for IR), this would work straight out of the box! (Disclaimer: I am associated with Flic)


But you're not shipping Flic yet, are you?


Does that require a phone nearby at all times?


I'd also be interested in this. Would love such a button that could connect via WiFi or generic BT on a Raspberry Pi or something like that, rather than a smartphone with a specific app.


For the time being, you need a smartphone. But we are currently looking into other areas to expand the use of our product.


Nice, seems like a cool startup.


Same but different. And ugly?!


Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: