github.com/dcdunkan/telegraph ↗
Telegra.ph API wrapper for JavaScript
An animated visualization of dcdunkan/telegraph's Git history from January 2022 to July 2022, built by 2 contributors. The codebase reached 22 lines, mostly TypeScript. The video runs 12 seconds.
Render your own repo
Turn any GitHub repository into a video like this — free sample in seconds.
Open this visualization on its own page →
Language
TypeScript
Contributors
2
Lines of Code
22
From
2022-01-11
To
2022-07-21
Advertisement
About dcdunkan/telegraph
Telegraph is a TypeScript wrapper for the Telegraph API, a minimalist publishing platform by Telegram that lets users create richly formatted articles and share them on the web. The library provides a convenient interface for interacting with Telegraph's core features, making it easier to build applications that programmatically create and manage Telegraph articles.
Beyond basic API access, the library includes several developer-friendly enhancements. It supports parsing HTML and Markdown content directly into Telegraph's native Node format, with Markdown converted through HTML as an intermediate step. The library also wraps an undocumented Telegraph endpoint for uploading media files, allowing images and videos to be uploaded alongside articles. Additionally, it provides helper functions and built-in documentation accessible through editor tooltips.
This package is designed for Deno and JavaScript environments, with the source written in TypeScript. It uses the marked library for Markdown parsing and deno-dom for HTML processing. The project is published on JSR and distributed under the MIT license.
Advertisement