markhorn-dev / astro-sphere

Astro Sphere is a static, minimalist, lightweight, lightning fast portfolio and blog.

Home Page:https://astro-sphere-demo.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Astro Sphere Lighthouse Score

Astro Sphere is a static, minimalist, lightweight, lightning fast portfolio and blog theme based on my personal website.

It is primarily Astro, Tailwind and Typescript, with a very small amount of SolidJS for stateful components.

πŸš€ Deploy your own

Deploy with Vercel Deploy with Netlify

πŸ“‹ Features

  • βœ… 100/100 Lighthouse performance
  • βœ… Responsive
  • βœ… Accessible
  • βœ… SEO-friendly
  • βœ… Typesafe
  • βœ… Minimal style
  • βœ… Light/Dark Theme
  • βœ… Animated UI
  • βœ… Tailwind styling
  • βœ… Auto generated sitemap
  • βœ… Auto generated RSS Feed
  • βœ… Markdown support
  • βœ… MDX Support (components in your markdown)
  • βœ… Searchable content (posts and projects)

πŸ’― Lighthouse score

Astro Sphere Lighthouse Score

πŸ•ŠοΈ Lightweight

All pages under 100kb (including fonts)

⚑︎ Fast

Rendered in ~40ms on localhost

πŸ“„ Configuration

The blog posts on the demo serve as the documentation and configuration.

πŸ’» Commands

All commands are run from the root of the project, from a terminal:

Replace npm with your package manager of choice. npm, pnpm, yarn, bun, etc

Command Action
npm install Installs dependencies
npm run dev Starts local dev server at localhost:4321
npm run dev:network Starts dev server on local network
npm run sync Generates TypeScript types for all Astro modules.
npm run build Build your production site to ./dist/
npm run preview Preview your build locally, before deploying
npm run preview:network Starts preview server on local network
npm run astro ... Run CLI commands like astro add, astro check
npm run astro -- --help Get help using the Astro CLI
npm run lint Run ESLint
npm run lint:fix Auto-fix ESLint issues

πŸ—ΊοΈ Roadmap

A few features I plan to implement

  • ⬜ Code Blocks - copy to clipboard
  • ⬜ Article Pages - Table of Contents
  • ⬜ Article Pages - Share on social media

✨ Acknowledgement

Theme inspired by Paco Coursey, Lee Robinson and Hayden Bleasel

πŸ›οΈ License

MIT

1.0.1 Update

Added ability to run dev and preview on local network. added npm run dev:network added npm run preview:network

Added slightly more particle density in both light and dark mode.

Added subtle dark mode star and meteor animations.

Removed eslint config

About

Astro Sphere is a static, minimalist, lightweight, lightning fast portfolio and blog.

https://astro-sphere-demo.vercel.app

License:MIT License


Languages

Language:Astro 63.3%Language:TypeScript 21.4%Language:JavaScript 9.8%Language:CSS 3.8%Language:MDX 1.8%