Giter Site home page Giter Site logo

vule20.github.io's Introduction

This is my personal website bootstrapped with create-next-app. If you wanna use my template, just feel free to do so and give me a star!

Features

This website is built with react, nextjs and react-notion-x. For the projects and blogs, I find it much easier to write in notion. In my opinion, Notion is the best note-taking app out there, so why not taking note in Notion and use some third-party library to generate such the page inside my own react website?. I use react-notion-x to achieve this, you can take a closer look at my source code in blogs to see how I achieve it.

To generate contents from your notion page, you need to get the BLOG_ROOT_PAGE_ID and BLOG_ROOT_SPACE_ID from your own website. ROOT_PAGE_ID is the id at the root page as shown here alt text

To find the ROOT_SPACE_ID in your notion page, right click and click on Inspect Element, then Ctrl-F, type spaceId and copy the ID after the spaceId= in your browser as shown here. alt text

I have an example environment file named .env.example for you to begin with. To use it in your project, run mv .env.example .env to change it to .env and modify these values accordingly.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.

This project uses next/font to automatically optimize and load Inter, a custom Google Font.

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.

Contact

If you have any issues or questions, feel free to ask me!

vule20.github.io's People

Contributors

vule20 avatar

Watchers

 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.