Live data from Hacker News

I Built a Telegram Client for Pi

npmjs.com

21–30 of 48 posts

Re: I Built a Telegram Client for Pi

#21
post #13

So I guess we (and a lot of other people) have had the same problem, which is managing your agents on the go. I decided to build a plugin[1] for my terminal multiplexer (herdr) to access the sessions via PWA served through a tailnet. [1] https://github.com/AltanS/collie

check out tsnet if you are building on tailscale anyways. your app can then be a tailnet node that can read tailnet WhoIs data and have access controlled via tailnet ACL

Re: I Built a Telegram Client for Pi

#22

I like the idea of being able to use agents from my phone. Termux is nice, but not very good on small screens. So I tried Hermes, it had first-class telegram support, but then I never use it for coding and was asking it to delegate to codex / pi. There wasn't much I was gaining from hermes, so I stopped using it. Then I started using Pi more and liked its extensability. Pi is the first software I have forked and deve…

I see that you also forked Pi itself[1]. Out of curiosity, is there a reason you did this instead of implementing those two features in your fork as Pi extensions?

I've managed to implement most of the things I want in Pi through extensions - with one exception (disabling animations, because there's no extension API or setting for that).

[1] https://github.com/atharva-again/pi

Re: I Built a Telegram Client for Pi

#23
post #9

Off topic, but apart from pi-tui, is there a recommended TUI library that integrates well with the Pi? I want to have a multi pane TUI experience like lazydocker right inside Pi. Pi-tui is a bit limited.

Why not just have multiple instances of pi inside one of the many multiplexers out there? Tmux, Zelliij, herdr, for example.

Re: I Built a Telegram Client for Pi

#25
"A normal DM is one pi session by default." A single message, or a single message thread? Both are pretty extreme trade-offs to make, honestly. I spent a bunch of time looking at how the various Claws do this, and I settled on an idle timeout causing the next message to start a new session, but I also built /continue, /new, and a /resume that shows recent sessions with a telegram keyboard.

Re: I Built a Telegram Client for Pi

#26
post #7

To all the haters to not knowing what "pi" means in this context. Is mario zechner's ai agent / coding harness [1][2], similar in spirit albeit much less complex to claude code or openai's codex and others. I wouldn't call it third tier. If anything alongside opencode, and codex, its one of the "first tier" and the only non-VC-backed (at least before mario joined earendil (idk about earendil raising or not) anyways.…

Is it really necessary to accuse people of being "haters"?

Re: I Built a Telegram Client for Pi

#27
post #5

Did you built it or did you tell PI to build it?

There'd be no shame either way. Pi is built on the idea that you should ask it to extend itself.

But there is a difference in ordering something or doing it.

If PI extended itself, PI did it.

If I tell you, stay hydrated and get enough sleep, did I improve your live or you?

Re: I Built a Telegram Client for Pi

#28
post #7

To all the haters to not knowing what "pi" means in this context. Is mario zechner's ai agent / coding harness [1][2], similar in spirit albeit much less complex to claude code or openai's codex and others. I wouldn't call it third tier. If anything alongside opencode, and codex, its one of the "first tier" and the only non-VC-backed (at least before mario joined earendil (idk about earendil raising or not) anyways.…

Everything else feels bloated. The same model in pi will consume significantly less context for the same task as there's not piles of unchangeable system prompts being passed along (I assume), and at least compared to OpenCode the quality feels better too. I just wish Anthropic let me use my Claude subscription with pi, it's annoying having to switch between them. (Not to mention the unmatched level of customisabilit…

The default system prompt is so lean:

https://github.com/earendil-works/pi/blob/main/packages/codi...

Re: I Built a Telegram Client for Pi

#30
post #17
post #7

To all the haters to not knowing what "pi" means in this context. Is mario zechner's ai agent / coding harness [1][2], similar in spirit albeit much less complex to claude code or openai's codex and others. I wouldn't call it third tier. If anything alongside opencode, and codex, its one of the "first tier" and the only non-VC-backed (at least before mario joined earendil (idk about earendil raising or not) anyways.…

moreso, it's the only harness that maps close to Neovim philosophy of "everything is a plugin." heck, I took a bite at it and it seems fun to build plugins! especially if it's something as silly as warhammer.pi :) (shameless plug, npm: @bpavuk/warhammer.pi) that thing makes Pi talk like Adeptus Mechanicus. what's more fitting to a machine than voice that's associated with machines?

Going to try this prompt out within OpenCode, thanks for the share!
Post reply on HN