Giter VIP home page Giter VIP logo

Nobelium

A static blog build on top of Notion and Nextjs, deployed on Vercel.

Demo: https://nobelium.vercel.app/

Screenshot

Highlights โœจ

๐Ÿš€ ย Fast and responsive

  • Fast page render and responsive design
  • Fast static generation with efficient compiler

๐Ÿค– ย Deploy instantly

  • Deploy on Vercel in minutes
  • Incremental regeneration and no need to redeploy after update the content in notion

๐Ÿš™ ย Fully functional

  • Comments, full width page, quick search and tag filter
  • RSS, analytics, web vital... and much more

๐ŸŽจ ย Easy for customization

  • Rich config options, support English & Chinese interface
  • Built with Tailwind CSS, easy for customization

๐Ÿ•ธ ย Pretty URLs and SEO friendly

Quick Start

  • Star this repo ๐Ÿ˜‰
  • Duplicate this Notion template, and share it to the public
  • Fork this project
  • Customize blog.config.js
  • (Optional) Replace favicon.svg, and favicon.ico in /public folder with your own
  • Deploy on Vercel, set following environment variables๏ผš
    • NOTION_PAGE_ID (Required): The ID of the Notion page you previously shared to the web, usually has 32 digits after your workspace address
    • NOTION_ACCESS_TOKEN (Optional, not recommended): If you decide not to share your database, you can use token to let Nobelium grab data from Notion database. You can find it in your browser cookies called token_v2
      • Keep in mind Notion token is only valid for 180 days, make sure to update manually in vercel dashboard, we probably switch to Official API to resolve this issue in the future. Also, images in Notion database will not properly rendered
  • That's it! Easy-peasy?
Wait for a sec, what is Page ID๏ผŸ

Play With Docker

Unofficial, thanks to @Vaayne's work!

Build Docker image yourself

# set env
export NOTION_PAGE_ID=xxx # your NOTION_PAGE_ID
export IMAGE=nobelium:latest

# build with docker
docker build -t ${IMAGE} --build-arg NOTION_PAGE_ID .

# run with docker
docker run -d --name nobelium -p 3000:3000 -e NOTION_PAGE_ID=${NOTION_PAGE_ID} nobelium:latest

Use default docker image

# pull image
docker pull ghcr.io/craigary/nobelium:main

# run with docker
docker run -d --name nobelium -p 3000:3000 -e NOTION_PAGE_ID=${NOTION_PAGE_ID} ghcr.io/craigary/nobelium:main

Roadmap

Check out our roadmap here

  • Better SEO
  • Dark mode
  • Open Graph support
  • Switch to react-notion-x
  • Sitemap
  • ...

Technical details

  • Generation: Next.js and Incremental Static Regeneration
  • Page render: react-notion-x
  • Style: Tailwind CSS and @tailwindcss/jit compiler
  • Comments: Gitalk, Cusdis and more

Special Thanks

Notion CN Community
Notion CN Community
yokinist
SilentDepth
Reynard
Lee Robinson
Niin
Spencer Woo

Contributors

Craig Hart
Craig Hart

๐ŸŽซ ๐Ÿ”ง ๐ŸŽจ ๐Ÿ›
yokinist
yokinist

๐Ÿ”ง ๐Ÿ›
Reynard
Reynard

๐ŸŽจ ๐Ÿ›
Niin
Niin

๐Ÿ”ง ๐Ÿ›
Ruter
Ruter

๐Ÿ”ง ๐Ÿ›

License

The MIT License.

Harry Kwon's Projects

auto_android icon auto_android

A free AutoWallpaper changer app with Unsplash's pictures.

colorpicker icon colorpicker

ColorPicker - Get Represent Color Of Image | Unsplash API Used

gomailer icon gomailer

Go & Redis based mailer container for MSA

gpt4free icon gpt4free

decentralising the Ai Industry, free gpt-4/3.5 scripts through several reverse engineered api's ( poe.com, phind.com, chat.openai.com, phind.com, writesonic.com, sqlchat.ai, t3nsor.com, you.com etc...)

hydrogen icon hydrogen

React-based framework for building dynamic, Shopify-powered custom storefronts.

quick_setup icon quick_setup

ํ”„๋กœ์ ํŠธ๋ฅผ ๋น ๋ฅด๊ฒŒ SETUPํ•˜๊ธฐ ์œ„ํ•œ Repository

smartcycle-sort_up_trash_by_oneshot icon smartcycle-sort_up_trash_by_oneshot

[STAC 2019 ์Šคํƒ ๋ฏธ๋ž˜์‚ฐ์—…๋ถ€๋ฌธ ๋Œ€์ƒ ์ˆ˜์ƒ์ž‘] ์ธ๊ณต์ง€๋Šฅ์ด ์•Œ๋ ค์ฃผ๋Š” ๋ถ„๋ฆฌ์ˆ˜๊ฑฐ, SmartCycle

upbit-trading-bot icon upbit-trading-bot

์•”ํ˜ธํ™”ํ ํŠธ๋ ˆ์ด๋”ฉ ๋ด‡ (feat. ์—…๋น„ํŠธ)

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.