{"id":17598947,"url":"https://github.com/parkermccurley/decent","last_synced_at":"2026-03-11T13:39:46.161Z","repository":{"id":59152795,"uuid":"90915037","full_name":"parkermccurley/decent","owner":"parkermccurley","description":"A Ruby command line application for managing cryptocurrency holdings.","archived":false,"fork":false,"pushed_at":"2017-06-16T20:03:01.000Z","size":75,"stargazers_count":3,"open_issues_count":1,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-13T22:26:23.556Z","etag":null,"topics":["bitcoin","cli","crypto","cryptocurrency","dogecoin","ethereum","gem","litecoin","rails","ruby"],"latest_commit_sha":null,"homepage":"","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/parkermccurley.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-05-10T22:51:08.000Z","updated_at":"2023-06-17T13:00:16.000Z","dependencies_parsed_at":"2022-09-13T11:01:10.884Z","dependency_job_id":null,"html_url":"https://github.com/parkermccurley/decent","commit_stats":null,"previous_names":["parkertm/decent"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/parkermccurley/decent","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parkermccurley%2Fdecent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parkermccurley%2Fdecent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parkermccurley%2Fdecent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parkermccurley%2Fdecent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/parkermccurley","download_url":"https://codeload.github.com/parkermccurley/decent/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parkermccurley%2Fdecent/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30382673,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-11T12:49:11.341Z","status":"ssl_error","status_checked_at":"2026-03-11T12:46:41.342Z","response_time":84,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["bitcoin","cli","crypto","cryptocurrency","dogecoin","ethereum","gem","litecoin","rails","ruby"],"created_at":"2024-10-22T10:08:24.284Z","updated_at":"2026-03-11T13:39:46.144Z","avatar_url":"https://github.com/parkermccurley.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# decent\n\nA command line application for managing cryptocurrency holdings.\n\n## Synopsis\n\nI like doing things from the command line.  And like any command line user worth their\nsalt, I **hodl** some cryptocurrencies.  I made `decent` so I can quickly, compulsively\naccess exchange rates and address balances from my highfalutin terminal.  Oh, and it's\nde-cent like de-cen-tra-lized, but I guess the synonym for mediocre works as well.\n\nWhenever new data is pulled from the web, the outdated data is stored in historic tables\nwhich could be leveraged for investment strategy / world domination.\n\nCurrently (as of 0.1.3) supports Bitcoin (BTC), Ethereum (ETH), and Litecoin (LTC).\n\n## Install\n\n```sh\n$ gem install decent\n```\n\n## Quickstart\n\n```sh\n$ decent\n```\n\n![HODL](http://imgh.us/screenshot_77.png)\n\nNote: The first time `decent` runs, it will create a SQLite3 database in your home\ndirectory like so: `~/.decent/decent.db`\n\n## Commands\n\n### Update Exchange Rates\n\n```sh\n$ decent exchange_rate update\n```\n\nCurrent exchange rates for all currencies are pulled from Coinbase and stored with a timestamp.\nThe previous values are copied to the `historic_exchange_rates` table.\n\n### List Exchange Rates\n\n```sh\n$ decent exchange_rate list\n```\n\nThe most recently queried information for each exchange rate will be listed.\n\n### Add Hodling\n\n```sh\n$ decent hodling add\n```\n\nCreates a prompt asking for a nickname, address, and currency for a new hodling.\n\n### Update Hodlings\n\n```sh\n$ decent hodling update\n```\n\nCurrent balances for all locally stored address are pulled from APIs and stored with a timestamp.\nThe previous values are copied to the `historic_holdings` table.\n\n### List Hodlings\n\n```sh\n$ decent hodling list\n```\n\nThe most recently queried information for each locally stored hodling will be listed.\n\n### Show Hodling\n\n```sh\n$ decent hodling show -nickname NICKNAME\n```\n\nThe most recently queried information for the hodling with nickname NICKNAME will be displayed,\nalong with its value in USD based on the most recently queried exchange_rate for its respective\ncurrency.\n\n### Remove Hodling\n\n```sh\n$ decent hodling remove -nickname NICKNAME\n```\n\nThe most recently queried information for the hodling with nickname NICKNAME will be removed, and\nthat hodling will no longer appear in the `holdings` table. Related entries in the\n`historic_holdings` table will not be affected.\n\n## Schema\n\ndecent uses SQLite3.\n\n### holdings\n```SQL\n`id` integer,\n`nickname` varchar(255),\n`address` varchar(255),\n`currency` varchar(255),\n`balance` doubleprecision,\n`created_at` timestamp,\n`updated_at` timestamp\n```\n\n### historic_holdings\n```SQL\n`id` integer,\n`holding_id` integer,\n`address` varchar(255),\n`currency` varchar(255),\n`balance` doubleprecision,\n`recorded_at` timestamp\n`created_at` timestamp\n```\n\n### exchange_rates\n```SQL\n`id` integer,\n`currency` varchar(255),\n`rate` doubleprecision,\n`created_at` timestamp,\n`updated_at` timestamp\n```\n\n### historic_exchange_rates\n```SQL\n`id` integer,\n`exchange_rate_id` integer,\n`currency` varchar(255),\n`rate` doubleprecision,\n`recorded_at` timestamp,\n`created_at` timestamp\n```\n\n## Donations\n\nI'm not expecting any of these, but here are my public addresses :)\n\n**Bitcoin:** `1MzRX52tmTqdaVbA4nPnbEVpoYgmP5e6dH`\n\n**Ethereum:** `0x11b91e4b6d0e149cbedc213c98d177ac0560abd9`\n\n**Litecoin:** `LXq9vUheGADoSdyHY7HqKWhjixgzYLaJm4`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparkermccurley%2Fdecent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fparkermccurley%2Fdecent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparkermccurley%2Fdecent/lists"}