{"id":16010349,"url":"https://github.com/swiip/vanilla-modern-js","last_synced_at":"2025-03-17T16:30:26.370Z","repository":{"id":66361725,"uuid":"118130081","full_name":"Swiip/vanilla-modern-js","owner":"Swiip","description":"Experimental Web app using no framework, no external source code, but all fancy new standards ;)","archived":false,"fork":false,"pushed_at":"2019-03-18T15:32:38.000Z","size":159,"stargazers_count":39,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-16T12:42:26.495Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Swiip.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":"2018-01-19T13:45:09.000Z","updated_at":"2024-12-05T10:06:51.000Z","dependencies_parsed_at":"2023-02-21T18:15:12.090Z","dependency_job_id":null,"html_url":"https://github.com/Swiip/vanilla-modern-js","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/Swiip%2Fvanilla-modern-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Swiip%2Fvanilla-modern-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Swiip%2Fvanilla-modern-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Swiip%2Fvanilla-modern-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Swiip","download_url":"https://codeload.github.com/Swiip/vanilla-modern-js/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244068707,"owners_count":20392879,"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":"2024-10-08T13:05:28.027Z","updated_at":"2025-03-17T16:30:25.934Z","avatar_url":"https://github.com/Swiip.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vanilla Modern JavaScript\n\n## Rules\n\n1. Not a single line of external source code\n\n1. Use of a maximum of modern API both Node side and browser side\n\n1. Anything is allowed as long as it's in a standard and it works on 2 different browser\n\n## Currently using\n\n- Node HTTP/2 native support\n\n- Full HTTP/2 assets push (the server doesn't even accept request other than `/`)\n\n- JavaScript module in the browser\n\n- Web Components : Custom Elements / Shadow Dom (But no HTML Imports / Template)\n\n- CSS Variables\n\n- CSS Grid (used it for the grid but not possible for the tiles as long as transitions doesn't work)\n\n- Virtual Dom implementation using native HTML parser \u0026 diffing directly on real dom\n\n- Redux clone to manage game state\n\n- Logic in a WebWorker, unfortunately without modules as they are not yet supported\n\n- Logic in Rust compiled in WebAssembly!\n\n## Cheating or not\n\n- I rollback using [compo](https://github.com/Swiip/compo) to keep everything as vanilla as possible\n\n- As HTTP/2 is now fully supported by Node, I don't consider it as a dependency\n\n- There is one real cheat: the JSON parser for Rust. Seriously, I can't dev a new parser from scratch ;)\n\n## Application\n\n2048 clone. It's fun, doesn't need backend and is rich enough to trigger some real questions\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswiip%2Fvanilla-modern-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fswiip%2Fvanilla-modern-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswiip%2Fvanilla-modern-js/lists"}