{"id":16866095,"url":"https://github.com/hjr265/tonesa","last_synced_at":"2025-03-22T07:30:35.916Z","repository":{"id":68294012,"uuid":"46419922","full_name":"hjr265/tonesa","owner":"hjr265","description":"Sample app for Toptal article","archived":false,"fork":false,"pushed_at":"2015-11-18T13:19:45.000Z","size":14,"stargazers_count":55,"open_issues_count":0,"forks_count":16,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-18T09:05:50.260Z","etag":null,"topics":["demo","go","mongodb","real-time","redis"],"latest_commit_sha":null,"homepage":"http://www.toptal.com/go/going-real-time-with-redis-pubsub","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/hjr265.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}},"created_at":"2015-11-18T13:19:03.000Z","updated_at":"2024-05-24T07:02:32.000Z","dependencies_parsed_at":"2023-03-11T03:24:30.790Z","dependency_job_id":null,"html_url":"https://github.com/hjr265/tonesa","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hjr265%2Ftonesa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hjr265%2Ftonesa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hjr265%2Ftonesa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hjr265%2Ftonesa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hjr265","download_url":"https://codeload.github.com/hjr265/tonesa/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244924813,"owners_count":20532872,"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":["demo","go","mongodb","real-time","redis"],"created_at":"2024-10-13T14:49:27.241Z","updated_at":"2025-03-22T07:30:35.403Z","avatar_url":"https://github.com/hjr265.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TONESA\n\nThis sample app is published as part of the blog article at [www.toptal.com/blog](http://www.toptal.com/blog).\n\n## Trying It Out\n\nClone the repository into a Go environment:\n\n~~~\n$ mkdir tonesa\n$ cd tonesa\n$ export GOPATH=`pwd`\n$ mkdir -p src/github.com/hjr265/tonesa\n$ cd src/github.com/hjr265/tonesa\n$ git clone https://github.com/hjr265/tonesa.git .\n$ go get ./...\n~~~\n\nCompile tonesad:\n\n~~~\n$ go build ./cmd/tonesad\n~~~\n\nCreate .env file:\n\n~~~\n$ cp env-sample.txt .env\n$ nano .env\n~~~\n\n~~~\nMONGO_URL=mongodb://127.0.0.1/tonesa\nREDIS_URL=redis://127.0.0.1\nAWS_ACCESS_KEY_ID={Your-AWS-Access-Key-ID-Goes-Here}\nAWS_SECRET_ACCESS_KEY={And-Your-AWS-Secret-Access-Key}\nS3_BUCKET_NAME={And-S3-Bucket-Name}\n~~~\n\nFinally run it:\n\n~~~\n$ PORT=9091 ./tonesad -env-file=.env\n~~~\n\n## License\n\nNode WHOIS is available under the [BSD (2-Clause) License](http://opensource.org/licenses/BSD-2-Clause).\n\n## What's up with this name?\n\nBelieve me, I would have given this a better name if I could. I was just **t**ired **o**f **n**aming **e**very **s**ingle **a**pp.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhjr265%2Ftonesa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhjr265%2Ftonesa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhjr265%2Ftonesa/lists"}