News for hackers. Stuff that matters.

pomdtr

Re:Zellij: A terminal workspace with batteries included on Friday December 05, 2025 @02:52PM (#46166414)
I built a project to add a terminal emulator to the browser (using a chrome extension): https://github.com/pomdtr/tweety.

I'm working on a `tweety edit` command which open arbitrary files in your $EDITOR of choice in a new tab.

Show HN: Tweety – An Integrated Terminal for Any Chromium-Based Browser

https://github.com/pomdtr/tweety

I've been building a terminal that is distributed entirely as a chrome extension. It works similarly to the integrated terminal of your IDE, but inside your browser.I find it incredibly useful, since it allows me to interact with the chrome extension API using shell scripts.

( Read More... | no comments | 3 points | on HN )
Re:Kelp – simple replacement for homebrew on macOS on Monday May 19, 2025 @03:30PM (#44033833)
I personally use eget for this usecase. Might be worth a look: https://github.com/zyedidia/eget
Re:Caddy – The Ultimate Server with Automatic HTTPS on Sunday February 16, 2025 @09:13PM (#43074204)
I'm a big fan of pico.sh (it's one of my main inspiration for smallweb.run).

I'm sure you're aware of it, but it might be interesting to others: caddy exposes all of it's internal as library you can easily integrate to your projects: https://github.com/caddyserver/certmagic

Re:Thinkserver: My web-based coding environment on Friday February 14, 2025 @09:27AM (#43048637)
If you want to get notified on future updates, you should join the community discord at https://discord.smallweb.run
Re:Thinkserver: My web-based coding environment on Thursday February 13, 2025 @03:30PM (#43040914)
I love pico.sh! Some of their service can be reimplemented as smallweb apps.

Ex: prose.sh is similar to https://jsr.io/@tayzendev/smallblog, an app created by a member of the smallweb community (we have a server at https://discord.smallweb.run). You can see it running from smallweb at https://blog.tayzen.dev

I even use the underlying lib ssh implementation of pico.sh in smallweb (https://github.com/picosh/pobj), and I plan to introduce a cloud service similar to their (you can subscribe to the waitlist at https://cloud.smallweb.run)

Re:Thinkserver: My web-based coding environment on Thursday February 13, 2025 @02:05PM (#43039862)
Yeah, I see smallweb as a playground.

I want to "develop in prod", not rely on successives git pushes to see changes.

If I need semantic releases, I publish the dev version as a package on jsr, and I then import it from the "prod" app.

I still uses github as way to store my apps though, you can find them at https://github.smallweb.run

Re:Thinkserver: My web-based coding environment on Thursday February 13, 2025 @01:57PM (#43039768)
Smallweb also allows you to run server-side code using deno. The main process watch for changes in the app directories, and automatically restart the corresponding deno processes when a change is detected.

If you ever interacted with cloudflare workers or https://val.town, it is a similar experience.

Feel free to join our discord at https://discord.smallweb.run if you're curious !

Re:Thinkserver: My web-based coding environment on Thursday February 13, 2025 @01:56PM (#43039746)
By vscode I mean vscode-web + an fsprovider extension.

You can play with it at https://vscode.demo.smallweb.live (the code is located in the `vscode` folder)

Re:Thinkserver: My web-based coding environment on Thursday February 13, 2025 @09:27AM (#43036156)
Yeah dokku is an inspiration!

The main difference is that smallweb use deno instead of docker for sandboxing apps, and leverages url imports (which can be used to distribute complex apps like VS Code):

```

import { VSCode } from "jsr:@smallweb/[email protected]"

const vscode = new VSCode({ rootDir: Deno.env.get("SMALLWEB_DIR") });

export default vscode;

```

You can play with a live instance of smallweb at https://demo.smallweb.live

Re:Thinkserver: My web-based coding environment on Thursday February 13, 2025 @08:11AM (#43035466)
This looks fantastic, I'll make sure to try it!

I've been working on a similar platform (https://smallweb.run), which allows me to host all my side projects from a single root folder. Each subfolder automatically becomes a subdomain, and I can just use vscode remote ssh or mutagen to live edit my websites.

Re:Show HN: A no-build fullstack SSR TypeScript web framework on Wednesday February 12, 2025 @07:06PM (#43031236)
Neat! I'm working on a self-hostable platform to host my deno apps (https://smallweb.run), I wonder if I would be able to your framework on there.
Smallweb is inspired both by serverless platforms (e.g. cloudflare workers and val.town), and older standards like cgi-bin. To create a new app, you just create a new file, and you're basically done.

Try out the demo at https://demo.smallweb.live

Smallweb is super easy to self-host (you can even keep it local to your device). It is distributed as a single golang binary, and there is an install script allowing you to set it up on a new VPS with a single command (https work out of the box, no need to set DNS records):

curl -sSL https://install.smallweb.run/vps.sh | sh

Since the app is based on deno, it supports url imports. It allows you to host complex apps like vscode or excalidraw by writing 3 lines of code: https://www.smallweb.run/examples#excalidraw

We also have a small community at https://discord.smallweb.run !

Re:Mdx – Execute Your Markdown Code Blocks, Now in Go on Saturday October 26, 2024 @01:46PM (#41956378)
I would prefer an api base on codeblocks meta string and json attributes.

```sh name="build" deps=["install"]

npm run build

```

This would be displayed just fine in github, as it is valid gfm.

Re:Using static websites for tiny archives on Friday October 18, 2024 @02:16PM (#41882008)
Yeah you guessed it, smallweb is basically CGI meets Deno sandboxing + https imports.
Re:Using static websites for tiny archives on Friday October 18, 2024 @08:05AM (#41878614)
I had similar thoughts, and built myself a little framework for this: https://www.smallweb.run

The key feature it adds compared to your own setup is mapping subfolders to subdomains (+ dynamic websites, but you don't seem interested in that).

ex: ~/smallweb/example => https://example.localhost

We have a little discord community at https://discord.smallweb.run if anyone is interested.

Re:Show HN: Pie Menu – a radial menu for macOS on Monday August 05, 2024 @05:23PM (#41165744)
`cmd+?` works, but it's visually quite hard to follow. The raycast version looks much more like an universal command palette, and supports fuzzy matching.

You can also pin menu items for each apps.

Re:Show HN: Pie Menu – a radial menu for macOS on Monday August 05, 2024 @01:31PM (#41163423)
Another alternative is the "Search Menu Items" command from raycast: https://www.raycast.com/changelog/1-20-0
I found a way to embed a full-stack app (@vite_js frontend + @honojs backend) as a single JSR import.

Here is a demo of @excalidraw running from @ValDotTown: https://val.town/v/pomdtr/excalidraw

I feel like this could become a lightweight alternative to docker for self-hosting.

Re:Code Search Is Hard on Friday April 12, 2024 @09:16AM (#40012351)
I ended up writing my own article: https://code-search-is-easy.pomdtr.me/
Re:Code Search Is Easy on Friday April 12, 2024 @08:37AM (#40011888)
Earlier this week, Tom MacWright posted the "Code Search is Hard" article on the http://val.town blog.

So I decided to write my own search engine for http://val.town! More details in my own article, "Code Search is Easy"

Re:Code Search Is Hard on Wednesday April 10, 2024 @07:27PM (#39996746)
Yeah, and you can finally run/debug vals locally (kind of, the version query param is not yet supported)
Re:Code Search Is Hard on Wednesday April 10, 2024 @07:18PM (#39996684)
Hey! I'm a val.town fanboy and I immediately thought about a workaround while reading the blog post:

What if I dumped every publics vals in Github, in order to be able to user their (awesome) search ?

So here is my own "Val Town Search": https://val-town-search.pomdtr.me

And here is the repo containing all vals, updated hourly thanks to a github action: https://github.com/pomdtr/val-town-mirror

Re:Show HN: Heynote – A Dedicated Scratchpad for Developers on Friday December 22, 2023 @08:01PM (#38740640)
I think tabs could be interesting if coupled with a way to filter the list of blocks (ex: I only want to see math blocks, or only blocks containing the #daily tag, or only blocks from this month).

Then each tab would be an opportunity to apply a new set of filter on top of the same document.