Telegram · from Junie

Post to a Telegram channel from a Junie CI run.

Junie CLI can run without its interface in a pipeline. Whether a post can follow it there depends on a trust flag and a sign-in the docs do not cover.

A project’s Telegram channel usually gets the release notes in a friendlier voice, and Junie can write that version from the changelog and send it through 1Social’s bot, which you made an admin of the channel when you connected it. There is no bot token anywhere in your project. Screenshots can go along as an album of up to 10, and a long text with pictures arrives as the album followed by the full text, since a caption under media has less room than a message.

Junie CLI also runs headless, for CI and build pipelines: an auth token generated in your Junie account is passed with --auth, and the prompt follows as an argument. That makes a post at the end of a release job thinkable. Junie’s documentation does not describe how tool approval or a remote server’s browser sign-in behave in that mode, and it documents no scheduler of its own, so treat this as something to test on your own runner before a release depends on it.

Asking Junie for a Telegram post

The Telegram ceilings in this exchange come from the same table the publisher enforces — the conversation is drawn, the numbers are not.

Junie20:03

Set me up — what do you need?

Just the accounts. Connect them in the browser once and I can publish from here after that.

Done, connected

I will tell you before publishing if a network cannot take what you wrote.

Good. Drafting the launch note now

Send it over and I will check it before anything goes out.

write a friendly version of the release notes for our telegram channel and post it with the two screenshots from docs/img as an album

junie --auth · --trust-project

1S

Uploaded both screenshots and previewed the channel post:

Telegram caption4,096fits
Image or videooptional here
Reply chainsjoined into one post
Attachments allowed10per post

The notes are longer than a caption allows, so they follow the album as their own message. Published to the channel.

Message Junie… ↑

What Telegram allows

Read from the same table the publisher enforces, so this cannot drift from what actually happens when you press send.

Caption limit
4,096 characters
Post with no image or video
Fine
Reply chains
No — the parts are joined into one post
Images or video per post
10
Image formats
Anything we accept for upload

Junie, on the other networks

Telegram, from the other agents

Publishing to Telegram from Junie

Trust the project, or lose the config

Without --trust-project, a headless Junie isolates the project’s .junie folder, so a 1Social entry in .junie/mcp/mcp.json is not loaded on the runner.

Bots cannot schedule; the queue can

Telegram gives bots no scheduling, so a post meant for later is held in the 1Social queue and sent at that minute, with no CI job left running.

No bot token to leak

The channel is connected through our bot inside Telegram, so there is no token for a pipeline secret, an env file or a build log to expose.

Prove it on your runner

Junie’s docs do not say how OAuth for remote servers works on a machine with no browser, so a headless post should be tried on your runner before a release relies on it.

How it works

1

Connect once

~2 min

Link the accounts you use in a browser. OAuth, no passwords typed into a chat, no API keys to paste anywhere.

ChatGPT

Claude

Cursor

2

Ask, in your own words

one sentence

Tell Junie to publish to Telegram, now or on a day you name. No dashboard, no tab switch.

3

Read the receipt

per network

One line per network — what landed, what failed and why, and what genuinely could not be determined.

A trusted project, or no project config

Junie’s headless mode is meant for CI: an auth token passed with --auth and the prompt as an argument. Without a valid trust marker, though, Junie isolates the project’s .junie folder in a temporary directory and prints a notice to stderr, and its documentation says plainly that an environment with CI set to true is not trusted automatically. A 1Social entry kept in .junie/mcp/mcp.json therefore does not load on a runner unless the job passes --trust-project, which trusts the project for that one process and writes nothing to disk. Even then, how the browser sign-in carries over to a headless machine is not documented, so test the job before a release counts on it.

A rule of Telegram from Junie, not ours and not the network’s. From documentation, checked 2026-11-23.

When this is the wrong tool

If you want the channel to get a post every week at a set time with no release behind it, Junie is a roundabout way there: it documents no scheduler, and a CI job built only to post is more machinery than asking once and queueing several posts ahead. And this posts to channels, not to groups or as your personal account.

Questions people actually ask

Why does headless Junie not see the 1Social server in CI?

Most likely the project is not trusted. Without a trust marker, Junie isolates the project’s .junie folder, MCP config included. Pass --trust-project, or set JUNIE_TRUST_PROJECT to true, so the job trusts the project for that run only.

Can a Junie CI job sign in to 1Social without a browser?

Junie’s documentation does not say. Remote servers are authorized through a browser page, and nothing describes that step on a headless runner. Try it on your own runner first, and keep a fallback such as asking Junie interactively and queueing the post.

Do I need my own Telegram bot to post from Junie?

No. The channel is connected through 1Social’s bot, which Telegram made an admin of the channel when you chose it. Junie only calls the 1Social tools, so no bot token is ever in your project or your pipeline.

Something else? Ask us — a person answers.

Read next

Start where you already work.

Connect an account and post your first update in about two minutes. Every plan starts with a free trial.

Posts go out through each network’s official API — not scraping.