{"id":22686990,"url":"https://github.com/lp1dev/quark","last_synced_at":"2026-02-20T19:32:30.133Z","repository":{"id":254207516,"uuid":"845793095","full_name":"lp1dev/quark","owner":"lp1dev","description":"PS Vita Web Content Renderer","archived":false,"fork":false,"pushed_at":"2025-02-03T16:51:35.000Z","size":6654,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-12T05:10:21.332Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","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/lp1dev.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,"zenodo":null}},"created_at":"2024-08-22T00:01:20.000Z","updated_at":"2025-02-03T16:51:50.000Z","dependencies_parsed_at":"2024-09-05T18:48:35.522Z","dependency_job_id":"80279e30-bde2-4c85-979d-45417d42bc57","html_url":"https://github.com/lp1dev/quark","commit_stats":null,"previous_names":["lp1dev/quark"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lp1dev/quark","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lp1dev%2Fquark","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lp1dev%2Fquark/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lp1dev%2Fquark/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lp1dev%2Fquark/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lp1dev","download_url":"https://codeload.github.com/lp1dev/quark/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lp1dev%2Fquark/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29661600,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-20T16:33:43.953Z","status":"ssl_error","status_checked_at":"2026-02-20T16:33:43.598Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-12-09T23:16:28.296Z","updated_at":"2026-02-20T19:32:30.089Z","avatar_url":"https://github.com/lp1dev.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Quark\n\n![](./quark_logo.png)\n\nQuark is a C-written framework to build universal apps using web technologies.\n\nThe goal of this project is to make desktop/console development accessible to anyone with (even little) knowledge in web development.\n\nRight now it can be used to write **ps vita** and **GNU/Linux** apps using **HTML/CSS** and **JavaScript**.\n\nExample apps are available in the *examples* directory.\n\n\u003e **Note** : It is a very early version and some things **will** break and not be supported. Please write issues and pull requests if you encounter bugs or can help participate in the project!\n\n---\n\n## Setup\n\n### Requirements\n\n- vita-sdk\n- curl\n- tar\n- unzip\n- make\n- cmake\n\n#### External Libraries Required\n\n- lexbor (HTML Parsing)\n- duktape (JavaScript Engine)\n\nThose libraries are installed by `setup.sh`.\n\n### GNU/Linux Setup\n\nRun `./setup.sh` which will setup source code dependencies.\n\n### Vita lib install\n\nBefore building your VPK apps, you will also need to install the SDL_ttf lib to your vita-sdk :\n\n- https://github.com/devnoname120/SDL_ttf-Vita.git\n\nAnd the SDL_Image lib for the vita using :\n\n```bash\nmake -f Makefile.psp2; make -f Makefile.psp2 install\n```\n\n### VPK Build (PS Vita)\n\nThen, to work on a new project, you can either start anew or copy one of the examples.\n\nCreate a new **projects** directory, then create a **new directory inside** for your project with the name of your choice!\n\nIn the directory of your app, run :\n\n```\n./build.sh\n```\n\nAnd voilà! You should have a working .vpk file that you can install on your console or run in an emulator.\n\n### GNU/Linux build\n\nTo build a GNU/Linux version of your app (for debugging or to support desktop uses for instance),\nin the main quark directory, run :\n\n```\nmake -f Makefile.Linux\n```\n\nThen, copy the `quark` binary to the location of your `index.html` and `style.css` files.\n\nYou will also need to have `Sans.ttf` and `quark.js` in the same directory as this binary!\n\n---\n\n## What works\n\n### HTML\n\n- div\n- p\n- body\n- head\n- h1,h2,h3,h4\n- img\n- script (only direct scripts in the tags, the *src* attribute isn't supported at the moment)\n\n### JS\n\n- document.getElementById\n- document.addEventListener\n- element.style (not all style attributes)\n- element.innerText\n- element.innerHTML\n- element.attributes (not all attributes)\n- onclick\n- setInterval\n- setTimeout\n- window.location (set)\n- Keyboard, touchscreen, click and gamepad events\n\n### CSS\n\n- display: inline and block\n- font-size\n- color\n- background-color\n- padding\n- margin\n- height\n- width\n- text-align\n- vertical-align\n- position: \n\n---\n\n## To Do\n\n- Add image cache (different from texture cache)\n- Support external resources loading in HTML (such as JSON/JS/CSS files)\n\n---\n\n## Known bugs\n\n- Negative padding (and probably margin) crashes Quark\n\n---\n\n### Objectives\n\nEnhance JS/HTML support to support projects like :\n\n- https://github.com/burakcan/jsgs/blob/master/src/Screen/index.js\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flp1dev%2Fquark","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flp1dev%2Fquark","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flp1dev%2Fquark/lists"}