{"id":26786152,"url":"https://github.com/derekahn/risk.alfredworkflow","last_synced_at":"2025-08-18T04:02:43.679Z","repository":{"id":179043367,"uuid":"661394466","full_name":"derekahn/risk.alfredworkflow","owner":"derekahn","description":"🧮 Alfred workflow to calculate token amount to only \"risk\" a set dollar amount","archived":false,"fork":false,"pushed_at":"2023-07-05T21:02:19.000Z","size":20,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-29T11:35:58.937Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","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/derekahn.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":"2023-07-02T17:51:22.000Z","updated_at":"2024-05-24T12:46:47.000Z","dependencies_parsed_at":"2023-07-07T10:46:15.838Z","dependency_job_id":null,"html_url":"https://github.com/derekahn/risk.alfredworkflow","commit_stats":null,"previous_names":["derekahn/risk.alfredworkflow"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/derekahn/risk.alfredworkflow","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derekahn%2Frisk.alfredworkflow","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derekahn%2Frisk.alfredworkflow/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derekahn%2Frisk.alfredworkflow/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derekahn%2Frisk.alfredworkflow/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/derekahn","download_url":"https://codeload.github.com/derekahn/risk.alfredworkflow/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derekahn%2Frisk.alfredworkflow/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270940718,"owners_count":24671687,"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-08-18T02:00:08.743Z","response_time":89,"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":[],"created_at":"2025-03-29T11:35:44.908Z","updated_at":"2025-08-18T04:02:43.636Z","avatar_url":"https://github.com/derekahn.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🧮 Risk Alfred Workflow\n\nA simple [Alfred Workflow](https://www.alfredapp.com/workflows/) to calculate required tokens to only \"risk\" a set dollar amount.\n\n\u003cimg style=\"padding: 1rem 0\" width=\"605\" alt=\"Screenshot\" src=\"https://user-images.githubusercontent.com/5381156/251280792-37f863ba-bfd1-4f56-9868-7b6a33f8ff7d.gif\"\u003e\n\n\u003e Big thank you to [@rossmacarthur](https://github.com/rossmacarthur) for creating [powerpack ⚡️](https://github.com/rossmacarthur/powerpack) 👏🏽\n\nIt requires 3 inputs:\n\n1. Entry Price\n2. Stop-Loss Price\n3. Dollar Risk\n\nIt will calculate the required tokens and store it your clipboard 📋.\n\n## 📦 Installation\n\n### Pre-packaged\n\nGrab the latest release from\n[the releases page](https://github.com/derekahn/risk.alfredworkflow/releases).\n\nBecause the release contains an executable binary later versions of macOS will mark it as untrusted.\nYou can run the following to explicitly trust the release before installing to Alfred.\n\n```bash\nxattr -c ~/Downloads/risk-*-x86_64-apple-darwin.alfredworkflow\n```\n\n### Building from source\n\nThis workflow is written in Rust, so to install it from source you will first\nneed to install Rust and Cargo using [rustup](https://rustup.rs/). Then install\n[powerpack](https://github.com/rossmacarthur/powerpack). Then you can run the\nfollowing to build an `.alfredworkflow` file.\n\n```bash\ngit clone https://github.com/derekahn/risk.alfredworkflow.git\n\ncd risk.alfredworkflow\n\npowerpack package\n```\n\nThe release will be available at `target/workflow/risk.alfredworkflow`.\n\n## 🪪 License\n\nThis project is distributed under the terms of the MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fderekahn%2Frisk.alfredworkflow","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fderekahn%2Frisk.alfredworkflow","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fderekahn%2Frisk.alfredworkflow/lists"}