{"id":13522691,"url":"https://github.com/filipesabella/calcpad","last_synced_at":"2025-03-31T23:32:11.215Z","repository":{"id":47768679,"uuid":"153835248","full_name":"filipesabella/CalcPad","owner":"filipesabella","description":"A different take on the caculator","archived":false,"fork":false,"pushed_at":"2025-02-23T09:51:07.000Z","size":5455,"stargazers_count":28,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-23T10:22:38.119Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/filipesabella.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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-10-19T19:59:41.000Z","updated_at":"2025-02-23T09:20:26.000Z","dependencies_parsed_at":"2025-02-23T10:20:33.543Z","dependency_job_id":"b006ef12-6cb0-48f7-8d2e-0277b9d0197e","html_url":"https://github.com/filipesabella/CalcPad","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/filipesabella%2FCalcPad","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/filipesabella%2FCalcPad/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/filipesabella%2FCalcPad/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/filipesabella%2FCalcPad/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/filipesabella","download_url":"https://codeload.github.com/filipesabella/CalcPad/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246558108,"owners_count":20796696,"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":[],"created_at":"2024-08-01T06:00:51.245Z","updated_at":"2025-03-31T23:32:06.205Z","avatar_url":"https://github.com/filipesabella.png","language":"TypeScript","funding_links":[],"categories":["Calculator"],"sub_categories":[],"readme":"CalcPad is a different take on the calculator.\n\nRuns on linux, mac, and windows.\n\n![screenshot](https://user-images.githubusercontent.com/33415/158484266-0da3076b-1aaa-4f19-8001-dcb1612d37e8.png)\n\n# Installation\n\nDownload the [latest release](https://github.com/filipesabella/CalcPad/releases/latest) for your platform.\n\n## Web version\n\nThere's a slightly simpler web version [here](http://filipesabella.com/CalcPad/).\n\nIt doesn't do any kind of file handling or http requests, as everything is stored using the browser's LocalStorage.\n\nIt works ok on phones, and you can install it as a PWA.\n\n### Self-hosting the web version\n\nSince the app is fully offline, you can simply either download the latest [built files](https://github.com/filipesabella/CalcPad/tree/build/docs), or build them yourself with `npm build-web` - the files will be in the `docs/` directory.\n\nAlternatively you can use shmup's [redbean](https://github.com/shmup/redbean-calcpad) build.\n\n# Functionality\n\n## Editor\n\n* Autocomplete with `ctrl+space`\n* Multiple selections with `ctrl+d`\n* Find \u0026 replace with `ctrl+f`\n\n## Simple math\n\n```\n1 + 1\n10 / .3\n2 ^ 3\n(10 + 5) / 7\n```\n\n## Assignments\n\n```\nsalary = 100k\ntax = 33\nsalaryAfterTax = tax% off salary\n```\n\n## Multipliers\n\n```\n1K\n1M\n1 billion\n```\n\n## Conversions\n\n```\n1 foot in meters\n1 cup in tbs\n```\n\nAll supported units [here](https://github.com/ben-ng/convert-units#supported-units).\n\n## Percentages\n\n```\n10% of 100\n10% off 100\n10% on 100\n```\n\n## Constants\n\n```\nE / 2\nPI * 3\n```\n\n## Ternary if statement\n\n```\nmoney = 5k\ntax = money \u0026gt; 5k ? 15 : 10\ntotal = tax% off money\n```\n\n## Functions\n\n```\nsqrt(9)\nround(1.4)\n\n```\n\nAll supported functions:\n\n```\nabs acos asin atan atan2 ceil cos exp floor log max min pow random round sin sqrt tan\n```\n\n## Comments\n\n```# a comment```\n\n\n## External functions\n\nIn the menu _Edit -\u003e Edit functions file_, you can declare any javascript function\nthat will become available to the editor itself.  \nYou must restart CalcPad after\nediting that file for the changes to come into effect.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffilipesabella%2Fcalcpad","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffilipesabella%2Fcalcpad","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffilipesabella%2Fcalcpad/lists"}