{"id":32181030,"url":"https://github.com/evilsneer/cljs-tg-login-btn","last_synced_at":"2026-07-18T07:41:20.726Z","repository":{"id":57713493,"uuid":"170681429","full_name":"evilsneer/cljs-tg-login-btn","owner":"evilsneer","description":"Telegram login button for ClojureScript Reagent users","archived":false,"fork":false,"pushed_at":"2019-02-19T14:23:43.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-26T11:57:47.103Z","etag":null,"topics":["cljs","clojurescript","clojurescript-library","reagent","reagent-components","telegram","telegram-login"],"latest_commit_sha":null,"homepage":"","language":"Clojure","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"epl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/evilsneer.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}},"created_at":"2019-02-14T11:32:36.000Z","updated_at":"2020-12-01T17:48:33.000Z","dependencies_parsed_at":"2022-09-26T16:40:15.838Z","dependency_job_id":null,"html_url":"https://github.com/evilsneer/cljs-tg-login-btn","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/evilsneer/cljs-tg-login-btn","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evilsneer%2Fcljs-tg-login-btn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evilsneer%2Fcljs-tg-login-btn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evilsneer%2Fcljs-tg-login-btn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evilsneer%2Fcljs-tg-login-btn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/evilsneer","download_url":"https://codeload.github.com/evilsneer/cljs-tg-login-btn/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evilsneer%2Fcljs-tg-login-btn/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35610620,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-18T02:00:07.223Z","response_time":61,"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":["cljs","clojurescript","clojurescript-library","reagent","reagent-components","telegram","telegram-login"],"created_at":"2025-10-21T22:03:33.878Z","updated_at":"2026-07-18T07:41:20.721Z","avatar_url":"https://github.com/evilsneer.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cljs-tg-login-btn\n\n[![Clojars Project](https://img.shields.io/clojars/v/cljs-tg-login-btn.svg)](https://clojars.org/cljs-tg-login-btn)\n\nA Clojure library designed to provide Telegram login button for ClojureScript Reagent users\n\n## Usage\n\n```clojure\n(ns app.core\n  (:require [cljs-tg-login-btn.core :refer [telegram-btn]]))\n\n; callback function \n;; login is written somewhere else\n(defn ^:export onTelegramAuth [user]\n  (let [username (.-username user)\n        id (.-id user)]\n    (login username)))\n    \n; tg-login-avalible turns true when telegram button will be successfully loaded\n(defn page []\n  (let [tg-login-avalible (atom false)]\n    (fn []\n      [:div.bs-component\n       [:div {:hidden (not @tg-login-avalible)}\n         [telegram-btn tg-login-avalible \"app.core.onTelegramAuth\"]]])))\n         \n;and blabla reagent render stuff\n```\n\n## License\n\nCopyright © 2019 Vladislav Shishkov\n\nThis program and the accompanying materials are made available under the\nterms of the Eclipse Public License 2.0 which is available at\nhttp://www.eclipse.org/legal/epl-2.0.\n\nThis Source Code may also be made available under the following Secondary\nLicenses when the conditions for such availability set forth in the Eclipse\nPublic License, v. 2.0 are satisfied: GNU General Public License as published by\nthe Free Software Foundation, either version 2 of the License, or (at your\noption) any later version, with the GNU Classpath Exception which is available\nat https://www.gnu.org/software/classpath/license.html.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevilsneer%2Fcljs-tg-login-btn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fevilsneer%2Fcljs-tg-login-btn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevilsneer%2Fcljs-tg-login-btn/lists"}