{"id":50732464,"url":"https://github.com/programveins/menugram","last_synced_at":"2026-06-10T10:01:47.209Z","repository":{"id":346430797,"uuid":"1189934854","full_name":"programVeins/menugram","owner":"programVeins","description":"A telegram macOS menu app","archived":false,"fork":false,"pushed_at":"2026-04-10T09:39:07.000Z","size":807,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-10T11:29:26.085Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/programVeins.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-23T20:11:02.000Z","updated_at":"2026-04-10T09:39:11.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/programVeins/menugram","commit_stats":null,"previous_names":["programveins/menugram"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/programVeins/menugram","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/programVeins%2Fmenugram","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/programVeins%2Fmenugram/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/programVeins%2Fmenugram/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/programVeins%2Fmenugram/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/programVeins","download_url":"https://codeload.github.com/programVeins/menugram/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/programVeins%2Fmenugram/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34146870,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-10T02:00:07.152Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-06-10T10:01:45.266Z","updated_at":"2026-06-10T10:01:47.196Z","avatar_url":"https://github.com/programVeins.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MenuGram\n\nA lightweight macOS menu bar app for quick Telegram messaging — built for fast back-and-forth with AI agents like [OpenClaw](https://github.com/ArcadeLabsInc/openclaw), [PicoClaw](https://github.com/ArcadeLabsInc/picoclaw), and similar bots.\n\nLives in your menu bar, opens with a click, and gets out of your way.\n\n## Features\n\n- Menu bar app — no dock icon, always one click away\n- Text and voice message support (record \u0026 send voice notes)\n- Voice note playback with waveform visualization\n- Live typing/recording indicators\n- Auto-connects to your configured bot on launch\n\n## Prerequisites\n\n- macOS 15.0+\n- Xcode 26+\n- A Telegram account\n- A Telegram API ID \u0026 Hash (free, from [my.telegram.org](https://my.telegram.org))\n- A Telegram bot you want to chat with\n\n## Setup\n\n### 1. Get Telegram API Credentials\n\n1. Go to [my.telegram.org](https://my.telegram.org) and log in\n2. Click **API development tools**\n3. Create a new application (any name/platform)\n4. Note your **api_id** and **api_hash**\n\n### 2. Configure Environment Variables in Xcode Scheme\n\n1. Open `MenuGram.xcodeproj` in Xcode\n2. Go to **Product \u003e Scheme \u003e Edit Scheme…** (or `Cmd+\u003c`)\n3. Select **Run** in the sidebar, then the **Arguments** tab\n4. Under **Environment Variables**, add the following:\n\n| Variable | Value | Description |\n|----------|-------|-------------|\n| `TELEGRAM_API_ID` | `12345678` | Your API ID from step 1 |\n| `TELEGRAM_API_HASH` | `your_api_hash_here` | Your API hash from step 1 |\n| `BOT_NAME` | `YourBotName` | Display name of the bot/contact to auto-open on launch |\n\n`BOT_NAME` is the display name of the Telegram bot/contact you want MenuGram to auto-open on launch. For example, if your bot is called \"PicoClaw\", set `BOT_NAME=PicoClaw`.\n\n### 3. Build \u0026 Run\n\n1. Wait for Swift Package Manager to resolve dependencies (TDLibKit)\n2. In Signing \u0026 Capabilities, enable **Audio Input** under App Sandbox\n3. Build and run (`Cmd+R`)\n4. Sign in with your phone number when prompted\n\n## How It Works\n\nMenuGram uses [TDLib](https://github.com/tdlib/td) (via [TDLibKit](https://github.com/Swiftgram/TDLibKit)) as the Telegram client library. It authenticates as a full Telegram user (not a bot), so you can send and receive messages just like the official app.\n\nOn launch, it searches your chat list for the bot name specified in `BOT_NAME` and opens that conversation automatically. You can send text or voice messages, and see real-time typing indicators from the other side.\n\n## Project Structure\n\n```\nMenuGram/\n├── Constants.swift              # App config, reads env vars from scheme\n├── Models/\n│   ├── ChatItem.swift           # Chat list model\n│   └── MessageItem.swift        # Message model\n├── Services/\n│   ├── TelegramService.swift    # TDLib client wrapper\n│   └── OGGOpusConverter.swift   # OGG Opus to WAV conversion\n└── Views/\n    ├── RootView.swift           # Top-level navigation\n    ├── Auth/                    # Login flow (phone, code, password)\n    └── Chat/\n        ├── ChatDetailView.swift     # Message list + header\n        ├── MessageBubbleView.swift  # Individual message bubbles\n        ├── MessageInputView.swift   # Text + voice input\n        └── VoiceNoteView.swift      # Voice message playback\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprogramveins%2Fmenugram","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprogramveins%2Fmenugram","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprogramveins%2Fmenugram/lists"}