{"id":13727873,"url":"https://github.com/Rafi993/tiny","last_synced_at":"2025-05-08T00:30:52.578Z","repository":{"id":47434465,"uuid":"280580167","full_name":"Rafi993/tiny","owner":"Rafi993","description":"Tiny alternative to electron","archived":false,"fork":false,"pushed_at":"2024-05-12T13:00:30.000Z","size":480,"stargazers_count":53,"open_issues_count":4,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-05T13:56:38.270Z","etag":null,"topics":["electron","js"],"latest_commit_sha":null,"homepage":"","language":"Makefile","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/Rafi993.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}},"created_at":"2020-07-18T04:20:03.000Z","updated_at":"2024-10-02T07:15:13.000Z","dependencies_parsed_at":"2023-01-27T01:00:36.363Z","dependency_job_id":null,"html_url":"https://github.com/Rafi993/tiny","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rafi993%2Ftiny","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rafi993%2Ftiny/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rafi993%2Ftiny/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rafi993%2Ftiny/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Rafi993","download_url":"https://codeload.github.com/Rafi993/tiny/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224679768,"owners_count":17351860,"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":["electron","js"],"created_at":"2024-08-03T02:00:34.230Z","updated_at":"2024-11-14T19:30:26.483Z","avatar_url":"https://github.com/Rafi993.png","language":"Makefile","funding_links":[],"categories":["Makefile","👓 Alternatives to the [Electron.js](https://electronjs.org) ⚛"],"sub_categories":["C/C++"],"readme":"# Tiny\n\nThis is a tiny alternative to electron\n\n## Why?\n\nElectron is big and sometime you may not need all it is functionality to build your desktop app. This package renders webview with basic window management functionality without all electron API's cutting down the size drastically and improving performance. It renders webview using https://github.com/webview/webview C++ library.\n\n## Installation\n\nmake sure you have these [native dependencies](./dependencies.md) installed then install package using npm\n\n```\n$ npm i tinytron\n```\n\nor \n\n```\n$ yarn add tinytron\n```\n\n## Usage\n\n```javascript\nconst Tiny = require(\"tinytron\")\n\nconst window = new Tiny();\nwindow.setSize(500, 600);\nwindow.setTitle(\"Your app\");\n\n// When using your own app use express to run the server and pass the url\nwindow.navigate(\"http://dev.to/\");\nwindow.run();\nwindow.destroy()\n```\n\n\n## Generating binary\nTo convert your app to single binary do look at [pkg](https://www.npmjs.com/package/pkg)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FRafi993%2Ftiny","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FRafi993%2Ftiny","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FRafi993%2Ftiny/lists"}