{"id":28883013,"url":"https://github.com/marcus-sa/lit-bun","last_synced_at":"2026-03-04T00:33:33.377Z","repository":{"id":293803405,"uuid":"985135021","full_name":"marcus-sa/lit-bun","owner":"marcus-sa","description":"A web application template using Lit, Bun and Vaadin Router for simplicity and speed.","archived":false,"fork":false,"pushed_at":"2025-05-17T09:43:34.000Z","size":15,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-06T03:25:55.335Z","etag":null,"topics":["bun","typescript","vaadin","vaadin-router","web","web-components"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/marcus-sa.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-05-17T06:12:58.000Z","updated_at":"2025-05-17T09:45:18.000Z","dependencies_parsed_at":"2025-10-06T03:21:15.712Z","dependency_job_id":"5347cc4d-4e4d-4bd2-946b-236444cbf8eb","html_url":"https://github.com/marcus-sa/lit-bun","commit_stats":null,"previous_names":["marcus-sa/lit-bun"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/marcus-sa/lit-bun","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcus-sa%2Flit-bun","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcus-sa%2Flit-bun/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcus-sa%2Flit-bun/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcus-sa%2Flit-bun/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marcus-sa","download_url":"https://codeload.github.com/marcus-sa/lit-bun/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcus-sa%2Flit-bun/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30067727,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-03T18:21:05.932Z","status":"ssl_error","status_checked_at":"2026-03-03T18:20:59.341Z","response_time":61,"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":["bun","typescript","vaadin","vaadin-router","web","web-components"],"created_at":"2025-06-20T21:02:17.872Z","updated_at":"2026-03-04T00:33:33.338Z","avatar_url":"https://github.com/marcus-sa.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lit-bun\n\nA web application template using Lit, Bun and Vaadin Router for simplicity and speed.\n\n## Features\n\n- **Fast Development**: Built with Bun for quick startup and hot module reloading\n- **Component-Based UI**: Uses Lit for creating fast, lightweight web components\n- **Client-Side Routing**: Implements Vaadin Router for seamless navigation\n- **Server-Side API**: Includes a simple REST API with Bun's built-in server\n- **Database Integration**: Uses Bun's SQL capabilities for data persistence\n- **TypeScript Support**: Full TypeScript integration for better developer experience\n- **Code Quality**: Includes Biome for linting and formatting\n\n## Prerequisites\n\n- [Bun](https://bun.sh/) (latest version)\n\n## Installation\n\n```bash\n# Clone the repository\ngit clone https://github.com/marcus-sa/lit-bun.git\ncd lit-bun\n\n# Install dependencies\nbun install\n```\n\n## Usage\n\n### Development\n\nStart the development server with hot reloading:\n\n```bash\nbun run dev\n```\n\nThe application will be available at http://localhost:3000 by default.\n\n### Code Quality\n\nCheck code quality:\n\n```bash\nbun run check\n```\n\nFix code quality issues:\n\n```bash\nbun run check:fix\n```\n\n## Project Structure\n\n```\nlit-bun/\n├── src/\n│   ├── router/       # Client-side routing implementation\n│   ├── views/        # Page components\n│   ├── custom-element.ts  # Base class for custom elements\n│   ├── index.html    # HTML entry point\n│   ├── layout.ts     # Application layout component\n│   ├── main.ts       # Client-side entry point\n│   ├── server.ts     # Server-side entry point\n│   └── styles.css    # Global styles\n├── package.json      # Project dependencies and scripts\n├── tsconfig.json     # TypeScript configuration\n└── biome.json        # Biome configuration\n```\n\n## Technologies\n\n- [Lit](https://lit.dev/) - A lightweight library for building fast, lightweight web components\n- [Bun](https://bun.sh/) - A fast all-in-one JavaScript runtime\n- [Vaadin Router](https://vaadin.com/router) - A client-side router for web components\n- [TypeScript](https://www.typescriptlang.org/) - A typed superset of JavaScript\n- [Biome](https://biomejs.dev/) - A fast linter and formatter for JavaScript and TypeScript\n\n## Contributing\n\n1. Fork the repository\n2. Create your feature branch (`git checkout -b feature/amazing-feature`)\n3. Commit your changes (`git commit -m 'Add some amazing feature'`)\n4. Push to the branch (`git push origin feature/amazing-feature`)\n5. Open a Pull Request\n\n## License\n\nThis project is licensed under the terms found in the [LICENSE](LICENSE) file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcus-sa%2Flit-bun","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarcus-sa%2Flit-bun","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcus-sa%2Flit-bun/lists"}