{"id":13522986,"url":"https://github.com/daskol/typst-telegram-bot","last_synced_at":"2025-10-28T04:31:55.423Z","repository":{"id":211665389,"uuid":"623711084","full_name":"daskol/typst-telegram-bot","owner":"daskol","description":"Render math expression with typst markup language in Telegram","archived":false,"fork":false,"pushed_at":"2024-06-13T09:56:48.000Z","size":37,"stargazers_count":6,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-01T11:25:13.207Z","etag":null,"topics":["telegram-bot","typst","typst-bot","typst-telegram-bot"],"latest_commit_sha":null,"homepage":"https://t.me/TypstBot","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/daskol.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-04-04T23:30:23.000Z","updated_at":"2024-09-28T04:55:57.000Z","dependencies_parsed_at":"2023-12-17T12:27:14.348Z","dependency_job_id":"83c4c11b-580e-45d2-93aa-587247eefbf0","html_url":"https://github.com/daskol/typst-telegram-bot","commit_stats":null,"previous_names":["daskol/typst-telegram-bot"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daskol%2Ftypst-telegram-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daskol%2Ftypst-telegram-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daskol%2Ftypst-telegram-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daskol%2Ftypst-telegram-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/daskol","download_url":"https://codeload.github.com/daskol/typst-telegram-bot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238597386,"owners_count":19498396,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["telegram-bot","typst","typst-bot","typst-telegram-bot"],"created_at":"2024-08-01T06:00:54.352Z","updated_at":"2025-10-28T04:31:55.016Z","avatar_url":"https://github.com/daskol.png","language":"Python","funding_links":[],"categories":["Integrations \u0026 Tools"],"sub_categories":["Typst As A Service"],"readme":"# Typst Telegram Bot\n\n*Render math expression with typst markup language in Telegram*\n\n## Overview\n\nTry [@TypstBot][1] in Telegram or deploy as follows. First, run simple HTTP API\nto `typst`. It uses `typst` for rendering `*.typ` to `*.png`.\n\n```shell\ntypst-telegram serve api \\\n    --root-dir data \\\n    --endpoint http://localhost:8080 \\\n    --interface 127.0.0.1\n```\n\nFinally, one can run Telegram bot itself as follows with environemnt variable\n`TELEGRAM_BOT_TOKEN` set.\n\n```shell\ntypst-telegram serve bot --endpoint http://localhost:8080\n```\n\n[1]: https://t.me/TypstBot\n\n## Deployment\n\nCurrently, deployment is based on Compose plugin but deployment requires some\npreparation. We need to create directory `data` and properly assign ownership.\n\n```shell\nmkdir data\nchown -R nobody:nobody data\n```\n\nFinally, one can run services as follows.\n\n```shell\ndocker compose up -d\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaskol%2Ftypst-telegram-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdaskol%2Ftypst-telegram-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaskol%2Ftypst-telegram-bot/lists"}