I Built a Telegram Client for Pi

(npmjs.com)

27 points | by atharva-again 2 days ago

9 comments

  • tough 1 hour ago
    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. Pi is good. I dont need a telegram client for it, but this precisely show why pi is great, because its really easy to extend pi building plugins or modifying the source (yay, open source)

    peace

    1. https://github.com/earendil-works/pi

    2. https://pi.dev/

  • asar 15 minutes ago
    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

  • mfkp 21 minutes ago
    This is awesome, I use telegram as my main chat app with all of my friends and coworkers. Now I need to figure out how to dockerize this and run it on my NAS so it's not reliant on my laptop being online.

    Maybe can figure out a workflow to make a branch, deploy it and give me a cloudflare tunnel link to test it, and if approved merge the changes into main branch and deploy to prod. The vibes are off the charts.

  • atharva-again 2 days ago
    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 developing to meet my needs. I genuinely love how extensible it is.

    I was in the market to see any extensions that help me run Pi, and sure enough there were. One was from Mario himself, the creator of Pi (https://github.com/badlogic/pi-telegram), but it was a bridge instead of being a client itself. I need to start a chat in the TUI and then continue it in telegram. I didn't like that. Most others were same.

    So I built my own!

  • febed 55 minutes ago
    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.
  • jedisct1 25 minutes ago
    I build a Signal client for Swival: https://github.com/swival/nbclaw

    And I use it daily for simple tasks.

  • croes 1 hour ago
    Did you built it or did you tell PI to build it?
  • stackghost 1 hour ago
    NB: "Pi" in this context refers to an agent harness of some sort, and does not refer to the Raspberry Pi.

    I was confused.

  • anoneng 1 hour ago
    Maybe have some context here because Pi is an entire letter of the Greek alphabet and not everyone is going to associate it with some mayfly LLM third-tier coding agent, especially for something this niche and mostly useless.
    • tasuki 1 hour ago
      Pi is not "some mayfly LLM third-tier coding agent" - in the brief research I've done, it's the best positioned to survive: it's small and the creator has shown good taste (something that can't be said about the creators of Claude Code).
    • wulfmann 1 hour ago
      I was hoping id get to talk to 3.14 over telegram
      • stackghost 23 minutes ago
        Technically, any conversation possible exists somewhere in the digits of pi.