{"id":20668601,"url":"https://github.com/alexandresanlim/chat-btc","last_synced_at":"2025-04-19T17:53:51.451Z","repository":{"id":259634172,"uuid":"879080831","full_name":"alexandresanlim/chat-btc","owner":"alexandresanlim","description":"A \"Chat GPT\" for bitcoiners. Development with React Native and Expo","archived":false,"fork":false,"pushed_at":"2024-12-29T22:43:26.000Z","size":2891,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-14T04:25:52.268Z","etag":null,"topics":["bitcoin","btc","chat","chatbot","chatgpt"],"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/alexandresanlim.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":"2024-10-26T23:12:06.000Z","updated_at":"2025-03-07T20:44:08.000Z","dependencies_parsed_at":"2024-10-27T01:31:08.839Z","dependency_job_id":"9390f504-fc0e-4398-83d7-6b3c67eafb2a","html_url":"https://github.com/alexandresanlim/chat-btc","commit_stats":{"total_commits":81,"total_committers":1,"mean_commits":81.0,"dds":0.0,"last_synced_commit":"353e2c1de986e15bcd388703a762225f44566e52"},"previous_names":["alexandresanlim/chat-btc"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexandresanlim%2Fchat-btc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexandresanlim%2Fchat-btc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexandresanlim%2Fchat-btc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexandresanlim%2Fchat-btc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alexandresanlim","download_url":"https://codeload.github.com/alexandresanlim/chat-btc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249753337,"owners_count":21320681,"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","btc","chat","chatbot","chatgpt"],"created_at":"2024-11-16T20:09:57.833Z","updated_at":"2025-04-19T17:53:51.444Z","avatar_url":"https://github.com/alexandresanlim.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align='center'\u003e ChatBTC (Beta) \u003c/h1\u003e\n\u003cp align='center'\u003e A \"ChatGPT\" for bitcoiners \u003c/p\u003e\n\n\u003cp align='center'\u003e \n  \u003cimg width='200' src='https://github.com/alexandresanlim/chat-btc/blob/master/assets/images/logo/orange.png?raw=true' /\u003e\n \u003c/p\u003e\n \n \u003cp align='center'\u003e \n  \u003ca href='https://play.google.com/store/apps/details?id=io.github.aichatbtc'\u003e\u003cimg src=\"https://img.shields.io/badge/Google_Play-414141?style=for-the-badge\u0026logo=google-play\u0026logoColor=white\" /\u003e\u003c/a\u003e\n  \u003c!--\u003ca href='https://install.appcenter.ms/users/alexandre.sanlim/apps/pix-off/distribution_groups/public'\u003e\u003cimg src=\"https://img.shields.io/badge/Android_Apk-3DDC84?style=for-the-badge\u0026logo=android\u0026logoColor=white\" /\u003e\u003c/a\u003e--\u003e\n\u003c/p\u003e\n    \n\u003cp align='center'\u003e\n  \u003cimg width=\"250\" src=\"https://github.com/alexandresanlim/chat-btc/blob/master/assets/images/store/google-play/1.png?raw=true\"/\u003e \u003cimg width=\"250\" src=\"https://github.com/alexandresanlim/chat-btc/blob/master/assets/images/store/google-play/2.png?raw=true\"/\u003e  \u003cimg width=\"250\" src=\"https://github.com/alexandresanlim/chat-btc/blob/master/assets/images/store/google-play/3.png?raw=true\"/\u003e \n \u003c/p\u003e\n  \n# Menu\n\n- [Contribute](#contribute)\n  - [🤖 Bots](#-bots)\n  - [Prompts](#prompts)\n    - [Create](#prompts)\n    - [Create with parameter](#create-with-parameter-)\n    - [Get data](#get-data-)\n    - [Format data](#format-data-)\n    - [Set on quich type or auto complete](#set-on-quick-type-or-auto-complete-)\n    - [PR sample](https://github.com/alexandresanlim/chat-btc/pull/2)\n   \n- [ToDo](#todo-)\n\n\n# Contribute\n## 🤖 Bots\n\u003cp\u003e\n  You can see all it \u003ca href='https://github.com/alexandresanlim/chat-btc/tree/master/services/bots'\u003ehere\u003c/a\u003e\n\u003c/p\u003e\n\nTo create new one, follow this template:\n```json\n{\n  \"id\": \"mempool\",\n  \"name\": \"Mempool\",\n  \"avatar\": \"https://freeter.io/web-apps/bitcoin/mempool-space/mempool-space.png\"\n}\n```\nand put on [services/bots](https://github.com/alexandresanlim/chat-btc/tree/master/services/bots) path\n\n## Prompts [🔝](#menu)\n\n### Create [🔝](#menu)\nTo create new one, follow this template:\n```json\n{\n  \"url\": \"https://mempool.space/api/v1/difficulty-adjustment\",\n  \"botId\": \"mempool\",\n  \"answer\": {\n    \"success\": \"Follow Bitcoin difficulty adjustment information:\\n\\n• Progress percent: [progressPercent:percent]\\n• Difficulty change: [difficultyChange:decimal]\\n• Estimated retarget date: [estimatedRetargetDate:date]\\n• Remaining blocks: [remainingBlocks]\\n• Remaining time: [remainingTime:time]\\n• Previous retarget: [previousRetarget:decimal]\\n• Previous time: [previousTime:time]\\n• NextRetarget height: [nextRetargetHeight]\\n• Time avg: [timeAvg:time]\\n• Adjusted time avg: [adjustedTimeAvg:time]\\n• Expected blocks: [expectedBlocks:decimal]\",\n    \"error\": \"😞 No one Bitcoin adjustment was found, please try again\"\n  }\n}\n```\nand put on [services/prompts](https://github.com/alexandresanlim/chat-btc/tree/master/services/prompts) path\n\n⚠️ \u003cb\u003eThe file name should match the prompt entered by the user to invoke this prompt.\u003c/b\u003e\n\n### Create with parameter [🔝](#menu)\n\nWhen the URL requires a parameter, as in the example below, you can use `{0}` in the URL and define a default parameter as `\"default\": \"Bitcoin\"`. This represents the secondary term entered by the user.\n\n```json\n{\n  \"url\": \"https://api.coincap.io/v2/assets/{0}\",\n  \"botId\": \"coincap\",\n  \"parameters\": {\n    \"default\": \"Bitcoin\"\n  },\n  \"answer\": {\n    \"success\": \"The current price of [data.name] ([data.symbol]) is [data.priceUsd:currency], over the past 24 hours, it has changed by [data.changePercent24Hr:percent]\",\n    \"error\": \"😞 No one Bitcoin price was found, please try again\"\n  }\n}\n```\n### Get data [🔝](#menu)\nIt is represented within `[]` brackets, indicating the path to retrieve data from the API response.\n\n### Format data [🔝](#menu)\nYou can format data using `[pathData:{format}]`. Supported formats include:\nPercent: `[pathData:percent]`\u003c/br\u003e\nDecimal: `[pathData:decimal]`\u003c/br\u003e\nDate: `[pathData:date]`\u003c/br\u003e\nTime: `[pathData:time]`\u003c/br\u003e\nCurrency: `[pathData:currency]`\u003c/br\u003e\n\n### Set on quick type or auto complete [🔝](#menu)\n\nTo set this up, follow this template:\n\n```json\n{\n    \"title\": \"Price\",\n    \"value\": \"Price\",\n    \"autoComplete\": [\"Bitcoin\", \"Ethereum\", \"Solana\"]\n},\n```\nand set on this [file](https://github.com/alexandresanlim/chat-btc/blob/master/services/prompts/list/us.json).\n\n- auto complete is optional\n\n## ToDo [🔝](#menu)\n\n- [ ] Create unit test\n- [ ] Option to create and manager Bitcoin wallets\n- [ ] P2P community\n- [ ] Option to set real IA as ChatGPT\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexandresanlim%2Fchat-btc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexandresanlim%2Fchat-btc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexandresanlim%2Fchat-btc/lists"}