Giter Site home page Giter Site logo

jmarlena / blogster Goto Github PK

View Code? Open in Web Editor NEW

This project forked from flexdinesh/blogster

1.0 0.0 0.0 3.03 MB

A collection of beautiful, accessible and performant Astro blog templates.

Home Page: https://blogster-sleek.netlify.com

License: MIT License

JavaScript 10.36% TypeScript 17.12% CSS 8.08% Astro 64.45%

blogster's Introduction

Blogster - Beautiful, accessible and performant Astroblog templates.


Blogster is a collection of beautiful, accessible and performant blog templates built with Astro and Markdoc.

Blogster is in alpha preview. If you have any feedback, please open a discussion or issue.
Follow me @flexdinesh on Twitter for updates.

Maintenance Status

Blogster was built before Astro released content collections. With content collections, Astro now has first party built in support for strongly typed content schema and Markdoc rendered content which is what Blogster was built for. So Blogster won't receive any updates in the future. I'm going to leave this as a reference for font load strategy, meta tags and a few other best practices for setting up a website.

Demo

Check out the demo for each theme.

Key Features

  • Fast. Fast by default. Astro websites are engineered to be fast and load before you could blink, even when not cached.
  • Dark mode. All themes have light/dark mode built-in.
  • Mobile first. Responsive and loads fast in all devices.
  • Accessible. A well thought out semantic and accessible content.
  • Perfect lighthouse score. 100 across the board.
  • Easy content authoring Author content using markdown (.md) from your code editor or directly in GitHub.
  • Extended markdown with Markdoc. Type-safe custom components like YouTube embed, Twitter embed (or anything you want really) in your markdown (.md) files.
  • Built in RSS feed for you blog, excellent SEO and more.

Get Started

Get started with one simple command.

npx create-blogster@latest --theme sleek

Themes

Blogster comes in a variety of themes. You can easily find one that suits and goes well with your personality. All themes are performant, accessible, SEO friendly, built with the best practices out there and have a lighthouse score of 100 across the board.

Minimal

A light weight theme built with plain old HTML and CSS. No external fonts or icons. Zero JavaScript. You get a full functional nice looking blog that loads super fast.

Check it out here - Blogster minimal template.

npx create-blogster@latest --theme minimal

Sleek

A beautiful, performant and accessible theme built with Tailwind.

Check it out here - Blogster sleek template.

npx create-blogster@latest --theme sleek

Newspaper

A beautiful, performant and accessible theme built with Tailwind.

Check it out here - Blogster newspaper template.

npx create-blogster@latest --theme newspaper

Bubblegum

A beautiful, performant and accessible theme built with Tailwind.

Check it out here - Blogster bubblegum template.

npx create-blogster@latest --theme bubblegum

FAQ

1. Why Markdoc or Why not MDX?

MDX is great but when you use MDX, your MDX content is stored as code within your `.md` files. Markdoc lets you build and use your own custom components (Eg. YouTube embed, Twitter embed, Carousel, etc) within your markdown files with a special syntax. Your content is stored as text without having to leak code (imports or JSX) into your `.md` files. You can build validations, type-safety and all sorts of customisations for your custom components with Markdoc. If you're still not convinced, hear this, you can pass Markdoc content as string (just like any other string) throughout your application, store it in local storage or send it as params over the network. IMHO, Markdoc based content authoring gives you the full flexibility of markdown without the limits of the markdown syntax.

Contributing

  • When you are using cmd+shift+F to search for references across the repo, remember to exclude templates/ dir because templates are auto-generated using a script and only add noise in search results.
  • Whatever you're changing, you will mostly only need to change in themes/ or packages/shared. The themes in templates/ dir is auto-synced using a script so you don't have to make any change in the templates/ dir.

License

MIT © Dinesh Pandiyan

blogster's People

Contributors

fisher60 avatar flexdinesh avatar jmarlena avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.