Hacker News new | past | comments | ask | show | jobs | submit login
Show HN: Plock: Use a local LLM from anywhere in your OS (github.com/jasonjmcghee)
6 points by jasonjmcghee 12 months ago | hide | past | favorite | 1 comment
After seeing a cool demo of a hack on Twitter, I built a cross platform version of it that works well and uses streaming.

From anywhere on Mac and Linux, trigger Ollama and optionally feed it your clipboard.

I built it yesterday and it's already very useful to me. I'm pretty excited about it and wanted to share!




Since I originally posted this, I updated it to support running / streaming the output of an bash script, piping context / prompt as an argument.

I included examples of using both the OpenAI and Perplexity APIs.

Also added a demo. This is fun stuff.




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

Search: