The best Hacker News stories from Show from the past day
Latest posts:
Show HN: Ts-Chan – Go-Like Concurrency Primitives for TypeScript/JavaScript
Hey HN,<p>I’m sharing ts-chan, an NPM package providing Go-like concurrency primitives, including channels and select statements, for TypeScript and JavaScript, supporting Node.js, Deno, Bun, and browsers.<p>This is something I've built to make implementing Go-style "control loops" feasible in JavaScript, but there are many possible applications.<p>Highlights:<p>- Features a FIFO processing Chan class and versatile Select class for concurrency control.
- Supports buffered channel and channel close semantics very close to Go's.
- TypeScript-first implementation.
- Defines a simple "channel protocol" inspired by JavaScript's iteration protocols, that's used by `Select`, and implemented by `Chan`.
- Makes an effort to mitigate cycles caused by the behavior of JavaScript's microtask queue.
- Ongoing project with active iteration for a production-ready module (pre-v1, so the API isn't guaranteed to be stable, but the implementation itself is).<p>NPM: ts-chan
GitHub: github.com/joeycumines/ts-chan<p>Thanks!
Show HN: Jeeves – A Pythonic Alternative to GNU Make
Write a Python file named `jeeves.py` in your project directory with contents:<p><pre><code> import sh
def lint():
"""Lint your Python project."""
sh.mypy()
</code></pre>
This, together with<p><pre><code> pip install jeeves-shell[all]
</code></pre>
makes it possible to do<p><pre><code> j lint
</code></pre>
…which will run mypy for you, and, via the omnipotent `j` command, open ways for<p>• Automation of routine tasks,<p>• Standardization of your projects,<p>• Implementation of best practices,<p>• And more :)<p>Github: <a href="https://github.com/jeeves-sh/jeeves-shell/">https://github.com/jeeves-sh/jeeves-shell/</a>
Show HN: LLaVaVision: An AI "Be My Eyes"-like web app with a llama.cpp backend
A simple mobile web app inspired by Fuzzy-Search/realtime-bakllava that uses llama.cpp server backend with multimodal mode to describe and narrate what the phone camera sees.<p>I built this thing in a few hours using a single ChatGPT thread to generate most things for me and iterate on this project. Here's the workflow: <a href="https://chat.openai.com/share/ea84ec69-5617-45e8-8772-ac2dcfa2e1b1" rel="nofollow noreferrer">https://chat.openai.com/share/ea84ec69-5617-45e8-8772-ac2dcf...</a>
Show HN: LLaVaVision: An AI "Be My Eyes"-like web app with a llama.cpp backend
A simple mobile web app inspired by Fuzzy-Search/realtime-bakllava that uses llama.cpp server backend with multimodal mode to describe and narrate what the phone camera sees.<p>I built this thing in a few hours using a single ChatGPT thread to generate most things for me and iterate on this project. Here's the workflow: <a href="https://chat.openai.com/share/ea84ec69-5617-45e8-8772-ac2dcfa2e1b1" rel="nofollow noreferrer">https://chat.openai.com/share/ea84ec69-5617-45e8-8772-ac2dcf...</a>
Show HN: Inshellisense – IDE style shell autocomplete
I built this terminal native runtime for Fig's autocomplete to support Windows and Linux. Would appreciate any feedback on it!
Show HN: Inshellisense – IDE style shell autocomplete
I built this terminal native runtime for Fig's autocomplete to support Windows and Linux. Would appreciate any feedback on it!
Show HN: Inshellisense – IDE style shell autocomplete
I built this terminal native runtime for Fig's autocomplete to support Windows and Linux. Would appreciate any feedback on it!
Show HN: Inshellisense – IDE style shell autocomplete
I built this terminal native runtime for Fig's autocomplete to support Windows and Linux. Would appreciate any feedback on it!
Show HN: Ladder, open source alternative to 12ft.io and 1ft.io
Hey there<p>I made a opensource alternative for these services. Although these worked very well, I was not so confident what they do. So I made my own and opensourced it.<p>It is written in Golang and is fully customizable.
Show HN: Ladder, open source alternative to 12ft.io and 1ft.io
Hey there<p>I made a opensource alternative for these services. Although these worked very well, I was not so confident what they do. So I made my own and opensourced it.<p>It is written in Golang and is fully customizable.
Show HN: Ladder, open source alternative to 12ft.io and 1ft.io
Hey there<p>I made a opensource alternative for these services. Although these worked very well, I was not so confident what they do. So I made my own and opensourced it.<p>It is written in Golang and is fully customizable.
Show HN: Bogrep – Grep Your Bookmarks
Occasionally, I need full-text search on my bookmarks to find a specific bookmark I added some time ago.<p>Usually, browsers only support search of bookmarks in the website's title tag which is often not sufficient to find a bookmark.<p>Some browsers, like Safari, provide built-in support for full-text search, but can only be used for content that's already in the browser's history.<p>Bogrep imports your bookmarks from multiple browsers (removing duplicates), and then downloads and caches them in plaintext (without images or videos). These cached bookmarks are subsequently used for full-text search.
Show HN: Hyphen – an elegant custom element base class with good ergonomics
Show HN: Gogosseract, a Go Lib for CGo-Free Tesseract OCR via Wazero
Tesseract is one of the largest Open Source OCR (Optical Character Recognition) projects. There is already a Go library for using Tesseract from Go with CGo, called Gosseract.<p>However if you are interested in OCR from Go without C complicating building and cross-compiling, there aren't any other options.<p>Wazero is a Go WASM runtime that doesn't have any CGo dependencies. With Emscripten Tesseract has been compiled to WASM and ran within Wazero.<p>Gogosseract provides a simple API on top of this. This project has been an interesting delve into the world of WASM.
Show HN: Gogosseract, a Go Lib for CGo-Free Tesseract OCR via Wazero
Tesseract is one of the largest Open Source OCR (Optical Character Recognition) projects. There is already a Go library for using Tesseract from Go with CGo, called Gosseract.<p>However if you are interested in OCR from Go without C complicating building and cross-compiling, there aren't any other options.<p>Wazero is a Go WASM runtime that doesn't have any CGo dependencies. With Emscripten Tesseract has been compiled to WASM and ran within Wazero.<p>Gogosseract provides a simple API on top of this. This project has been an interesting delve into the world of WASM.
Show HN: Sshx, a web-based collaborative terminal
Show HN: Sshx, a web-based collaborative terminal
Show HN: Sshx, a web-based collaborative terminal
Show HN: WireHub – easily create and share WireGuard networks
WireHub is a side project I've been working on, on and off, for close to a year now. It's made with django and minimal javascript.<p>It's a hosted WireGuard config generator/manager, that you can invite others to join your networks and manage their own configs/devices.<p>It's still very much a beta, maybe an mvp, but I just wanted to get some early from the community.<p>Thanks!
Show HN: WireHub – easily create and share WireGuard networks
WireHub is a side project I've been working on, on and off, for close to a year now. It's made with django and minimal javascript.<p>It's a hosted WireGuard config generator/manager, that you can invite others to join your networks and manage their own configs/devices.<p>It's still very much a beta, maybe an mvp, but I just wanted to get some early from the community.<p>Thanks!