{"id":23171595,"url":"https://github.com/ilmalte/github-actions-with-sqlite","last_synced_at":"2025-08-18T07:32:09.218Z","repository":{"id":49556268,"uuid":"365616088","full_name":"ilmalte/github-actions-with-sqlite","owner":"ilmalte","description":"A Typescript page, compiled with Web Assembly and dynamically deployed on Github Pages. It displays random data from a sqlite database, populated by a simple Python script scheduled with Github Actions.","archived":false,"fork":false,"pushed_at":"2024-10-16T10:24:18.000Z","size":16371,"stargazers_count":7,"open_issues_count":9,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-06T00:32:12.823Z","etag":null,"topics":["github-actions","github-page","python","sqlite3","typescript","webassembly"],"latest_commit_sha":null,"homepage":"https://ilmalte.github.io/github-actions-with-sqlite/","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ilmalte.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-05-08T21:39:40.000Z","updated_at":"2025-02-01T18:57:59.000Z","dependencies_parsed_at":"2024-10-18T00:08:39.959Z","dependency_job_id":null,"html_url":"https://github.com/ilmalte/github-actions-with-sqlite","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ilmalte/github-actions-with-sqlite","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilmalte%2Fgithub-actions-with-sqlite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilmalte%2Fgithub-actions-with-sqlite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilmalte%2Fgithub-actions-with-sqlite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilmalte%2Fgithub-actions-with-sqlite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ilmalte","download_url":"https://codeload.github.com/ilmalte/github-actions-with-sqlite/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilmalte%2Fgithub-actions-with-sqlite/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270961676,"owners_count":24675914,"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-08-18T02:00:08.743Z","response_time":89,"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":["github-actions","github-page","python","sqlite3","typescript","webassembly"],"created_at":"2024-12-18T04:18:39.753Z","updated_at":"2025-08-18T07:32:08.904Z","avatar_url":"https://github.com/ilmalte.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![add_activities_to_db](https://github.com/ilmalte/test-sqlite/actions/workflows/add_activities_to_db.yml/badge.svg)](https://github.com/ilmalte/test-sqlite/actions/workflows/add_activities_to_db.yml)\n[![continuous-integration-workflow](https://github.com/ilmalte/test-sqlite/actions/workflows/continuous-integration-workflow.yml/badge.svg)](https://github.com/ilmalte/test-sqlite/actions/workflows/continuous-integration-workflow.yml)\n# SIMPLE SQLITE SCRIPT SCHEDULED WITH GITHUB ACTIONS\nThis repo only wants to be a super simple test of sqlite, Github Actions and Github Pages!\nA Github Action adds random records on a sqlite db every 6 hours. \nThen a Typescript page, compiled in WebAssembly, displays data randomly using sql.js-httpvfs (a wrapper around sql.js to provide a read-only HTTP-Range-request based virtual file system for SQLite). \nsql.js-httpvfs is amazing because allows hosting an SQLite database on a static file hoster and querying that database from the browser without fully downloading it.\n\n## How to launch\nIn the package.json you can find a script to help you during the development process.\nYou only need to launch the following commands in your Linux terminal (WSL as well).\n\n`\nnpm install     # if needed\n`\n\n`\nnpm run dev\n`\n\n## How to build\nIf you want to build this you need to run the following commands:\n\n`\ncd ./ui\n`\n\n`\nnpm install     # if needed\n`\n\n`\nnpm run build-prod\n`\n\n## CI with Github Actions\nThanks to a Github Action, every push on master launches a job that deployes a build on the branch \"gh-pages\".\nIn this way you can have a working version of this repo on the following url:\nhttps://ilmalte.github.io/github-actions-with-sqlite/\n\n## I recently discovered this official documentation with more resources about this topic\nHere you can find the documentation for the SQLite project's WebAssembly- and JavaScript-related APIs, which enable the use of sqlite3 in modern WASM-capable browsers:\nhttps://sqlite.org/wasm/doc/trunk/index.md\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Filmalte%2Fgithub-actions-with-sqlite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Filmalte%2Fgithub-actions-with-sqlite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Filmalte%2Fgithub-actions-with-sqlite/lists"}