Giter Site home page Giter Site logo

yamataro-46 / easy-notion-blog Goto Github PK

View Code? Open in Web Editor NEW

This project forked from otoyo/easy-notion-blog

0.0 0.0 0.0 2.16 MB

easy-notion-blogをforkしたものです / Notion Blog

Home Page: https://easy-notion-blog-otoyo.vercel.app/blog

License: MIT License

JavaScript 5.12% TypeScript 83.83% CSS 11.06%

easy-notion-blog's Introduction

English | 日本語 | 한국어

easy-notion-blog

GitHub stars GitHub license

easy-notion-blog is a starter-kit for Notion Blog. It helps you to start your Notion Blog easily and rapidly.
  • 🚀 Quite fast page loading
  • 📝 Can write a blog on your Notion
  • 🛠️ Can fully customize the site's appearance
  • ✅ Using official Notion APIs

Please consider astro-notion-blog as it is being developed well.

Screenshots

📸 Blog side

📸 Notion side

Quick Start

Requirements

Steps

  1. Star this repo 😉
    • It makes me motivative!
  2. Duplicate the template into your Notion.
  3. Note the part of URL https://notion.so/your-account/<HERE>?v=xxxx as DATABASE_ID
    • ex) 158bd90116004cd19aca26ad88cb5c07
    • ⚠️ CAUTION: ?v=NOT_THIS_VALUE. Use ahead strings.
  4. Create an integration and note "Internal Integration Token" as NOTION_API_SECRET
  5. Share a database with your integration at the Notion database page
  6. Go to vercel.com and log-in
  7. Create new project by importing this repository otoyo/easy-notion-blog (Skip creating a team)
  8. In "Configure Project", open "Environment Variables" settings and set NOTION_API_SECRET and DATABASE_ID
  9. Your Notion Blog will be published after deploy

Demo

https://easy-notion-blog-otoyo.vercel.app/blog
See also users' sites from wiki.

How to customize

Additional requirements

  • Node.js v16 or higher
  • Yarn

Steps

  1. Fork this repo from "Fork" button and clone it into your local workspace.
  2. Create .env.local file just under the project root and put your environment variables as follows:
NOTION_API_SECRET=<YOUR_NOTION_API_SECRET>
DATABASE_ID=<YOUR_DATABASE_ID>
  1. Install dependencies and start local server.
yarn install
yarn dev

In the development environment, non-published posts are also displayed to check their appearance.
But posts without valid Slug won't be displayed.

  1. Open http://localhost:3000 in your browser.
  2. Press Ctrl+C in the terminal to stop.

For more information

See wiki.

Bug reports & feature requests

Please create an issue. Both in English and in Japanese are OK. 😉

🐦 Twitter community

You can get latest information about updates, and you can be supported by other members if you want to know how to customize.

Contribution

Pull requests are welcome.


easy-notion-blog is based on ijjk/notion-blog and otoyo/notion-blog

easy-notion-blog's People

Contributors

otoyo avatar herohoro avatar dependabot[bot] avatar ski0090 avatar n0bisuke avatar nitaking avatar shmn7iii avatar yamataro-46 avatar ymiz 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.