YouMingYeh / github-blog

https://github-blog-blue.vercel.app
Apache License 2.0
0 stars 0 forks source link

Let's Blog with GitHub Blog App #1

Open YouMingYeh opened 9 months ago

YouMingYeh commented 9 months ago

GitHub Blog

A dynamic, Notion-style WYSIWYG editor that innovatively utilizes GitHub Issues as its backend database.

Structure:

Introduction

GitHub Blog is a dynamic, Notion-style WYSIWYG editor that innovatively utilizes GitHub Issues as its backend database.

Installation

To use GitHub Blog in a project, you can run the following command to install it.

git clone http://github.com/YouMingYeh/github-blog

Then, you will need to fill in the environment variables in .env.example and rename it to .env.

Note: You will need to create a GitHub App and install it on your repository. You can follow the instructions here. Also, you will need to grab the GITHUB_CLIENT_ID, GITHUB_CLIENT_SECRET, from the GitHub App you created.

Afterwards, you can run the following commands to start the app.

cd github-blog
pnpm install
pnpm run dev

Note that you will need to have Node.js and pnpm installed on your machine.

Here's an example application: https://github-blog-blue.vercel.app

Deploy Your Own

Make sure you have fill in the environment variables in .env.example and rename it to .env.

Note: You will need to configure the GitHub App's Homepage URL and Callback URL to your deployment URL.

Tech Stack

Novel is built on the following stack:

- [Next.js](https://nextjs.org/) – framework

- [Tiptap](https://tiptap.dev/) – text editor

- [Novel](https://novel.sh/) - Template

- [Vercel](https://vercel.com) – deployments

- [TailwindCSS](https://tailwindcss.com/) – styles

- [pnpm](https://pnpm.io/) – package manager

- [TypeScript](https://www.typescriptlang.org/) – language

- [GitHub API](https://docs.github.com/en/rest) – backend

- [GitHub OAuth](https://docs.github.com/en/developers/apps/building-oauth-apps) – authentication

- [GitHub Issues](https://docs.github.com/en/issues) – database

- [Shadcn/ui](https://ui.shadcn.com/) – components

YouMingYeh commented 9 months ago

That's awesome!

YouMingYeh commented 9 months ago

Can't wait to try it out!!!