{"id":25363560,"url":"https://github.com/tcd93/flutter-pos","last_synced_at":"2025-05-16T19:03:48.429Z","repository":{"id":45911078,"uuid":"302390513","full_name":"tcd93/flutter-pos","owner":"tcd93","description":"A mobile POS app written with Flutter, compatible Sunmi device","archived":false,"fork":false,"pushed_at":"2025-02-05T12:17:51.000Z","size":55199,"stargazers_count":217,"open_issues_count":2,"forks_count":96,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-04-12T17:48:12.259Z","etag":null,"topics":["flutter","pos","restaurant-app","sunmi","sunmi-v1s"],"latest_commit_sha":null,"homepage":"","language":"Dart","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/tcd93.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":"2020-10-08T15:51:05.000Z","updated_at":"2025-03-07T17:29:10.000Z","dependencies_parsed_at":"2025-02-14T22:35:09.359Z","dependency_job_id":"6c2ae664-e82b-4be8-a155-ea2dce854db5","html_url":"https://github.com/tcd93/flutter-pos","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/tcd93%2Fflutter-pos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tcd93%2Fflutter-pos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tcd93%2Fflutter-pos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tcd93%2Fflutter-pos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tcd93","download_url":"https://codeload.github.com/tcd93/flutter-pos/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254592367,"owners_count":22097010,"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":["flutter","pos","restaurant-app","sunmi","sunmi-v1s"],"created_at":"2025-02-14T22:34:54.944Z","updated_at":"2025-05-16T19:03:48.369Z","avatar_url":"https://github.com/tcd93.png","language":"Dart","readme":"# Simple-POS\r\n\r\n## ⚠ Check this out! version 2 is at [https://tcd93.github.io/flutter_2](https://github.com/tcd93/flutter_pos2) ⚠ \r\n## ❤️❤️ [Online Demo for v2](https://tcd93.github.io/flutter_pos2)❤️❤️\r\n\r\n### ❤️❤️ [Online Demo for v1](https://tcd93.github.io/flutter-pos)❤️❤️\r\n\r\nA mobile POS written in _Flutter_, suitable for small cafe/restaurant, fully offline.\r\n\r\n**Tested \u0026 printable on **Sunmi V1S** device.**\r\n\r\n![sunmi_v1s](.github/resource/print.jpg)\r\n\r\n**Support:**\r\n\r\n- Android\r\n- Web (unable to print)\r\n- English \u0026 Vietnamese (auto detect Locale)\r\n\r\n---\r\n\r\n## Install \u0026 Run\r\n\r\nGet [flutter](https://flutter.dev/)\r\n**IMPORTANT: this project works only with Flutter \u003e= 3.10**\r\n\r\n```\r\nflutter pub get\r\nflutter run\r\n```\r\n\r\n### Running inside WSL2\r\n##### Use **Docker for Destop**'s _Dev Environment_ (note that usbip over Docker Desktop, as of now, hasn't work; you can try debugging over ADB tcpip)\r\nOr\r\n##### Run Docker containers inside of WSL2\r\n1. Build image and run container: `docker-compose -f .\\compose-dev.yaml up -d --build`\r\n2. SSH inside: `docker exec -it flutter_dev bash`\r\n3. Accept licences: `flutter doctor --android-licenses`\r\n4. Clean: `flutter clean`\r\n5. Run:\r\n    - Web: `flutter run -d web-server` (Visual studio code should forward the port automatically if you use _Remote window_)\r\n    - USB-connected Android device: follow the instruction [here](https://learn.microsoft.com/en-us/windows/wsl/connect-usb) to connect your phone into WSL2, remember to kill the running ADB server on your Windows host machine first\r\n\r\n## Testing\r\n`flutter test`\r\n\r\n## TODO\r\n- [ ] Remote printing? (via Bluetooth)\r\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftcd93%2Fflutter-pos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftcd93%2Fflutter-pos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftcd93%2Fflutter-pos/lists"}