{"id":28413375,"url":"https://github.com/vikbert/tetro","last_synced_at":"2025-06-24T20:30:51.596Z","repository":{"id":37216486,"uuid":"180634926","full_name":"vikbert/tetro","owner":"vikbert","description":"A todo demo build with react-redux and electron, use the same code base for both web and desktop.","archived":false,"fork":false,"pushed_at":"2022-12-15T23:33:26.000Z","size":2348,"stargazers_count":1,"open_issues_count":32,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-03T15:26:37.857Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/vikbert.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-04-10T17:53:10.000Z","updated_at":"2023-03-09T00:58:22.000Z","dependencies_parsed_at":"2023-01-29T05:15:50.388Z","dependency_job_id":null,"html_url":"https://github.com/vikbert/tetro","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vikbert/tetro","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vikbert%2Ftetro","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vikbert%2Ftetro/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vikbert%2Ftetro/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vikbert%2Ftetro/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vikbert","download_url":"https://codeload.github.com/vikbert/tetro/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vikbert%2Ftetro/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261751429,"owners_count":23204421,"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-06-03T04:34:01.003Z","updated_at":"2025-06-24T20:30:51.575Z","avatar_url":"https://github.com/vikbert.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\u003cbr\u003e\n\u003cimg src=\"https://raw.githubusercontent.com/vikbert/tetro/master/resources/tetro.png\" width=\"200px\" /\u003e\n\n\u003c/div\u003e\n\n\u003cbr\u003e\n\n\u003cp align=\"center\"\u003e\nA Todo App for Scalable Cross-Platform Desktop Apps based on  \u003ca href=\"http://electron.atom.io/\"\u003eElectron\u003c/a\u003e, \u003ca href=\"https://facebook.github.io/react/\"\u003eReact\u003c/a\u003e, \u003ca href=\"https://github.com/reactjs/redux\"\u003eRedux\u003c/a\u003e, \u003ca href=\"https://github.com/reactjs/react-router\"\u003eReact Router\u003c/a\u003e, \u003ca href=\"http://webpack.github.io/docs/\"\u003eWebpack\u003c/a\u003e and \u003ca href=\"https://github.com/gaearon/react-hot-loader\"\u003eReact Hot Loader\u003c/a\u003e for rapid application development (HMR).\n\u003c/p\u003e\n\n\u003cdiv align=\"center\"\u003e\n\u003cbr\u003e\n\u003cimg src=\"https://forthebadge.com/images/badges/built-with-love.svg\" /\u003e\n\u003cimg src=\"https://forthebadge.com/images/badges/made-with-javascript.svg\" /\u003e\n\u003cimg src=\"https://forthebadge.com/images/badges/for-you.svg\" /\u003e\n\u003c/div\u003e\n\n\u003cbr\u003e\n\n\u003cdiv align=\"center\"\u003e\n\u003ca href=\"https://facebook.github.io/react/\"\u003e\u003cimg src=\"./internals/img/react-padded-90.png\" /\u003e\u003c/a\u003e\n\u003ca href=\"https://webpack.github.io/\"\u003e\u003cimg src=\"./internals/img/webpack-padded-90.png\" /\u003e\u003c/a\u003e\n\u003ca href=\"http://redux.js.org/\"\u003e\u003cimg src=\"./internals/img/redux-padded-90.png\" /\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/ReactTraining/react-router\"\u003e\u003cimg src=\"./internals/img/react-router-padded-90.png\" /\u003e\u003c/a\u003e\n\u003ca href=\"https://flowtype.org/\"\u003e\u003cimg src=\"./internals/img/flow-padded-90.png\" /\u003e\u003c/a\u003e\n\u003ca href=\"http://eslint.org/\"\u003e\u003cimg src=\"./internals/img/eslint-padded-90.png\" /\u003e\u003c/a\u003e\n\u003ca href=\"https://facebook.github.io/jest/\"\u003e\u003cimg src=\"./internals/img/jest-padded-90.png\" /\u003e\u003c/a\u003e\n\u003ca href=\"https://yarnpkg.com/\"\u003e\u003cimg src=\"./internals/img/yarn-padded-90.png\" /\u003e\u003c/a\u003e\n\n\u003c/div\u003e\n\n## Run\n\nStart the app in the `dev` environment. This starts the renderer process in [**hot-module-replacement**](https://webpack.js.org/guides/hmr-react/) mode and starts a webpack dev server that sends hot updates to the renderer process:\n\n```bash\n$ yarn dev\n```\n\nIf you don't need autofocus when your files was changed, then run `dev` with env `START_MINIMIZED=true`:\n\n```bash\n$ START_MINIMIZED=true yarn dev\n```\n\n## Packaging\n\nTo package apps for the local platform:\n\n```bash\n$ yarn package\n```\n\nTo package apps for all platforms:\n\nFirst, refer to the [Multi Platform Build docs](https://www.electron.build/multi-platform-build) for dependencies.\n\nThen,\n\n```bash\n$ yarn package-all\n```\n\nTo package apps with options:\n\n```bash\n$ yarn package --[option]\n$ yarn package --mac\n\n```\n\nTo run End-to-End Test\n\n```bash\n$ yarn build-e2e\n$ yarn test-e2e\n\n# Running e2e tests in a minimized window\n$ START_MINIMIZED=true yarn build-e2e\n$ yarn test-e2e\n```\n\n:bulb: You can debug your production build with devtools by simply setting the `DEBUG_PROD` env variable:\n\n```bash\nDEBUG_PROD=true yarn package\n```\n\n## CSS Modules\n\nThis boilerplate is configured to use [css-modules](https://github.com/css-modules/css-modules) out of the box.\n\nAll `.css` file extensions will use css-modules unless it has `.global.css`.\n\nIf you need global styles, stylesheets with `.global.css` will not go through the\ncss-modules loader. e.g. `app.global.css`\n\nIf you want to import global css libraries (like `bootstrap`), you can just write the following code in `.global.css`:\n\n```css\n@import '~bootstrap/dist/css/bootstrap.css';\n```\n\n## SASS support\n\nIf you want to use Sass in your app, you only need to import `.sass` files instead of `.css` once:\n\n```js\nimport './app.global.scss';\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvikbert%2Ftetro","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvikbert%2Ftetro","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvikbert%2Ftetro/lists"}