{"id":16165200,"url":"https://github.com/rapax00/bitcoin-ticker-ws-server","last_synced_at":"2026-04-13T21:01:40.190Z","repository":{"id":242805058,"uuid":"775277507","full_name":"rapax00/bitcoin-ticker-ws-server","owner":"rapax00","description":"A simple WebSocket server to help esp32 projects.","archived":false,"fork":false,"pushed_at":"2024-06-22T23:49:24.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-13T09:23:15.724Z","etag":null,"topics":["arduino","bitcoin","esp32","websocket"],"latest_commit_sha":null,"homepage":"https://bitcoin-ticker-ws-server.vercel.app","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rapax00.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-03-21T04:42:42.000Z","updated_at":"2024-06-22T23:51:01.000Z","dependencies_parsed_at":"2024-06-05T04:43:41.799Z","dependency_job_id":"cca39f87-0462-483a-a526-b9fcb2fa9492","html_url":"https://github.com/rapax00/bitcoin-ticker-ws-server","commit_stats":null,"previous_names":["rapax00/bitcoin-ticker-ws-server"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rapax00%2Fbitcoin-ticker-ws-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rapax00%2Fbitcoin-ticker-ws-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rapax00%2Fbitcoin-ticker-ws-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rapax00%2Fbitcoin-ticker-ws-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rapax00","download_url":"https://codeload.github.com/rapax00/bitcoin-ticker-ws-server/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247595382,"owners_count":20963943,"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":["arduino","bitcoin","esp32","websocket"],"created_at":"2024-10-10T02:49:27.863Z","updated_at":"2026-04-13T21:01:35.170Z","avatar_url":"https://github.com/rapax00.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple WebSocket Server\n\nA simple WebSocket server that sends Bitcoin data to the client every 5 seconds.\n\n## Features\n\nGet from [coibase.com](https://docs.cdp.coinbase.com/prime/docs/websocket-feed/):\n\n\u003e API WebSocket connection.\n\n-   Bitcoin Price\n\nGet from [mempool.space](https://mempool.space/docs/api/rest):\n\n\u003e API REST connection.\n\n-   Last block hegith\n-   Medium fee\n\n## Setup\n\n1. Use the Node.js version specified in the `.nvmrc` file. (Install it if you don't have it installed yet.)\n\n    ```bash\n    nvm use\n    ```\n\n2. Install the dependencies.\n\n    ```bash\n    pnpm install\n    ```\n\n3. Run the server.\n\n    ```bash\n     pnpm dev\n    ```\n\n## Conection\n\nFrom your client, connect to the WebSocket server and send a message to subscribe it.\n\nSubscribing message:\n\n```json\n{ \"action\": \"want\" }\n```\n\nResponses:\n\n-   Successfull message:\n\n    ```\n    Subscribte to the WebSocket server!\n    ```\n\n-   Data every 5 seconds:\n\n    ```json\n    {\n    \t\"lastBlock\": \u003cstring\u003e,\n    \t\"price\": \u003cstring\u003e,\n    \t\"mediumFee\": \u003cstring\u003e\n    }\n    ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frapax00%2Fbitcoin-ticker-ws-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frapax00%2Fbitcoin-ticker-ws-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frapax00%2Fbitcoin-ticker-ws-server/lists"}