u/n3rveous

Image 1 — Morse — a chat UI for the pi coding agent (VS Code + browser, MIT)
Image 2 — Morse — a chat UI for the pi coding agent (VS Code + browser, MIT)

Morse — a chat UI for the pi coding agent (VS Code + browser, MIT)

I use pi daily but wanted tabs, image pasting and a scrollable transcript, so I built a frontend for it. Morse doesn't reimplement the agent — it spawns pi --mode rpc and reuses your ~/.pi config.

  • npm i -g @supanadit/morse-web && morse start, or the VS Code extension
  • multi-session/multi-project with warm sessions, @mention files and dirs, image paste, steer/abort mid-task, model and thinking pickers
  • keyboard-driven, real transcript with tool timelines, works the same in both hosts

It's a nicer way to stay in flow with pi. Free, MIT: https://github.com/supanadit/morse — feedback very welcome.

u/n3rveous — 11 days ago
▲ 0 r/PHP

There's no pyenv/nvm equivalent for PHP that works out of the box, so I built one

I wanted something like pyenv or nvm but for PHP. Couldn't find one that actually works the way those do — resolve deps, build from source, switch versions cleanly. The existing options either wrap pre-built binaries or half-ass the dependency resolution.

So I built phpv: https://github.com/supanadit/phpv

`phpv install 8.4` checks your system, builds whatever deps are missing from source, compiles PHP with the right flags. 25 default extensions, out of the box. Supports PHP 4.x through 8.x, version switching, per-project pinning via .php-version, PECL extensions, PHAR tools, portable bundles you can export and import across machines. Linux amd64/arm64 + macOS Intel/Apple Silicon.

Install:

curl -fsSL https://raw.githubusercontent.com/supanadit/phpv/main/install.sh | bash

Then:

eval "$(phpv init bash)"

phpv install 8

Honest con: it compiles from source, so first install is slow. There's no pre-built PHP binary cache yet — working on portable musl-static bundles so you can skip compiling entirely, but that's not done. What's there now works, it just takes a few minutes on first run.

It works. I've been using it on Ubuntu and macOS daily. But I know there are distros and edge cases I haven't hit — Alpine, Arch, weird setups. If you're on any of those, try it and file an issue if it breaks. I want to know.

Repo: https://github.com/supanadit/phpv

Issues: https://github.com/supanadit/phpv/issues

Break it and tell me.

u/n3rveous — 3 months ago