{"id":19467175,"url":"https://github.com/squaresapp/rawjs-sample","last_synced_at":"2025-04-15T04:59:45.027Z","repository":{"id":213652430,"uuid":"734601623","full_name":"squaresapp/rawjs-sample","owner":"squaresapp","description":"Sample project to demonstrate the simplicity of RawJS projects.","archived":false,"fork":false,"pushed_at":"2023-12-22T15:05:41.000Z","size":13,"stargazers_count":46,"open_issues_count":2,"forks_count":5,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-15T04:59:36.694Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/squaresapp.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":"2023-12-22T05:35:55.000Z","updated_at":"2024-05-20T15:10:47.000Z","dependencies_parsed_at":"2023-12-22T07:24:37.134Z","dependency_job_id":"3356080c-e9c3-4988-8755-4f47a344cf2d","html_url":"https://github.com/squaresapp/rawjs-sample","commit_stats":null,"previous_names":["squaresapp/rawjs-sample"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squaresapp%2Frawjs-sample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squaresapp%2Frawjs-sample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squaresapp%2Frawjs-sample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squaresapp%2Frawjs-sample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/squaresapp","download_url":"https://codeload.github.com/squaresapp/rawjs-sample/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249010212,"owners_count":21197797,"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-11-10T18:33:49.740Z","updated_at":"2025-04-15T04:59:45.000Z","avatar_url":"https://github.com/squaresapp.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Minimal RawJS Project\n\nThis repository demonstrates a minimal RawJS project setup. You can clone this repository in order to get a good starting point for a front-end project using RawJS.\n\nThe project demonstrates basic app development and project organization using RawJS, hierarchial routing with support for back and forward buttons (via [Rawter](https://github.com/paul-go/rawter)), `vite` as the build server, and a code-workspace configured for debugging. Be sure to open the code-workspace file into VS code in order to get step debugging to work.\n\n## Online Demo\n\nThe demo project is basic CSS color viewer. You can see an online demo of the project at\n[https://rawjssample.pages.dev](https://rawjssample.pages.dev)\n\n## Trade-offs\n\nThese are the limitations you need to accept with this project structure:\n\n- You have to use TypeScript (duh)\n- You have to be disciplined to only use dependencies that are published on jsdelivr (`npm install` programmers need to clean up their act)\n\nThese are the advantages you gain:\n\n- Efficient one-class-per file project structure\n- No `import` dumpster at the top of each file. Forget imports even existed. Just access whatever you want, wherever you want. TypeScript knows where to find it.\n- TypeScript namespaces provide arguably better encapsulation than ES modules.\n- No bundler, no build system. Near-zero complexity.\n- TypeScript builds your app in milliseconds, even if your app gets huge.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsquaresapp%2Frawjs-sample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsquaresapp%2Frawjs-sample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsquaresapp%2Frawjs-sample/lists"}