{"id":22870563,"url":"https://github.com/layerex/telegram-desktop-patches","last_synced_at":"2025-09-03T02:06:16.781Z","repository":{"id":184034662,"uuid":"622243522","full_name":"Layerex/telegram-desktop-patches","owner":"Layerex","description":"Patches disabling some anti-features of Telegram Desktop: sponsored messages, saving restrictions and other.","archived":false,"fork":false,"pushed_at":"2025-01-10T21:01:30.000Z","size":88,"stargazers_count":58,"open_issues_count":3,"forks_count":16,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-03T02:03:26.151Z","etag":null,"topics":["tdesktop","telegram-desktop"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Layerex.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,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-04-01T14:44:16.000Z","updated_at":"2025-08-29T19:32:53.000Z","dependencies_parsed_at":"2024-06-02T15:28:10.424Z","dependency_job_id":"b435454b-6272-4072-af41-3e786c99488b","html_url":"https://github.com/Layerex/telegram-desktop-patches","commit_stats":null,"previous_names":["layerex/telegram-desktop-patches"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/Layerex/telegram-desktop-patches","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Layerex%2Ftelegram-desktop-patches","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Layerex%2Ftelegram-desktop-patches/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Layerex%2Ftelegram-desktop-patches/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Layerex%2Ftelegram-desktop-patches/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Layerex","download_url":"https://codeload.github.com/Layerex/telegram-desktop-patches/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Layerex%2Ftelegram-desktop-patches/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273377153,"owners_count":25094528,"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","status":"online","status_checked_at":"2025-09-03T02:00:09.631Z","response_time":76,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["tdesktop","telegram-desktop"],"created_at":"2024-12-13T13:14:59.893Z","updated_at":"2025-09-03T02:06:16.734Z","avatar_url":"https://github.com/Layerex.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# telegram-desktop-patches\n\nPatches disabling some anti-features of [Telegram Desktop](https://desktop.telegram.org/).\n\n## Installation\n\nBuilding requires ⪝48 GB of RAM. Use zram, if you are lacking.\n\n### Arch Linux\n\n```sh\nmakepkg -si\n```\n\nOr if you want to regenerate `PKGBUILD` for current patches in the directory (don't use spaces in patch filenames):\n\n``` sh\nmake\n```\n\nYou may also install a prebuilt package published in releases.\n\n### Nix\n\nMay be unmaintained.\n\n- [Overrides](https://github.com/Layerex/telegram-desktop-patches/issues/4#issue-2124576494)\n- [Flake](https://github.com/shwewo/telegram-desktop-patched)\n\n**TODO:** generate overrides and flake automatically.\n\n### Other systems\n\nDownload source code of Telegram Desktop and run commands from `prepare()`, `build()` and `package()` in `PKGBUILD` manually.\n\n## Patches\n\n### 0001-Disable-sponsored-messages.patch\n\n### 0002-Disable-saving-restrictions.patch\n\nEnables saving media, selecting and copying messages in channels, which disallow doing so.\n\n### 0003-Disable-invite-peeking-restrictions.patch\n\nDisables restrictions for viewing and exporting private chats and channels you didn't join but are able to view.\n\n### 0004-Disable-accounts-limit.patch\n\n### 0005-Option-to-disable-stories.patch\n\nToggle is in experimental settings.\n\n## Contributing\n\nFeel free to contibute patches and means of packaging and installation.\n\n## Updating\n\nIf you want to update `PKGBUILD`, make changes in `PKGBUILD.m4` instead and generate `PKGBUILD` with `make`.\n\nSee `PKGBUILD.m4` for update instructions.\n\n## See also\n\n[Killergram](https://github.com/shatyuka/Killergram) - Xposed module featuring some patches with similar functionality for Telegram for Android.\n\n## Credits\n\n[telegram-desktop-no-ads-pkgbuild](https://github.com/vehlwn/telegram-desktop-no-ads-pkgbuild)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flayerex%2Ftelegram-desktop-patches","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flayerex%2Ftelegram-desktop-patches","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flayerex%2Ftelegram-desktop-patches/lists"}