{"id":18658113,"url":"https://github.com/nanofuxion/lite","last_synced_at":"2026-04-10T21:01:29.340Z","repository":{"id":192278651,"uuid":"686226890","full_name":"nanofuxion/lite","owner":"nanofuxion","description":"A a very simple, Lite Weight electron   Tauri, Wails, Electron alternative","archived":false,"fork":false,"pushed_at":"2023-09-12T22:14:43.000Z","size":39650,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-18T01:07:37.279Z","etag":null,"topics":["app","electron","tauri","wails","web"],"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/nanofuxion.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":"2023-09-02T05:04:23.000Z","updated_at":"2024-05-06T01:06:18.000Z","dependencies_parsed_at":"2024-11-07T07:34:23.566Z","dependency_job_id":"fc102105-c992-47c4-80a8-f9b4135c8f6a","html_url":"https://github.com/nanofuxion/lite","commit_stats":null,"previous_names":["nanofuxion/lite"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nanofuxion/lite","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nanofuxion%2Flite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nanofuxion%2Flite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nanofuxion%2Flite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nanofuxion%2Flite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nanofuxion","download_url":"https://codeload.github.com/nanofuxion/lite/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nanofuxion%2Flite/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267198709,"owners_count":24051559,"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-07-26T02:00:08.937Z","response_time":62,"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":["app","electron","tauri","wails","web"],"created_at":"2024-11-07T07:31:33.732Z","updated_at":"2026-04-10T21:01:24.320Z","avatar_url":"https://github.com/nanofuxion.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"___\n___\n# !!!!NOT PRODUCTION READY!!!!\n- I started working on this project because because `gstreamer` is broken for `tauri` on `steamos` but `chrome`, `firefox` and other prebuilt browser work fine.\n- currently only supports linux \n___\n___\n\n# lite\n\nA lightweight framework for running web apps on the desktop.\n\nlite searches for then uses already installed chromium/firefox browsers, creates a new profile specific the the web app and launches your web app with a websocket server for lite specific features such as executing commands.\n\n## Usage\n\nInstall the package:\n\n```\nnpm install nanofuxion/lite\n```\n\nThe package exposes 3 commands - `lite --dev` ,  `lite` and `lite-build`. \n\n`lite` will serve the static assets and open the browser exactly as the compiled app would run.\n\n`lite --dev` will start the development server specified in the config. \n\n`lite-build` will build an AppImage of your web app. \n\n## Config\n\nlite requires a `lite.config.json` file at the root of the project. \n\nSee [config schema](schema.json) for details.\n\nA sample config is shown below:\n\n```json\n{\n  \"name\": \"myapp\",\n  \"app\": { \n    \"devServer\": \"npm run my_framework_dev_server\",\n    \"devUri\": \"http://localhost:3000\",\n    \"dist\": \"dist\",\n    \"icon\": \"./assets/icons/32.png\",\n    \"buildCommand\": \"yarn build\"\n  },\n  \"browser\": {\n    \"name\": \"firefox\"\n  },\n  \"cmds\": {\n    \"bins\": [\n        \"steam\"\n    ]  \n  }\n}\n```\n## Using the `lite` API\n\nThe lite package exports a `sendCmd` function that allows sending commands to the running lite app over a WebSocket connection. \n\nFirst, import the `sendCmd` function:\n\n```js\nconst { sendCmd } = require('lite');\n```\n\nThen call sendCmd with the command to execute:\n\n```js\nsendCmd('my-command');\n```\n\nThis will send the command over the WebSocket connection to lite.\n\n### Reconnection:\n\nThe API has built-in reconnection logic. If the WebSocket connection is lost, it will attempt to reconnect every 5 seconds.\n\n## Compiling\n\nComing soon*\n\n\n## TODOS:\n\n- ~~Add linuxdeploy app image script~~\n- ~~write browser finder to find a compatible chromium/Firefox based browser to launch from.~~\n- Add support for `macOS` and `windows` via Os specific browser finder scripts.\n\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnanofuxion%2Flite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnanofuxion%2Flite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnanofuxion%2Flite/lists"}