{"id":14037277,"url":"https://github.com/Moldoteck/Beautifier","last_synced_at":"2025-07-27T05:31:16.824Z","repository":{"id":113592378,"uuid":"364366629","full_name":"Moldoteck/Beautifier","owner":"Moldoteck","description":"Bot that creates clean Telegraph pages from any link","archived":false,"fork":false,"pushed_at":"2022-08-12T09:20:34.000Z","size":174,"stargazers_count":9,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-08-13T03:07:26.540Z","etag":null,"topics":["bot","censorship","censorship-circumvention","censorship-free","censorship-resistance","mozilla","readability","telegram","telegram-bot"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/Moldoteck.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":"Moldoteck"}},"created_at":"2021-05-04T19:37:47.000Z","updated_at":"2024-01-30T21:21:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"fea57621-3dd0-49f4-82f0-687997b06823","html_url":"https://github.com/Moldoteck/Beautifier","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Moldoteck%2FBeautifier","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Moldoteck%2FBeautifier/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Moldoteck%2FBeautifier/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Moldoteck%2FBeautifier/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Moldoteck","download_url":"https://codeload.github.com/Moldoteck/Beautifier/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227762660,"owners_count":17816058,"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":["bot","censorship","censorship-circumvention","censorship-free","censorship-resistance","mozilla","readability","telegram","telegram-bot"],"created_at":"2024-08-12T03:02:38.239Z","updated_at":"2024-12-02T16:32:41.933Z","avatar_url":"https://github.com/Moldoteck.png","language":"TypeScript","funding_links":["https://github.com/sponsors/Moldoteck"],"categories":["TypeScript"],"sub_categories":[],"readme":"\u003ca href='https://t.me/BeautifierSimplifierBot'\u003e@BeautifierSimplifierBot\u003c/a\u003e\n\n# Telegram bot which transforms any link in Instant View\n\nTired of slow web pages full of ads? Wouldn't be better if all links were **Instant View's**?. Well, this \u003cb\u003eBot\u003c/b\u003e can transform almost any link into an Instant View, keeping only meaningful information, **just forward a link to it**. If you add the bot to a group, it will try to transform any encountered link into an Instant View.\nIt uses Mozilla's Readability Tool for extracting web content and https://telegra.ph/ to host that new content.\n\n_Just remember, Readability and Telegraph are not perfect. Readability **can skip some images/videos**. Telegraph **can't handle tables**. For those cases, each Telegraph article have link to original article in order to quickly switch to original web page._\n\nHopefully these drawbacks will be solved in the future by using Chrome's Readability engine and by generating images of tables for telegraph.\n\n\n# Installation and local launch\n\n1. Clone this repo: `git clone https://github.com/Moldoteck/Beautifier`\n2. Launch the [mongo database](https://www.mongodb.com/) locally\n3. Create `.env` with the environment variables listed below\n4. Run `yarn install` in the root folder\n5. Run `yarn develop`\n\nAnd you should be good to go! Feel free to fork and submit pull requests. Thanks!\n\n# Environment variables\n\n- `TOKEN` — Telegram bot token\n- `MONGO`— URL of the mongo database\n- `TELEGRAPH_TOKEN`— Token for creating Telegraph pages. You can get it by calling appropiate API\n\nAlso, please, consider looking at `.env.sample`.\n\n# License\n\nMIT — use for any purpose. Would be great if you could leave a note about the original developers. Thanks!\n\nBased on: https://github.com/backmeupplz/telegraf-template\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMoldoteck%2FBeautifier","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FMoldoteck%2FBeautifier","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMoldoteck%2FBeautifier/lists"}