Skip to content

Send to Telegraph

errorfg edited this page Oct 17, 2026 · 1 revision

English | 中文

Send to Telegraph

The Telegraph button on the details page sends the gallery's link to an eh2telegraph service you host, which turns it into a Telegraph page and tells you the result on Telegram.

The button is on the details pages of E-Hentai, ExHentai, nhentai, wnacg and JM. wnacg sends the photos-index-aid link on the current domain and JM the chapter link; these two need eh2telegraph's archive mode.

The interface the service must offer

The app talks to the service over HTTP. Upstream eh2telegraph is a Telegram bot only and has no such interface, so it has to be added or taken from a version that has it:

  • GET /health: HTTP 200 while the service is up; no token needed.
  • POST /sync: header Authorization: Bearer <token>, body {"url": "<gallery link>"}; when accepted, HTTP 202 with {"accepted": true, "url": "<normalized link>"}; otherwise an error status, optionally with {"error": "<reason>"}.

Settings

Setting → Advanced → Telegraph bot (eh2telegraph):

Setting What goes there
Server address e.g. https://eh2telegraph.example.com. Without a scheme, http:// is added; a trailing / is removed.
Access token The token the service expects; hidden while typing.

With both filled in, Test connection requests /health and shows "Server reachable" or "Server unreachable". /health does not check the token, so a wrong token only shows when sending.

The address and token are cloud-synced (sync type "Telegraph bot").

Using it

  • The button is grey until the service is set up; long-pressing it opens the settings above.
  • On success: "Sent to the Telegraph bot; the result will arrive on Telegram", followed by the link the service accepted.
  • On failure: "Failed to send to the Telegraph bot", followed by the service's reason, the HTTP status or the network error.

Clone this wiki locally