Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/miyaoka/gh-blog
GitHub Issue as Blog
https://github.com/miyaoka/gh-blog
Last synced: 6 days ago
JSON representation
GitHub Issue as Blog
- Host: GitHub
- URL: https://github.com/miyaoka/gh-blog
- Owner: miyaoka
- License: mit
- Created: 2018-03-03T20:14:36.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T14:28:19.000Z (11 months ago)
- Last Synced: 2023-12-15T15:37:27.624Z (11 months ago)
- Language: Vue
- Homepage: https://gh-blog.netlify.com/
- Size: 349 KB
- Stars: 30
- Watchers: 5
- Forks: 3
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![github-blog](https://user-images.githubusercontent.com/1443118/37141522-a05a276a-22f8-11e8-9d4c-652150986e93.png)
# gh-blog
> GitHub Issue as Blog
## Article
- [tweet: "azuさんがGitHubのIssueをコンテンツに使う話してて面白そうだったので、とりあえず作ってみてる"](https://twitter.com/miyaoka/status/970040889513922561)
- [GitHub Issuesでブログを作る - Qiita](https://qiita.com/miyaoka/items/1922d5d8528fe31016b9)## Demo
Demo site: https://gh-blog.netlify.com/
## Env settings
### Use direnv
* Copy `.envrc.example` to `.envrc`
### Fill out params
Create your OAuth tokens at [Personal Access Tokens](https://github.com/settings/tokens), and set below.
* `GH_READONLY_TOKEN`: (Required) To fetch issues.
* Select scopes: Turn off all scopes. (will display as `public access`)
* `GH_WRITE_TOKEN`: (Optional) To edit issues on blog site. Don't use in public!!
* Select scopes: Only `public_repo` scope.Set target repository
* `GH_REPO_OWNER`
* `GH_REPO_NAME`## Build Setup
```bash
# install dependencies
$ npm install # Or yarn install# serve with hot reload at localhost:3000
$ npm run dev# build for production and launch server
$ npm run build
$ npm start# generate static project
$ npm run generate
```For detailed explanation on how things work, checkout the [Nuxt.js docs](https://github.com/nuxt/nuxt.js).