All Projects → luciovilla → notion-nextjs-blog

luciovilla / notion-nextjs-blog

Licence: MIT License
A starter blog template powered by Next.js, Notion and Tailwind CSS.

Programming Languages

javascript
184084 projects - #8 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to notion-nextjs-blog

wefootwear-store
next js footwear store e-commerce 🚀🚀🚀
Stars: ✭ 17 (-32%)
Mutual labels:  nextjs, tailwindcss, vercel
Personal-Site-Gourav.io
My personal site & blog made with NextJS, Typescript, MDX, Tailwind CSS. Deployed on Vercel : https://gourav.io
Stars: ✭ 64 (+156%)
Mutual labels:  nextjs, tailwindcss, vercel
Notion Blog
A Next.js site using new SSG support with a Notion backed blog
Stars: ✭ 2,339 (+9256%)
Mutual labels:  nextjs, notion, vercel
website
My portfolio 👋
Stars: ✭ 232 (+828%)
Mutual labels:  nextjs, tailwindcss, vercel
platforms
A template for site builders and low-code tools.
Stars: ✭ 1,156 (+4524%)
Mutual labels:  nextjs, tailwindcss, vercel
jahir.dev
My personal website 💎 – Built using Next.js, TypeScript, MDX, contentlayer, Notion and Stitches styled components
Stars: ✭ 119 (+376%)
Mutual labels:  notion, notion-api, vercel
portfolio
My personal portfolio website, proudly built with Next.js, TypeScript and Tailwind
Stars: ✭ 165 (+560%)
Mutual labels:  nextjs, tailwindcss, vercel
yearn-comms
Collection of communication, announcements, tweets, newsletters, and other articles about Yearn and a hosted blog for all translation contributors.
Stars: ✭ 16 (-36%)
Mutual labels:  nextjs, vercel
hn
💻 A personal Hacker News reader using Next.js
Stars: ✭ 43 (+72%)
Mutual labels:  nextjs, tailwindcss
scriptified.dev
A weekly newsletter with insightful tips, tools, resources & more on React and JavaScript. Made with NextJS && TailwindCSS. Curated by @gupta-ji6 && @prateek3255.
Stars: ✭ 18 (-28%)
Mutual labels:  nextjs, tailwindcss
dev-cover
🌐 Get and publish your developer portfolio with just your username
Stars: ✭ 155 (+520%)
Mutual labels:  nextjs, vercel
jeffjadulco.com
👽 Personal website running on Next.js
Stars: ✭ 54 (+116%)
Mutual labels:  nextjs, tailwindcss
onlysetups
OnlyFans, but for pictures of desk setups.
Stars: ✭ 82 (+228%)
Mutual labels:  nextjs, vercel
nextly-template
Nextly Landing Page Template built with Next.js & TailwindCSS
Stars: ✭ 48 (+92%)
Mutual labels:  nextjs, tailwindcss
addtobasic.github.io
CUI Portfolio like ubuntu terminal.
Stars: ✭ 18 (-28%)
Mutual labels:  nextjs, tailwindcss
faeshare
MERN based social media web app made with the help of Next.js, Socket.io and TailwindCSS.
Stars: ✭ 37 (+48%)
Mutual labels:  nextjs, tailwindcss
Batteries-Included-Next.js
A starting boilerplate for a TS Next.js project with batteries included. Tailwind CSS for styling, Jest and React Testing Library working with path aliases and node-mock-http for API route testing.
Stars: ✭ 35 (+40%)
Mutual labels:  nextjs, tailwindcss
aymaneMx.com
🎨 my personal website, built with Nuxt.js & TailwindCSS and Vue-Notion.
Stars: ✭ 26 (+4%)
Mutual labels:  notion, tailwindcss
helpafamily
Impactful ways to help families in need through donated meals, hygiene kits, and more. By Margarita Humanitarian Foundation.
Stars: ✭ 41 (+64%)
Mutual labels:  nextjs, tailwindcss
next-pwa-template
Next.js progressive web app template
Stars: ✭ 266 (+964%)
Mutual labels:  nextjs, tailwindcss

A Next.js, Notion and Tailwind CSS starter blog template

This is an open-source starter blog template that is statically generated with Next.js, content powered by Notion and styled with Tailwind CSS.

Still a work in progress.

Live example hosted on Vercel: https://blog.luciovilla.com

Getting Started

  1. Clone this repo git clone https://github.com/luciovilla/notion-nextjs-blog.git
  2. Install its dependencies npm install
  3. Copy or rename the .env.example file to .env.local
  4. Personalize the page meta data in Container.js

Creating Your Notion Pages Table

  1. Create a blank page in Notion
  2. Create a table on that page.
  3. Add the following columns to the table:
  • Page (type: title): this the blog post's headline and meta title.
  • Slug (text): this is the blog post's URL slug.
  • Date (date): the display date and meta published_time property.
  • Description (text): this is the preview text on the homepage and the meta description property.

View this sample template table in Notion.

Getting Database ID and Notion Token

  • Create a Notion Integration.
  • Copy and paste the Integration Token in the .env.local file: NOTION_TOKEN=____
  • On the Notion page, click the "Share" button in the top right and share the database with the Notion Integration you just created
  • In a browser, go to the Notion page and grab the Database ID from the URL. Its the part of the URL after your workspace name and the slash and before the question mark. The ID is 32 characters long, containing numbers and letters.
  • Paste your Database ID in the .env.local file: NOTION_DATABASE_ID=___

Creating Blog Posts

  1. In Notion click new on the table to add a new row
  2. Fill in the Page title, Slug, Date and Description
  3. Keep the Description text short, as it will be the text that shows up on the homepage as the post's preview text.

Running Locally

Run npm run dev

Deploy your own

Deploy your own Notion blog with Vercel.

Deploy with Vercel

Credits

Thankful for the following people as I was inspired by their code:

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].