{"id":13626410,"url":"https://github.com/meld-cp/obsidian-calc","last_synced_at":"2025-03-15T14:30:51.198Z","repository":{"id":45171354,"uuid":"367772639","full_name":"meld-cp/obsidian-calc","owner":"meld-cp","description":null,"archived":false,"fork":false,"pushed_at":"2024-06-06T07:42:05.000Z","size":337,"stargazers_count":60,"open_issues_count":11,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-15T04:54:17.754Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/meld-cp.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":"2021-05-16T02:57:22.000Z","updated_at":"2025-02-18T20:22:34.000Z","dependencies_parsed_at":"2024-10-14T07:42:29.407Z","dependency_job_id":null,"html_url":"https://github.com/meld-cp/obsidian-calc","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/meld-cp%2Fobsidian-calc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meld-cp%2Fobsidian-calc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meld-cp%2Fobsidian-calc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meld-cp%2Fobsidian-calc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/meld-cp","download_url":"https://codeload.github.com/meld-cp/obsidian-calc/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243742661,"owners_count":20340681,"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-01T21:02:17.615Z","updated_at":"2025-03-15T14:30:47.133Z","avatar_url":"https://github.com/meld-cp.png","language":"TypeScript","funding_links":["https://www.buymeacoffee.com/cleon","https://img.buymeacoffee.com/button-api/?text=Buy"],"categories":["TypeScript"],"sub_categories":[],"readme":"# Obsidian Calculator Plugin\n\n\u003ca href=\"https://www.buymeacoffee.com/cleon\"\u003e\u003cimg src=\"https://img.buymeacoffee.com/button-api/?text=Buy me a coffee\u0026emoji=\u0026slug=cleon\u0026button_colour=FFDD00\u0026font_colour=000000\u0026font_family=Cookie\u0026outline_colour=000000\u0026coffee_colour=ffffff\"\u003e\u003c/a\u003e\n\nThis plugin uses https://github.com/5anthosh/fcal to evaluate math expressions within your Obsidian notes.\n\n\u003eUsing fcal, you can perform basic arithmetic, percentage operations with precision. It features a flexible expression parser with a large set of built-in units, functions and constants.\n\nSee https://github.com/5anthosh/fcal/wiki for more information.\n\n## Usage\n\n### Example 1, insert answer\nWrite an expression which ends with the equal symbol, like:\n\n```\nPI * 4cm ^ 2 = \n```\n\nSelect the expression and choose evaluate from the command palette:\n\n\u003cimg alt=\"Select the expression\" src=\"https://raw.githubusercontent.com/meld-cp/obsidian-calc/main/docs/assets/eg1-exp.png\" /\u003e \n\n\u003cimg alt=\"Choose evaluate from the command palette\" src=\"https://raw.githubusercontent.com/meld-cp/obsidian-calc/main/docs/assets/select-command.png\" /\u003e \n\nThe expression should be evaluated:\n\n```\nPI * 4cm ^ 2 = 50.265482457436691815 Centimeters\n```\n\n### Example 2, copy to clipboard\nWrite an expression without ending it with an equals symbol:\n\n```\n23 % of 1023\n```\n\nSelect the expression and choose evaluate from the command palette like done in Example 1 above.\n\nThe evaluated expression will be copied to the clipboard.\n\n\u003cimg alt=\"The evaluated expression will be copied to the clipboard\" src=\"https://raw.githubusercontent.com/meld-cp/obsidian-calc/main/docs/assets/eg2-clipboard.png\" /\u003e \n\n\n### Example 3, variables and multilines\nVariables and multiline expressions are supported.\n\n```\nx=56.43\ny=x/2\nz+y=\n```\n\nSelecting all 3 lines and running the evaluate command from the palette will result in:\n\n```\nx=56.43\ny=x/2\nx+y=84.645\n```\n\n## Settings\n\nNone at present.\n\n\n## Installation\n\nYou can install the plugin via the Community Plugins tab within Obsidian by searching for \"Calc\"\n\n\n## Do you find this plugin useful?\n\n\u003ca href=\"https://www.buymeacoffee.com/cleon\"\u003e\u003cimg src=\"https://img.buymeacoffee.com/button-api/?text=Buy me a coffee\u0026emoji=\u0026slug=cleon\u0026button_colour=FFDD00\u0026font_colour=000000\u0026font_family=Cookie\u0026outline_colour=000000\u0026coffee_colour=ffffff\"\u003e\u003c/a\u003e\n\nThank you for your support 🙏\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeld-cp%2Fobsidian-calc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmeld-cp%2Fobsidian-calc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeld-cp%2Fobsidian-calc/lists"}