{"id":21387713,"url":"https://github.com/nju33/cama","last_synced_at":"2026-05-17T13:32:09.938Z","repository":{"id":149215262,"uuid":"83920954","full_name":"nju33/cama","owner":"nju33","description":"➗ Text calculator app using MathJS","archived":false,"fork":false,"pushed_at":"2017-06-03T21:41:36.000Z","size":2155,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-23T00:22:23.483Z","etag":null,"topics":["application","calculator","electron","math"],"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/nju33.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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},"funding":{"github":"nju33","patreon":"nju33","open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"custom":["https://www.buymeacoffee.com/nju33"]}},"created_at":"2017-03-04T20:00:52.000Z","updated_at":"2017-03-05T12:01:13.000Z","dependencies_parsed_at":"2023-09-03T05:53:43.682Z","dependency_job_id":null,"html_url":"https://github.com/nju33/cama","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nju33%2Fcama","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nju33%2Fcama/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nju33%2Fcama/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nju33%2Fcama/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nju33","download_url":"https://codeload.github.com/nju33/cama/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243870442,"owners_count":20361203,"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":["application","calculator","electron","math"],"created_at":"2024-11-22T12:14:27.067Z","updated_at":"2026-05-17T13:32:04.915Z","avatar_url":"https://github.com/nju33.png","language":"JavaScript","funding_links":["https://github.com/sponsors/nju33","https://patreon.com/nju33","https://www.buymeacoffee.com/nju33"],"categories":[],"sub_categories":[],"readme":"\u003ch1\u003e\u003cimg src=\"https://github.com/nju33/cama/blob/master/app/icons/icon.iconset/icon_32x32@2x.png?raw=true\" width=30\u003e\u0026nbsp;Cama\u003c/h1\u003e\n\nText calculator app using [MathJS](https://github.com/josdejong/mathjs)\n\n![Cama screenshot](https://github.com/nju33/cama/blob/master/screenshot.gif?raw=true)\n\n## How to use?\n\nThis is almost MathJS itself, so please see the [MathJS document page](http://mathjs.org/docs/index.html).\n\n## Extension\n\nThis app has its own extension as below.\n\n- `goldenRatio` `gr` = 1.618\n- `silverRatio` `sr` = 2.414\n\nYou can also make `$HOME/.config/cama/import.json` and set the original constant.\nLike this\n\n```json\n{\n  \"foo\": 100,\n  \"func\": [\"num\", \"return num\"]\n}\n```\n\nThose specified by the array are passed to `Function`. In other words, it becomes a function declaration.\n\n```js\nnew Function('num', 'return num');\n// num =\u003e { return num };\n```\n\nYou will be able to use it as follows.\n\n```js\nfoo + 10 // 110\nfunc(10) // 10\n```\n\n## Shortcuts\n\n### Global\n\n`CommandOrControl+Alt+/` =\u003e Display and focus.\n\n### Window\n\n`Control+p` =\u003e If there is, select the previous formula  \n`Control+n` =\u003e If there is, select one calculation formula  \n`Control+l` =\u003e Delete all input values  \n\n## Download\n\nFrom the [release page](https://github.com/nju33/cama/releases/latest)\n\n## Build Setup\n\n``` bash\n# install dependencies\nnpm install\n\n# serve with hot reload at localhost:9080\nnpm run dev\n\n# build electron app for production\nnpm run build\n\n# run webpack in production\nnpm run pack\n```\nMore information can be found [here](https://simulatedgreg.gitbooks.io/electron-vue/content/docs/npm_scripts.html).\n\n---\n\nThis project was generated from [electron-vue](https://github.com/SimulatedGREG/electron-vue) using [vue-cli](https://github.com/vuejs/vue-cli). Documentation about this project can be found [here](https://simulatedgreg.gitbooks.io/electron-vue/content/index.html).\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnju33%2Fcama","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnju33%2Fcama","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnju33%2Fcama/lists"}