Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lancern/sirius-ui
Host your blog with Notion!
https://github.com/lancern/sirius-ui
blog nextjs notion notion-api tailwindcss
Last synced: 21 days ago
JSON representation
Host your blog with Notion!
- Host: GitHub
- URL: https://github.com/lancern/sirius-ui
- Owner: Lancern
- License: mit
- Created: 2021-07-01T10:18:35.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-07-07T06:35:11.000Z (over 3 years ago)
- Last Synced: 2024-11-30T00:45:15.835Z (28 days ago)
- Topics: blog, nextjs, notion, notion-api, tailwindcss
- Language: TypeScript
- Homepage: https://lancern.xyz/
- Size: 335 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# sirius-ui
This is the frontend of my personal blog site. The data of my blogs is hosted on [Notion](https://www.notion.so/). The project is carefully designed and coded so that you should be easily port this project to be your persinal blog site. For more information on porting this site, please refer to the docs (which is still under construction).
## Build and Run
Clone this project to local:
```bash
git clone https://github.com/Lancern/sirius-ui.git
cd sirius-ui
```Install dependent packages via `npm`:
```bash
npm i
```Before launching the server, you need to find out the notion page ID of your blogs list. Then export the page ID via the `NOTION_POSTS_TABLE_ID` environment variable:
```bash
export NOTION_POSTS_TABLE_ID=
```Then run a local development server:
```bash
npm run dev
```Then the site can be accessed at https://localhost:3000.
## Contribution
If you have any questions, bug reports or suggestions about this project, feel free to open an issue or a pull request.
## License
This project is open-sourced under [MIT License](./LICENSE).