{"id":13666751,"url":"https://github.com/bitkarrot/laiseebot","last_synced_at":"2025-04-05T09:17:07.698Z","repository":{"id":40460644,"uuid":"420831301","full_name":"bitkarrot/laiseebot","owner":"bitkarrot","description":"Lightning Laisee are little red envelopes on the Lightning Network. Learn more at laisee.org","archived":false,"fork":false,"pushed_at":"2024-04-01T21:25:39.000Z","size":3423,"stargazers_count":8,"open_issues_count":5,"forks_count":5,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-11-11T01:35:17.037Z","etag":null,"topics":["bitcoin","chinese-new-year","cultural","gifts","hong-kong","hongkong","lightning","red-envelope","telegram-bot"],"latest_commit_sha":null,"homepage":"https://laisee.org","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/bitkarrot.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}},"created_at":"2021-10-25T00:38:16.000Z","updated_at":"2024-11-11T01:16:12.000Z","dependencies_parsed_at":"2024-01-14T16:12:51.307Z","dependency_job_id":"98606991-d207-44e7-9a00-85941fc402c2","html_url":"https://github.com/bitkarrot/laiseebot","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitkarrot%2Flaiseebot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitkarrot%2Flaiseebot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitkarrot%2Flaiseebot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitkarrot%2Flaiseebot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bitkarrot","download_url":"https://codeload.github.com/bitkarrot/laiseebot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247312053,"owners_count":20918344,"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":["bitcoin","chinese-new-year","cultural","gifts","hong-kong","hongkong","lightning","red-envelope","telegram-bot"],"created_at":"2024-08-02T06:01:24.597Z","updated_at":"2025-04-05T09:17:07.647Z","avatar_url":"https://github.com/bitkarrot.png","language":"Python","funding_links":[],"categories":["Uncategorized"],"sub_categories":["Uncategorized"],"readme":"# laiseebot\nTelegram Bot for LN Laisees\n\n## **Due to the lack of interest, this project is currently not maintained.**\n\nSample Laisee for CNY generated by the telegram bot. See more information at: https://laisee.org\n\n\u003ctable\u003e\n\u003ctr\u003e\n\u003ctd\u003e\n   \n### 2022 Year of the Tiger\n\n\u003cimg src=\"https://github.com/bitkarrot/laiseebot/assets/73979971/0e359bf8-f7e4-4844-adcc-8a51b2f5f482\" alt=\"2022 Laisee\" width=\"200\"\u003e\n\n\u003c/td\u003e   \n\u003ctd\u003e   \n\n### 2023 Year of the Rabbit\n\n\u003cimg src=\"https://github.com/bitkarrot/laiseebot/assets/73979971/26fd9186-3f65-45de-9163-c107d561ea03\" alt=\"2023 Laisee\" width=\"200\"\u003e\n\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/table\u003e\n\nYou must have rsvg-convert installed \n\n```\nsudo apt install librsvg2-bin\n```\n\nRequires at least python3.8\n\n\n# commands list\n- **/help** - get help commands, and a welcome message on how to use the bot\n- **/start** - automatically creates a wallet on LNBITS with LNURLp extension. \n\u003e * Automatically creates a lnaddress with format of username@laisee.org, based on the telegram username. \n\n## LaiseeBot Functions\n- **/rates** - what daily exchange rate is between sats to hkd and usd\n\n## transactions\n- **/laisee** - /laisee \u003camt\u003e username, Sends a laisee to another, has sub menu pick image/msg. \n   cannot send to user if they don't have a telegram account,\n   notify user their recipient needs to start a conversation in order to receive their gift.    \n- **/send** - /send \u003camt\u003e telegram username\n- **/invoice** - /invoice \u003camt\u003e , generate lightning invoice\n   \n## wallet functionality on lnbits\n- **/balance** - get current wallet balance on lnbits\n- Top Up Wallet\n   \n## create LN address [ on start ]\n   [WARNING: if end user modifies metadata on lnbits or changes TG name, the LN address needs to be updated on github, these two are connected. ]\n\n## lnurlP extension on lnbits\n- see fill command above, metadata for LN address that must be synced between lnbits and github are below:\n    * amount: 100- 100000 sat\n    * on success: display message \n    * dispatches webhook to : \u003c\u003c\u003e\u003e\n\n## lndhub extension\n- **/lndhub** or **/bluewallet** - get LNDHUB invoice url or admin url [admin, invoice sub command] that can be used w/external wallet\n- **/withdraw** - get LNURL Withdraw QR code to drain wallet\n\n========\n\n## Infrastructure List\n\n1) [Infrastructure] pylnbits module - clean up unit tests.\n    * https://github.com/lightningames/pylnbits.git\n\n2) [Infrastructure] Supabase -  \n    * Data: \n      - TG Username\n      - LN Address (username@domain.com)\n      - LNBits url\n      - invoice_key (lnbits, needed for send/receive/lookup functions)\n      - admin_key (lnbits, needed to enable extensions and create lnurlp, used with LN Addresses) \n      - Email Address (tied to auth on supabase, accessible via web interface)\n      - optional avatar (web interface, for future implementation)\n      - optional website. (web interface)  \n\n3) [FrontEnd] Telegram: Stitch above together with Telegram bot menu and methods\n\n4) [Infrastructure] LN Addresses:\n    * LN Address entries by updating git repo: github.com/bitkarrot/laisee-frontpage\n    * deployed site has .well-known enabled\n \n5) [FrontEnd] Web framework: https://laisee.org/\n    * can be easily extended in future to embed lnbits functions\n    * supabase backend\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitkarrot%2Flaiseebot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbitkarrot%2Flaiseebot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitkarrot%2Flaiseebot/lists"}