{"id":24629951,"url":"https://github.com/voidcoefficient/factory-idle-game","last_synced_at":"2025-03-20T04:37:34.190Z","repository":{"id":220755959,"uuid":"752491229","full_name":"voidcoefficient/factory-idle-game","owner":"voidcoefficient","description":null,"archived":false,"fork":false,"pushed_at":"2024-02-04T12:45:41.000Z","size":1844,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-26T03:35:47.204Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/voidcoefficient.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}},"created_at":"2024-02-04T01:49:12.000Z","updated_at":"2024-02-04T01:49:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"32c2e859-44e9-4504-9345-9f7b5912b785","html_url":"https://github.com/voidcoefficient/factory-idle-game","commit_stats":null,"previous_names":["marlalain/factory-idle-game","voidcoefficient/factory-idle-game"],"tags_count":0,"template":false,"template_full_name":"emilk/eframe_template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voidcoefficient%2Ffactory-idle-game","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voidcoefficient%2Ffactory-idle-game/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voidcoefficient%2Ffactory-idle-game/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voidcoefficient%2Ffactory-idle-game/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/voidcoefficient","download_url":"https://codeload.github.com/voidcoefficient/factory-idle-game/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244554051,"owners_count":20471172,"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":"2025-01-25T06:20:38.675Z","updated_at":"2025-03-20T04:37:34.168Z","avatar_url":"https://github.com/voidcoefficient.png","language":"Rust","readme":"# eframe template\n\n[![dependency status](https://deps.rs/repo/github/emilk/eframe_template/status.svg)](https://deps.rs/repo/github/emilk/eframe_template)\n[![Build Status](https://github.com/emilk/eframe_template/workflows/CI/badge.svg)](https://github.com/emilk/eframe_template/actions?workflow=CI)\n\nThis is a template repo for [eframe](https://github.com/emilk/egui/tree/master/crates/eframe), a framework for writing apps using [egui](https://github.com/emilk/egui/).\n\nThe goal is for this to be the simplest way to get started writing a GUI app in Rust.\n\nYou can compile your app natively or for the web, and share it using Github Pages.\n\n## Getting started\n\nStart by clicking \"Use this template\" at https://github.com/emilk/eframe_template/ or follow [these instructions](https://docs.github.com/en/free-pro-team@latest/github/creating-cloning-and-archiving-repositories/creating-a-repository-from-a-template).\n\nChange the name of the crate: Chose a good name for your project, and change the name to it in:\n* `Cargo.toml`\n    * Change the `package.name` from `eframe_template` to `your_crate`.\n    * Change the `package.authors`\n* `main.rs`\n    * Change `eframe_template::TemplateApp` to `your_crate::TemplateApp`\n* `index.html`\n    * Change the `\u003ctitle\u003eeframe template\u003c/title\u003e` to `\u003ctitle\u003eyour_crate\u003c/title\u003e`. optional.\n* `assets/sw.js`\n  * Change the `'./eframe_template.js'` to `./your_crate.js` (in `filesToCache` array)\n  * Change the `'./eframe_template_bg.wasm'` to `./your_crate_bg.wasm` (in `filesToCache` array)\n\n### Learning about egui\n\n`src/app.rs` contains a simple example app. This is just to give some inspiration - most of it can be removed if you like.\n\nThe official egui docs are at \u003chttps://docs.rs/egui\u003e. If you prefer watching a video introduction, check out \u003chttps://www.youtube.com/watch?v=NtUkr_z7l84\u003e. For inspiration, check out the [the egui web demo](https://emilk.github.io/egui/index.html) and follow the links in it to its source code.\n\n### Testing locally\n\nMake sure you are using the latest version of stable rust by running `rustup update`.\n\n`cargo run --release`\n\nOn Linux you need to first run:\n\n`sudo apt-get install libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev libxkbcommon-dev libssl-dev`\n\nOn Fedora Rawhide you need to run:\n\n`dnf install clang clang-devel clang-tools-extra libxkbcommon-devel pkg-config openssl-devel libxcb-devel gtk3-devel atk fontconfig-devel`\n\n### Web Locally\n\nYou can compile your app to [WASM](https://en.wikipedia.org/wiki/WebAssembly) and publish it as a web page.\n\nWe use [Trunk](https://trunkrs.dev/) to build for web target.\n1. Install the required target with `rustup target add wasm32-unknown-unknown`.\n2. Install Trunk with `cargo install --locked trunk`.\n3. Run `trunk serve` to build and serve on `http://127.0.0.1:8080`. Trunk will rebuild automatically if you edit the project.\n4. Open `http://127.0.0.1:8080/index.html#dev` in a browser. See the warning below.\n\n\u003e `assets/sw.js` script will try to cache our app, and loads the cached version when it cannot connect to server allowing your app to work offline (like PWA).\n\u003e appending `#dev` to `index.html` will skip this caching, allowing us to load the latest builds during development.\n\n### Web Deploy\n1. Just run `trunk build --release`.\n2. It will generate a `dist` directory as a \"static html\" website\n3. Upload the `dist` directory to any of the numerous free hosting websites including [GitHub Pages](https://docs.github.com/en/free-pro-team@latest/github/working-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site).\n4. we already provide a workflow that auto-deploys our app to GitHub pages if you enable it.\n\u003e To enable Github Pages, you need to go to Repository -\u003e Settings -\u003e Pages -\u003e Source -\u003e set to `gh-pages` branch and `/` (root).\n\u003e\n\u003e If `gh-pages` is not available in `Source`, just create and push a branch called `gh-pages` and it should be available.\n\nYou can test the template app at \u003chttps://emilk.github.io/eframe_template/\u003e.\n\n## Updating egui\n\nAs of 2023, egui is in active development with frequent releases with breaking changes. [eframe_template](https://github.com/emilk/eframe_template/) will be updated in lock-step to always use the latest version of egui.\n\nWhen updating `egui` and `eframe` it is recommended you do so one version at the time, and read about the changes in [the egui changelog](https://github.com/emilk/egui/blob/master/CHANGELOG.md) and [eframe changelog](https://github.com/emilk/egui/blob/master/crates/eframe/CHANGELOG.md).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvoidcoefficient%2Ffactory-idle-game","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvoidcoefficient%2Ffactory-idle-game","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvoidcoefficient%2Ffactory-idle-game/lists"}