Overview
Svelte Blogger is a blog built with SvelteKit, Tailwind, and DaisyUI. It is designed to be used as a personal blog. The app utilizes GraphQL and markdown to write posts. It has both a dark and light theme, as well as code blocks with syntax highlighting using the JetBrains Mono font.
Features
- Built with SvelteKit, Tailwind, and DaisyUI
- Utilizes GraphQL and markdown for writing posts
- Supports both dark and light themes
- Code blocks with syntax highlighting using the JetBrains Mono font
Installation
To use Svelte Blogger, follow these steps:
- Fork or clone the repository.
- Set up a GraphQL API. The recommended option is GraphCMS.
- Configure your GraphQL host URI and token in the environment variables.
- Open the
configfolder in thesrcdirectory and modify thebase.tsfile with your configurations. - Install the project dependencies by running
npm install(orpnpm installoryarn). - Start a development server by running
npm run dev. - To create a production version of the app, run
npm run build. - Preview the production build with
npm run preview. - To deploy the app, install an adapter for your target environment.
Summary
Svelte Blogger is a blog built with SvelteKit, Tailwind, and DaisyUI. It provides an easy-to-use platform for creating a personal blog with features like GraphQL integration, markdown support, and customizable themes. The installation process is straightforward, and the app can be quickly deployed to production.