{"id":23071655,"url":"https://github.com/pixelverse-llc/strich-javascript-sample","last_synced_at":"2025-04-03T10:41:58.816Z","repository":{"id":159665177,"uuid":"634765005","full_name":"pixelverse-llc/strich-javascript-sample","owner":"pixelverse-llc","description":"STRICH SDK integration example using plain JavaScript/HTML/CSS","archived":false,"fork":false,"pushed_at":"2025-01-29T08:19:46.000Z","size":43,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-02-09T00:15:02.629Z","etag":null,"topics":["barcode-scanning","strich-sdk","vanilla-js"],"latest_commit_sha":null,"homepage":"https://strich.io","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pixelverse-llc.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-05-01T05:59:22.000Z","updated_at":"2025-01-29T08:19:50.000Z","dependencies_parsed_at":"2023-11-30T11:24:40.659Z","dependency_job_id":"b0beb19e-ec85-45d0-a35f-a74d3cfda6a9","html_url":"https://github.com/pixelverse-llc/strich-javascript-sample","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/pixelverse-llc%2Fstrich-javascript-sample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pixelverse-llc%2Fstrich-javascript-sample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pixelverse-llc%2Fstrich-javascript-sample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pixelverse-llc%2Fstrich-javascript-sample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pixelverse-llc","download_url":"https://codeload.github.com/pixelverse-llc/strich-javascript-sample/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246989504,"owners_count":20865305,"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":["barcode-scanning","strich-sdk","vanilla-js"],"created_at":"2024-12-16T07:16:16.420Z","updated_at":"2025-04-03T10:41:58.792Z","avatar_url":"https://github.com/pixelverse-llc.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# STRICH SDK integration example using plain JavaScript/HTML/CSS\n\nThis repository shows how to use the STRICH SDK to create a barcode scanning application with just plain JavaScript (ES6), HTML and CSS, without using any framework or build tooling.\n\nThe app implements three basic scanning workflows that are popular in real-world use cases:\n\n- Single scan: scans a single barcode and returns the home screen\n- Repeated scans: scans barcodes repeatedly, with a user interaction between scans\n- Multiple scans: scans multiple barcodes until some condition is met\n\n## Serving the Example App\n\nThe app still needs to be served from a [secure origin](https://docs.strich.io/deployment-guide.html). For development purposes, we've included a Python script `serve_https.py` to show how to use Python's built-in capabilities to quickly create a development server.\n\nTo create a self-signed certificate, check out any guide on the internet or this Stackoverflow answer: https://stackoverflow.com/a/41366949/1370154\n\nThen run the script in this directory to serve the app over an HTTPS connecting using the self-signed certificate:\n\n```shell\n$ python3 serve_https.py tls_key.pem tls_cert.pem\n```\n\nAnother popular option is to serve the application locally (by using `serve_http.py` for instance) and expose it via [ngrok](https://ngrok.com) or similar tools, with an automatically created TLS certificate and public DNS.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpixelverse-llc%2Fstrich-javascript-sample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpixelverse-llc%2Fstrich-javascript-sample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpixelverse-llc%2Fstrich-javascript-sample/lists"}