{"id":19050792,"url":"https://github.com/nicka/coinboss","last_synced_at":"2025-09-03T13:34:07.022Z","repository":{"id":145974624,"uuid":"95754625","full_name":"nicka/coinboss","owner":"nicka","description":"⚡️💸💰 A Serverless Coinbase tradingbot.","archived":false,"fork":false,"pushed_at":"2017-10-22T09:07:51.000Z","size":90,"stargazers_count":115,"open_issues_count":1,"forks_count":28,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-04-24T01:41:45.411Z","etag":null,"topics":["bot","coinbase","cryptocurrency","serverless"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/nicka.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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,"zenodo":null}},"created_at":"2017-06-29T08:14:49.000Z","updated_at":"2024-11-11T17:14:56.000Z","dependencies_parsed_at":"2023-06-29T17:45:49.381Z","dependency_job_id":null,"html_url":"https://github.com/nicka/coinboss","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nicka/coinboss","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicka%2Fcoinboss","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicka%2Fcoinboss/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicka%2Fcoinboss/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicka%2Fcoinboss/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nicka","download_url":"https://codeload.github.com/nicka/coinboss/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicka%2Fcoinboss/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273452933,"owners_count":25108469,"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","status":"online","status_checked_at":"2025-09-03T02:00:09.631Z","response_time":76,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["bot","coinbase","cryptocurrency","serverless"],"created_at":"2024-11-08T23:16:17.636Z","updated_at":"2025-09-03T13:34:06.994Z","avatar_url":"https://github.com/nicka.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![serverless](http://public.serverless.com/badges/v3.svg)](http://www.serverless.com)\n[![Coverage-Status](https://coveralls.io/repos/github/nicka/coinboss/badge.svg?branch=master)](https://coveralls.io/github/nicka/coinboss?branch=master)\n[![Build-Status](https://travis-ci.org/nicka/coinboss.svg?branch=master)](https://travis-ci.org/nicka/coinboss)\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"https://user-images.githubusercontent.com/195404/27678009-e8f765d4-5cb3-11e7-934a-76309f796af3.png\"\u003e\n\u003c/div\u003e\n\n---\n\nAutomagically buy BTC, ETH or LTC on Coinbase, based on user defined thresholds.\n\n\u003e**Tradingbots:** Typically, bots perform tasks that are both simple and structurally repetitive, at a much higher rate than would be possible for a human alone.\n\n# Architecture\n\n![coinboss](https://user-images.githubusercontent.com/195404/27678017-ecb67dd6-5cb3-11e7-9439-cc01ff71f7b3.png)\n\n# Prerequisites\n\n## Yarn\n\nFor node module management Coinboss uses [Yarn](https://yarnpkg.com/) over NPM.\n\nTo install yarn globally on your machine please check [Installing Yarn](https://yarnpkg.com/en/docs/install#mac-tab).\n\nAfter that you can install all service dependencies with:\n\n```bash\nyarn\n```\n\n## Coinbase\n\nYou need a Coinbase.com API key with the following permissions:\n\n- `wallet:accounts:read`\n- `wallet:buys:create`\n- `wallet:payment-methods:read`\n- `wallet:sells:create`\n\n# Quick Start\n\n1. Setup project\n\n\u003eThis is a convenience method to install a pre-made Serverless Service locally by downloading the Github repo and unzipping it. Services are listed below.\n\n```bash\nserverless install -u https://github.com/nicka/coinboss\n```\n\n2. Install development dependencies\n\n```bash\nyarn\n```\n\n3. Setup environment\n\n```bash\ncp .env.example .env.dev\n```\n\n4. Update configuration within `.env.dev`\n\n5. Deploy your Coinboss\n\n```bash\nSTAGE=\"dev\" yarn run deploy\n```\n\n# How\n\n![cloudwatch-dashboard](https://user-images.githubusercontent.com/195404/27678272-ea84e754-5cb4-11e7-957f-96d03029a2a9.png)\n\nCoinboss is triggered based on CloudWatch alarms. The thresholds can be found within the projects [.env.example](.env.example).\n\n# Test\n\nFor testing Coinboss uses [Jest](https://facebook.github.io/jest/), for more information please check their [documentation](https://facebook.github.io/jest/#getting-started).\n\n\u003eNOTE: To update Jest snapshots supply ` -- -u` to any of the test commands.\n\n**Running the tests**\n\n```bash\nyarn run test\n```\n\n**Code coverage**\n\nIn order to inspect code coverage:\n\n```bash\nopen coverage/lcov-report/index.html\n```\n\n# Simulate\n\nLocal API Gateway simulation.\n\n```bash\nSTAGE=\"dev\" yarn run serve\n```\n\n# Build\n\nCreate build artifacts.\n\n```bash\nSTAGE=\"dev\" yarn run build\n```\n\n# Deploy\n\nDeploy build artifacts.\n\n```bash\nSTAGE=\"dev\" yarn run deploy\n```\n\n# Todo\n\n- [ ] Increase test coverage\n- [ ] Add support for percentage thresholds\n- [ ] Add more currency alarms\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnicka%2Fcoinboss","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnicka%2Fcoinboss","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnicka%2Fcoinboss/lists"}