{"id":13487008,"url":"https://github.com/printfn/fend","last_synced_at":"2026-01-24T06:48:36.596Z","repository":{"id":37856333,"uuid":"284117291","full_name":"printfn/fend","owner":"printfn","description":"Arbitrary-precision unit-aware calculator","archived":false,"fork":false,"pushed_at":"2025-05-15T08:20:26.000Z","size":3570,"stargazers_count":809,"open_issues_count":47,"forks_count":56,"subscribers_count":11,"default_branch":"main","last_synced_at":"2025-05-15T09:29:47.200Z","etag":null,"topics":["calculator","rust","units-of-measure"],"latest_commit_sha":null,"homepage":"https://printfn.github.io/fend","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/printfn.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","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,"zenodo":null}},"created_at":"2020-07-31T19:47:41.000Z","updated_at":"2025-05-13T17:17:24.000Z","dependencies_parsed_at":"2023-02-19T15:40:30.926Z","dependency_job_id":"a6f711db-c780-4fcf-8019-b616a43ce610","html_url":"https://github.com/printfn/fend","commit_stats":{"total_commits":1454,"total_committers":18,"mean_commits":80.77777777777777,"dds":0.09147180192572213,"last_synced_commit":"685110de575f54a872a64a20b9a17abb1b4a457b"},"previous_names":[],"tags_count":65,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/printfn%2Ffend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/printfn%2Ffend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/printfn%2Ffend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/printfn%2Ffend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/printfn","download_url":"https://codeload.github.com/printfn/fend/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254355334,"owners_count":22057354,"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":["calculator","rust","units-of-measure"],"created_at":"2024-07-31T18:00:54.290Z","updated_at":"2026-01-24T06:48:36.584Z","avatar_url":"https://github.com/printfn.png","language":"Rust","readme":"# [fend](https://printfn.github.io/fend)\n\n[![build](https://github.com/printfn/fend/workflows/build/badge.svg)](https://github.com/printfn/fend)\n[![codecov](https://codecov.io/gh/printfn/fend/branch/main/graph/badge.svg)](https://codecov.io/gh/printfn/fend)\n[![crates.io](https://img.shields.io/crates/v/fend)](https://crates.io/crates/fend)\n[![downloads](https://img.shields.io/crates/d/fend-core)](https://crates.io/crates/fend)\n\n\u003ca href=\"https://printfn.github.io/fend\"\u003e\u003cimg alt=\"fend icon\" src=\"https://raw.githubusercontent.com/printfn/fend/main/icon/icon.svg\" width=\"100\" /\u003e\u003c/a\u003e\n\n[fend](https://printfn.github.io/fend) is an arbitrary-precision unit-aware calculator.\n\nUnique features:\n\n* Arbitrary-precision arithmetic using rational numbers\n* Full support for complex numbers\n* D\u0026D-style dice rolls\n* Variables\n* Binary, octal, hexadecimal and all other bases between 2 and 36\n* Keep track of units, with support for SI, US and UK customary and many historical units\n* Emacs-style CLI shortcuts\n* Trigonometric functions\n* Lambda calculus\n\nSee the [manual](https://printfn.github.io/fend/documentation/) for more information.\n\n## [Web Interface](https://printfn.github.io/fend)\n\nfend is available on the web at [printfn.github.io/fend](https://printfn.github.io/fend).\n\n## Installation\n\nThe easiest way to install fend locally is via your package manager:\n\n| Package Manager         | Command                    |\n| ----------------------- | -------------------------- |\n| Homebrew                | `brew install fend`        |\n| MacPorts                | `sudo port install fend`   |\n| AUR (Arch Linux)        | `yay -S aur/fend-bin`      |\n| AOSC OS                 | `oma install fend`         |\n| Xbps (Void Linux)       | `xbps-install fend`        |\n| Nix                     | Add `nixpkgs.fend` to your config, or install ephemerally using `nix-shell -p fend`. |\n| Cargo                   | `cargo install fend`       |\n| Windows Package Manager | `winget install fend`      |\n| Chocolatey              | `choco install fend`       |\n| Scoop                   | `scoop install fend`       |\n| Pkgx                    | `pkgx fend`                |\n\nAlternatively, you can manually download the latest stable binaries\n[here](https://github.com/printfn/fend/releases/latest).\n\nOnce fend is installed, run `fend` to start a REPL session:\n\n```\n$ fend\n\u003e 1 ft to cm\n30.48 cm\n\u003e\n```\n\n### Packages\n\n* [Homebrew](https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/f/fend.rb)\n* [MacPorts](https://ports.macports.org/port/fend/)\n* [AUR (built from source)](https://aur.archlinux.org/packages/fend/)\n* [AUR (pre-built binary)](https://aur.archlinux.org/packages/fend-bin/)\n* [xbps](https://github.com/void-linux/void-packages/tree/master/srcpkgs/fend)\n* [AOSC OS](https://github.com/AOSC-Dev/aosc-os-abbs/tree/stable/app-utils/fend)\n* [nixpkgs](https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/misc/fend/default.nix)\n* [Windows Package Manager](https://github.com/microsoft/winget-pkgs/tree/master/manifests/p/printfn/fend)\n* [Chocolatey](https://community.chocolatey.org/packages/fend)\n* [NPM fend-wasm package](https://www.npmjs.com/package/fend-wasm)\n* [NPM fend-wasm-web package](https://www.npmjs.com/package/fend-wasm-web)\n* [NPM fend-wasm-nodejs package](https://www.npmjs.com/package/fend-wasm-nodejs)\n* [Telegram Bot](https://t.me/fend_calc_bot)\n* [Pkgx](https://pkgx.dev/pkgs/printfn.github.io/fend/)\n\n## [Manual](https://printfn.github.io/fend/documentation/)\n\nYou can find the fend manual [here](https://printfn.github.io/fend/documentation/).\n\n## Examples\n\n```\n\u003e 5'10\" to cm\n177.8 cm\n```\n\n```\n\u003e cos (pi/4) + i * (sin (pi/4))\napprox. 0.7071067811 + 0.7071067811i\n```\n\n```\n\u003e 0b1001 + 3\n0b1100\n```\n\n```\n\u003e 0xffff to decimal\n65535\n```\n\n```\n\u003e 100 C to F\n210 °F\n```\n\n```\n\u003e temperature = 30 °C\n30 °C\n\u003e temperature to °F\n86 °F\n```\n\n```\n\u003e roll d20\n8\n\u003e roll 4d6\n17\n```\n\n## Projects using fend\n\nThese are some projects making use of fend:\n\n* [MicroPad](https://getmicropad.com)\n* [Fendesk](https://github.com/SekoiaTree/fendesk)\n* [metasearch2](https://github.com/mat-1/metasearch2)\n* [FendApp](https://github.com/JadedBlueEyes/fendapp)\n* [Asleh](https://github.com/jossephus/asleh)\n\nFeel free to make a pull request to add your own!\n\n## License\n\nfend is available under the MIT license. See [LICENSE.md](LICENSE.md)\nfor more information.\n","funding_links":[],"categories":["Rust","Applications","Others","应用程序 Applications"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprintfn%2Ffend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprintfn%2Ffend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprintfn%2Ffend/lists"}