{"id":20312865,"url":"https://github.com/ashurai/bitupdater","last_synced_at":"2025-10-19T20:57:17.013Z","repository":{"id":185384472,"uuid":"250861315","full_name":"ashurai/BitUpdater","owner":"ashurai","description":"A go lang demo app for bit coin real time value updater, no database in use, only local storage in use","archived":false,"fork":false,"pushed_at":"2020-03-28T18:58:07.000Z","size":4105,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-08-01T20:11:29.673Z","etag":null,"topics":["bitcoin-realtime-updater","go","golang","rest-api"],"latest_commit_sha":null,"homepage":null,"language":"Go","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/ashurai.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}},"created_at":"2020-03-28T18:03:45.000Z","updated_at":"2023-08-01T20:11:31.232Z","dependencies_parsed_at":null,"dependency_job_id":"59738227-3153-462d-a4b2-3e066e607e87","html_url":"https://github.com/ashurai/BitUpdater","commit_stats":null,"previous_names":["ashurai/bitupdater"],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashurai%2FBitUpdater","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashurai%2FBitUpdater/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashurai%2FBitUpdater/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashurai%2FBitUpdater/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ashurai","download_url":"https://codeload.github.com/ashurai/BitUpdater/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241811932,"owners_count":20024282,"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-realtime-updater","go","golang","rest-api"],"created_at":"2024-11-14T18:07:49.903Z","updated_at":"2025-10-19T20:57:16.919Z","avatar_url":"https://github.com/ashurai.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BitUpdater\nA go lang demo app for bit coin real time value updater, no database in use, only local storage in use\n\n#### Just hit command \n```\ngo run main.go\n```\nOR download the exe for windows\n```\n./BitUpdater.exe\n```\nor on other machines download the codebase and run go build in project root to get the signle executable file\n```\ngo build\n```\nOnly one external package is in use to handle routing and parsing easily path params, with net/http also we can achieve this,\nbut retrieving value from request will add some more steps so i tried to use gorilla mux package, so that code will look bit more cleaner.\n```\ngithub.com/gorilla/mux\n```\n\nThere are more ways which can improve the performance, gorutines are in use to handle future problems faster as well, \nfor ex: if we have 15 or 100 or more than that type or symbols we can easily handle with high scalability.\n\nIn main.go file use ```PreSymbolsList``` global variable to add more symbols, if you will not add a valid symbol\nit will handle it and will not give the response for those configured symbols. \nMight be with channels you can face some challenges but yes they are more improvable. \nI am trying to add things what we can do/implement with golang features\n\n#### EndPoints which we can use / acess to get single currency update\n##### localhost:8099/currency/{symbol(ex:BTCUSD)}\n\n#### EndPoints which we can use / acess to get all configured currency update\n##### localhost:8099/currency/all\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashurai%2Fbitupdater","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fashurai%2Fbitupdater","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashurai%2Fbitupdater/lists"}