{"id":18566423,"url":"https://github.com/nufeen/tglib-haskell-bindings","last_synced_at":"2025-05-15T19:35:05.285Z","repository":{"id":85746105,"uuid":"164351444","full_name":"Nufeen/tglib-haskell-bindings","owner":"Nufeen","description":null,"archived":false,"fork":false,"pushed_at":"2019-03-10T15:53:45.000Z","size":5,"stargazers_count":1,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-17T13:27:42.724Z","etag":null,"topics":["haskell","haskell-bindings","tglib"],"latest_commit_sha":null,"homepage":null,"language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"wtfpl","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Nufeen.png","metadata":{"files":{"readme":"README.md","changelog":"ChangeLog.md","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}},"created_at":"2019-01-06T22:35:14.000Z","updated_at":"2023-07-30T22:40:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"95c18360-9219-4fee-aca1-4a9b5858603f","html_url":"https://github.com/Nufeen/tglib-haskell-bindings","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/Nufeen%2Ftglib-haskell-bindings","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nufeen%2Ftglib-haskell-bindings/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nufeen%2Ftglib-haskell-bindings/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nufeen%2Ftglib-haskell-bindings/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Nufeen","download_url":"https://codeload.github.com/Nufeen/tglib-haskell-bindings/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254407647,"owners_count":22066296,"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":["haskell","haskell-bindings","tglib"],"created_at":"2024-11-06T22:23:03.757Z","updated_at":"2025-05-15T19:35:05.261Z","avatar_url":"https://github.com/Nufeen.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tglib-haskell-bindings\n\n[Telegram library](https://github.com/tdlib/td#using-json) haskell bindings example. Examples in other languages can be found [here](https://github.com/tdlib/td/tree/master/example)\n\nThis example considers prebuilt dynamic `libtdjson.[so|dylib|dll]` in `lib` folder.\n\n# To execute:\n\n1. [Build tdlib](https://core.telegram.org/tdlib/docs/#building) or get precompiled binaries.\n\n2. `stack ghci --ghci-options -ltdjson`\n\n# To build:\n\n```\nstack build --ghc-options -ltdjson\n```\n\nIn case of Mac OS you may need to specify lib path before execution:\n\n```\nexport DYLD_LIBRARY_PATH=lib\n```\n\n# Notes\n\nThis may be useful: https://github.com/Bannerets/tdlib-binaries\n\nThe copy of build instructions (they are a bit different) can be also found here: https://github.com/tdlib/td#building\n\ntd_json_client.h File Reference: https://core.telegram.org/tdlib/docs/td__json__client_8h.html\n\nCheck this fork, much more complex:  https://github.com/egormkn/tdlib-haskell-bindings\n\n\n### Mac OS OpenSSL issues:\n\nhttps://stackoverflow.com/a/29792635\n\nMacOS uses LibreSSL by default. If you have issues with it you can try switch to openssl like:\n\n```\nexport PATH=\"/usr/local/etc/openssl/bin:$PATH\"\n```\n\nUse `openssl version` to ensure which lib is actually used.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnufeen%2Ftglib-haskell-bindings","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnufeen%2Ftglib-haskell-bindings","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnufeen%2Ftglib-haskell-bindings/lists"}