• Stars
    star
    298
  • Rank 134,888 (Top 3 %)
  • Language Astro
  • License
    MIT License
  • Created over 2 years ago
  • Updated 4 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Personal Blog Template Powered by Astro

Astro Blog Template

Screenshot

๐Ÿ‘‰ Check out the โœจ Live Demo โœจ

๐Ÿ‘ฉโ€๐Ÿš€ Getting Started

Locally

npm init astro -- --template Charca/astro-blog-template

On StackBlitz

Open in StackBlitz

โœจ Features:

  • โœ… Astro 1.0
  • โœ… Dark Mode
  • โœ… Full Markdown support
  • โœ… SEO-friendly setup with canonical URLs and OpenGraph data
  • โœ… RSS 2.0 generation
  • โœ… Sitemap.xml generation

๐Ÿš€ Project Structure

Inside of your Astro project, you'll see the following folders and files:

/
โ”œโ”€โ”€ public/
โ”‚   โ”œโ”€โ”€ robots.txt
โ”‚   โ””โ”€โ”€ favicon.ico
โ”œโ”€โ”€ src/
โ”‚   โ”œโ”€โ”€ components/
โ”‚   โ”‚   โ””โ”€โ”€ Tour.astro
โ”‚   โ””โ”€โ”€ pages/
โ”‚       โ””โ”€โ”€ index.astro
โ””โ”€โ”€ package.json

Astro looks for .astro or .md files in the src/pages/ directory. Each page is exposed as a route based on its file name.

There's nothing special about src/components/, but that's where we like to put any Astro/React/Vue/Svelte/Preact components.

Any static assets, like images, can be placed in the public/ directory.

๐Ÿงž Commands

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

Command Action
npm install Installs dependencies
npm run dev Starts local dev server at localhost:3030
npm run build Build your production site to ./dist/
npm run preview Preview your build locally, before deploying

๐Ÿ‘€ Want to learn more?

Feel free to check Astro's documentation or jump into Astro's Discord server.

More Repositories

1

bootbot

Facebook Messenger Bot Framework for Node.js
JavaScript
967
star
2

view-transitions-live

View Transitions API Demo
Astro
252
star
3

astro-movies

Movie DB App built with Astro
Astro
203
star
4

astro-records

Astro SPA Demo
TypeScript
188
star
5

sapper-blog-template

Markdown-based Blog Built with Sapper
CSS
179
star
6

cloudflare-pages-auth

Basic Authentication for Cloudflare Pages
TypeScript
174
star
7

reactjs-conf-2016

React.js Conf 2016 React Native App
JavaScript
133
star
8

astro-photo-gallery

Astro + View Transitions Photo Gallery Demo
TypeScript
86
star
9

astro-3d-view-transitions

Astro + View Transitions + React Three Fiber Demo
Astro
74
star
10

astro-view-transitions

Demo of Astro MPA using the View Transitions API
CSS
66
star
11

astro-music

Demo ssing Astro and the Shared Element Transition API
Astro
36
star
12

astro-blog-view-transitions

Astro Blog + View Transitions Demo
Astro
13
star
13

svelte-match3

Match 3 game with Svelte
Svelte
12
star
14

react-lab

React and Flux Training
12
star
15

astro-remove-bg

AI Background Removal app built with Astro + Replicate
Astro
11
star
16

astro-view-transitions-grid

Astro 3.0 + View Transitions Demo
Astro
10
star
17

gulp-arialinter

Gulp plugin for the accessibility tool AriaLinter
JavaScript
9
star
18

gulp-backbone

Boilerplate for Gulp + Backbone.js apps
JavaScript
7
star
19

pokenum

Guess the Pokรฉmon Game for Facebook Messenger
JavaScript
7
star
20

bootbot-cli

BootBot CLI
JavaScript
7
star
21

fake-stripe

Very raw prototype of a Docs Site with features inspired by Stripe Docs, powered by Astro and Starlight
Astro
7
star
22

astro-stable-diffusion

Demo of Astro + Stable Difussion using a Replicate API
Astro
6
star
23

open-prode

Prode Futbol Argentino built with Flux + React
JavaScript
5
star
24

netlify-functions-example

HTML
2
star
25

sveltekit-wordle

Wordle Clone Built with SvelteKit
TypeScript
1
star
26

react-flux-starter

Simple starter kit for webapps using React + Flux
JavaScript
1
star
27

laravel-starter

Laravel + React + Tailwind CSS Starter
PHP
1
star
28

flux

Example app using Flux + React
JavaScript
1
star
29

bookbone

A Backbone + Marionette SPA to find awesome books
JavaScript
1
star
30

nextjs-netlify

JavaScript
1
star
31

charca.dev

Home of https://charca.dev
CSS
1
star
32

talks

Decks and demos for talks I've given.
JavaScript
1
star
33

twimeline-reapp

Twitter client made with Reapp
1
star
34

svelte-beerjs

Deck and demos of Svelte BeerJS CBA Talk
JavaScript
1
star
35

pacamara-astro

Clone of pacamara-astro template
Astro
1
star