{"id":19311017,"url":"https://github.com/a0s/crypto-funds-exporter","last_synced_at":"2025-02-24T03:27:50.302Z","repository":{"id":40532844,"uuid":"158069669","full_name":"a0s/crypto-funds-exporter","owner":"a0s","description":"Allows to export your crypto stock exchange's funds into Prometheus","archived":false,"fork":false,"pushed_at":"2023-03-17T01:49:16.000Z","size":36,"stargazers_count":2,"open_issues_count":5,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-06T02:12:14.404Z","etag":null,"topics":["binance","bittrex","cryptocurrency","prometheus","prometheus-exporter","ruby","stock"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/a0s.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":"2018-11-18T09:53:29.000Z","updated_at":"2023-01-31T17:07:25.000Z","dependencies_parsed_at":"2024-11-10T00:27:28.014Z","dependency_job_id":"f0862a9d-1a54-466e-b320-fede4f0b0e3a","html_url":"https://github.com/a0s/crypto-funds-exporter","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a0s%2Fcrypto-funds-exporter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a0s%2Fcrypto-funds-exporter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a0s%2Fcrypto-funds-exporter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a0s%2Fcrypto-funds-exporter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/a0s","download_url":"https://codeload.github.com/a0s/crypto-funds-exporter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240412080,"owners_count":19797202,"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":["binance","bittrex","cryptocurrency","prometheus","prometheus-exporter","ruby","stock"],"created_at":"2024-11-10T00:27:20.487Z","updated_at":"2025-02-24T03:27:49.839Z","avatar_url":"https://github.com/a0s.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# crypto-funds-exporter\nAllows to export your crypto stock exchange's funds into Prometheus\n\n![crypto-funds-exporter](https://user-images.githubusercontent.com/418868/48798765-6ab35080-ed16-11e8-9d61-2c438fbfa5ab.png)\n\n## Build and run Docker container from scratch\n\n```bash\ngit clone https://github.com/a0s/crypto-funds-exporter.git\ncd crypto-funds-exporter\ngit checkout v0.0.2\ndocker build --tag crypto-funds-exporter .\n```\n\nYou can choose stock(s) exchange for monitoring by settings xxx_KEY/yyy_SECRET keys.\nYou can set only one stock exchange if you want.\n\nIt is recommended to use only tokens with read-only permissions.\n\nStock exchanges supported by crypto-funds-exporter: \n\n* Bittrex\n  ```\n  CRYPTO_FUNDS_EXPORTER_BITTREX_KEY\n  CRYPTO_FUNDS_EXPORTER_BITTREX_SECRET\n  ```\n    \n* Binance\n  ```\n  CRYPTO_FUNDS_EXPORTER_BINANCE_KEY\n  CRYPTO_FUNDS_EXPORTER_BINANCE_SECRET\n  ```\n\n* Kucoin\n  ```\n  CRYPTO_FUNDS_EXPORTER_KUCOIN_KEY\n  CRYPTO_FUNDS_EXPORTER_KUCOIN_SECRET\n  ```\n    \nStart container with chosen stock exchanges\n    \n```bash\ndocker run \\\n    --restart always \\\n    -td \\\n    -p 9518:9518 \\\n    -e CRYPTO_FUNDS_EXPORTER_BITTREX_KEY=... \\\n    -e CRYPTO_FUNDS_EXPORTER_BITTREX_SECRET=... \\\n    -e CRYPTO_FUNDS_EXPORTER_BINANCE_KEY=... \\\n    -e CRYPTO_FUNDS_EXPORTER_BINANCE_SECRET=... \\\n    -e CRYPTO_FUNDS_EXPORTER_KUCOIN_KEY=... \\\n    -e CRYPTO_FUNDS_EXPORTER_KUCOIN_SECRET=... \\\n    --name crypto-funds-exporter \\    \n    crypto-funds-exporter\n```\n\n## Endpoints\n\nGetting metrics \n\n```bash\ncurl localhost:9518/metrics\n```\n\nChecking server alive\n\n```bash\ncurl localhost:9518/ping \n```\n\n## Example Prometheus config\n\n```yaml\nglobal:\n  scrape_interval: 5s\n\nscrape_configs:\n  - job_name: funds\n    honor_labels: true\n    static_configs:\n      - targets:\n          - 'localhost:9518'\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa0s%2Fcrypto-funds-exporter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fa0s%2Fcrypto-funds-exporter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa0s%2Fcrypto-funds-exporter/lists"}