{"id":26568788,"url":"https://github.com/micheal-ndoh/fibonacci_app","last_synced_at":"2025-09-05T02:36:34.634Z","repository":{"id":283821452,"uuid":"952962035","full_name":"micheal-ndoh/Fibonacci_app","owner":"micheal-ndoh","description":"The is a fibonaci cross-platform desktop application built using Rust and Tauri","archived":false,"fork":false,"pushed_at":"2025-04-04T11:29:04.000Z","size":23125,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-04T12:24:05.977Z","etag":null,"topics":["desktop-application","json","rust","tauri"],"latest_commit_sha":null,"homepage":"https://v2.tauri.app/start/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/micheal-ndoh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-03-22T08:47:42.000Z","updated_at":"2025-04-04T11:29:08.000Z","dependencies_parsed_at":"2025-09-05T02:36:33.890Z","dependency_job_id":null,"html_url":"https://github.com/micheal-ndoh/Fibonacci_app","commit_stats":null,"previous_names":["micheal-ndoh/fibonacci_app"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/micheal-ndoh/Fibonacci_app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/micheal-ndoh%2FFibonacci_app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/micheal-ndoh%2FFibonacci_app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/micheal-ndoh%2FFibonacci_app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/micheal-ndoh%2FFibonacci_app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/micheal-ndoh","download_url":"https://codeload.github.com/micheal-ndoh/Fibonacci_app/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/micheal-ndoh%2FFibonacci_app/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273702906,"owners_count":25152976,"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-09-05T02:00:09.113Z","response_time":402,"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":["desktop-application","json","rust","tauri"],"created_at":"2025-03-22T20:17:30.190Z","updated_at":"2025-09-05T02:36:34.626Z","avatar_url":"https://github.com/micheal-ndoh.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Fibonacci Calculator\n\n## Overview\n\nThe Fibonacci Calculator is a cross-platform desktop application built using Rust and Tauri. It allows users to input a number and computes its Fibonacci value,\n\n## Features\n\n- User friendly interface with an input field and a button to calculate fibonacci numbers.\n- Error handling to ensure only valid numbers are processed.\n- Built with Rust for performance and reliability.\n- Utilizes Tauri for a lightweight desktop application.\n\n## Setup Instructions\n\n1. **Clone the repository:**\n\n   ```rust\n   git clone https://github.com/micheal-ndoh/Fibonacci_app.git\n   cd fibonacci-app\n   ```\n\n2. **Install Rust and Tauri:**\n   Ensure you have Rust installed. Follow the instructions on the [Rust website](https://www.rust-lang.org/tools/install) to install Rust. Then, install Tauri by following the [Tauri setup guide](https://tauri.studio/docs/getting-started/intro).\n\n    Install rust using:\n\n    ```rust\n    curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf | sh\n    ```\n\n    If it fails then try installing the dependencies manually and install rust again:\n\n    ```rust\n    sudo apt update\n    sudo apt install libwebkit2gtk-4.0-dev \\\n    build-essential \\\n    curl \\\n    wget \\\n    file \\\n    libssl-dev \\\n    libgtk-3-dev \\\n    libayatana-appindicator3-dev \\\n    librsvg2-dev\n    ```\n\n    Install tauri using:\n\n    ```rust\n    cargo install tauri-cli\n    ```\n\n3. **Install frontend dependencies:**\n   Navigate to the **`src`** directory and run:\n\n   ```rs\n   npm install\n   ```\n\n4. **Run the application:**\n   From the **`src  tauri`** directory, run:\n\n   ```rs\n   cargo tauri dev\n   ```\n\n    alternatively\n\n    ```rs\n    npm run tauri dev\n    ```\n\n5. **Build the application:**\n   From the **`src`** directory, run:\n\n    ```rs\n   cargo tauri build\n    ```\n\n   alternatively\n\n   ```rust\n   npm run tauri build\n   ```\n\n6. **Run the application:**\n   Navigate to the **`src-tauri/target/release`** directory and run the generated executable.\n\n   ```sh\n   ./fibonacci-calculator\n   ```\n\n...\n\n7. **Package the application:**\n   Firstly list all the targets for which you want to build the application using and install the one you wish to using to build the application.\n\n   ```sh\n   rustup target list\n   ```\n\n    Install/add using\n\n    ```rust\n    rustup target add \u003cname of target\u003e\n    ```\n\n   Then from the **`src`** directory, run the following commands for each target:\n\n   For macOS (.dmg):\n\n   ```rs\n   cargo tauri build --target x86_64-apple-darwin\n   ```\n\n   For Windows (.exe):\n\n   ```rs\n   cargo tauri build --target x86_64-pc-windows-gnu\n   ```\n\n   For Linux (.AppImage):\n\n   ```rs\n   cargo tauri build --target x86_64-unknown-linux-gnu\n   ```\n\n8. **Install the application on Linux:**\n   Ensure all required dependencies are installed:\n\n   ```sh\n   sudo apt update\n   sudo apt --fix-broken install\n   sudo apt install libwebkit2gtk-4.1-0 libgtk-3-0\n   ```\n\n   Then install the `.deb` , `rpm` or appimage package use the following command:\n\n   ```sh\n   sudo dpkg -i fibonacci-calculator_0.1.0_amd64.deb\n   ```\n\n   ```sh\n   sudo rpm -i fibonacci-calculator-0.1.0.x86_64.rpm\n   ```\n\n    Make the appimage executable and run;\n\n   ```sh\n\n   sudo chmod +x fibonacci-calculator.AppImage\n   ./fibonacci-calculator.AppImage\n   ```\n\n9. **Install the application on Windows:**\n   Run the `.exe` file.\n\n10. **Install the application on macOS:**\n   Run the `.dmg` file.\n\n## Usage\n\n- Enter a number in the input field and click the \"Calculate\" button to calculate the Fibonacci number.\n- The result will be displayed below the input field.\n- You can input multiple numbers in sequence but separate them by commas.\n\n## Error Handling\n\nThe application ensures that only valid numbers are processed and if an invalid number is entered, an error message is displayed but it was handle so that the user can try again by entering a valid number.\n\n## Bonus Features\n\n- Added multiple calculation feature to compute multiple Fibonacci numbers in sequence.\n- This application can be packaged as an installable `.exe`, `.dmg`, or `.AppImage`.\n- The application can be optimized for performance.\n- The application can be distributed as a desktop application.\n\n## TODO\n\n- Add more features to the application.\n- Optimize the application for performance.\n- optimize the application for size.\n- Add more languages to the application.\n- Add an icon for the application.\n\n## DONE\n\n- Add more themes to the application.\n  \n## Feedback\n\nIf you have any feedback or suggestions, please let me know.\nreach me via [gmail](michaelndoh9@gmail.com)\nleave a Star on this repository.\n\n# Thank you\n\n# Check your applications and click on the fibonacci calculator to get started\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmicheal-ndoh%2Ffibonacci_app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmicheal-ndoh%2Ffibonacci_app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmicheal-ndoh%2Ffibonacci_app/lists"}