{"id":13573499,"url":"https://github.com/kyr0/astro-launchpad","last_synced_at":"2025-06-22T10:38:54.290Z","repository":{"id":65916813,"uuid":"601380916","full_name":"kyr0/astro-launchpad","owner":"kyr0","description":"An Astro project template for decent projects: auth, i18next, Bootstrap, sitemap, webworker, robots.txt, preact, react, endpoints, endpoint clients, OAuth, various Astro features and data loading preconfigured","archived":false,"fork":false,"pushed_at":"2023-03-16T21:29:49.000Z","size":12174,"stargazers_count":46,"open_issues_count":0,"forks_count":13,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-11-05T08:37:01.604Z","etag":null,"topics":["astro","authentication","bootstrap","i18next","microservices","preact","robots-txt","scaffold","sitemap-xml","template"],"latest_commit_sha":null,"homepage":"https://astro-launchpad.vercel.app","language":"CSS","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/kyr0.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-02-14T00:04:44.000Z","updated_at":"2024-08-18T11:59:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"f05096cb-8894-47b5-bcd8-201f2fa77fc7","html_url":"https://github.com/kyr0/astro-launchpad","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/kyr0%2Fastro-launchpad","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kyr0%2Fastro-launchpad/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kyr0%2Fastro-launchpad/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kyr0%2Fastro-launchpad/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kyr0","download_url":"https://codeload.github.com/kyr0/astro-launchpad/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224393950,"owners_count":17303725,"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":["astro","authentication","bootstrap","i18next","microservices","preact","robots-txt","scaffold","sitemap-xml","template"],"created_at":"2024-08-01T15:00:36.923Z","updated_at":"2024-11-13T04:58:06.806Z","avatar_url":"https://github.com/kyr0.png","language":"CSS","funding_links":[],"categories":["CSS"],"sub_categories":[],"readme":"# Welcome to [Astro Launchpad](https://astro-launchpad.vercel.app/)\n\nDemo site: https://astro-launchpad.vercel.app/\n\nThis is an Astro 2.0 template project that can be used to launch decent projects with Astro, boosters included (hence the name). \n\nYou'll find this project configured with SSG and SSR routes together in one Astro project using Astro 2.0's hybrid output. It is configured to deploy to Vercel for hosting, SSR and API microservices (serverless and edge, as you wish), for which even API clients are automatically generated in `pages/api-client`. \n\nTurborepo is used to manage the monorepo. This project follows the `turbo` best practices for `eslint`, `prettier`, `tsconfig`, code sharing and build caching (local and remote).\n\n## Project layout\n\nThis project deploys on [Vercel](https://vercel.com/). You can clone this repo and deploy it on Vercel.\nMake sure to set the root directory to: `apps/server` as this is the primary Astro project we deploy!\n\n\u003cimg src=\"vercel-root-dir.png\" /\u003e\n\nYou can find the Vercel configuration in `apps/server/vercel.json`. It makes sure that `turbo` is used.\nI've also decided to activate [Remote Caching](https://turbo.build/repo/docs/core-concepts/remote-caching).\n\n### App\n\nYou can have many apps in parallel that could re-use code from the packages. They are always located in the `apps` folder. By default, one `server` app is created and serves are the primarily deploy target for Vercel.\n\n- `apps/server`: An Astro 2.0 hybrid rendering-enabled project. Implements the application logic, all the pages, application data, API microservice endpoints etc. pp.\n\nThe project is also pre-configured with `@vercel/analytics`, `preact`, `astrojs-service-worker`, `@astrojs/image`, `astro-robots-txt`, `astro-sitemap`, `astro-webmanifest`, `eslint`, `browserslist`, `dotenv`, `prettier`, `tsconfig` custom base config. \n\n### Image optimization\n\nThis project comes with the `sharp` package for local image optimization pre-configured.\nMake sure to run in case that you're running into issues like: 'Something went wrong installing the \"sharp\" module':\n\n`brew uninstall vips` (in case it is already installed via brew)\n\n`npm install --ignore-scripts=false --foreground-scripts --verbose sharp`\n\n### Shared packages\n\nShared packages are located in `packages/*`, such as:\n\n- `packages/components`: Astro components to be used by all Apps and packages\n- `packages/i18n`: Internationalization layer (isomorphic, based on `i18next`)\n- `packages/auth`: Authentication layer (isomorphic based on `auth-astro`)\n- `packages/icons`: A collection of SVG icons\n- `packages/reactive`: A nano library of helper functions to work with Preact\n- `packages/theme`: Tailwind theming helper library to merge CSS classes into one\n- `packages/tsconfig`: A unified tsconfig that is used in all packages and apps\n- `packages/format`: Prettier configuration for all packages and apps\n- `packages/eslint-config-custom`: Eslint configuration for all packages and apps\n\n## Performance stats\n\n- No cache (Vercel, remote in CI/CD): Builds in 40s\n- With cache (Vercel, remote in CI/CD): FULL TURBO: 6s, one package or app affected: 34s (of which 24s is `yarn install`...)\n- Locally, full build: 3.79s (on a Apple M1 Max machine/2021)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkyr0%2Fastro-launchpad","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkyr0%2Fastro-launchpad","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkyr0%2Fastro-launchpad/lists"}