Skip to content

dushaoshuai/isblog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Install

go install github.com/dushaoshuai/isblog@latest

What is isblog?

Write blogs using GitHub issues. Sync blogs to and from GitHub issues.

What it can do:

  • pull remote issue(s) to the local
  • push a local blog to GitHub issues

What it can not do:

  • create a GitHub issue
  • delete a GitHub issue
  • many other things ...

Why isblog?

I write blogs (notes) using GitHub issues. After a few writings, I found that the issues web editor is not very convenient and efficient for writing long articles. I started writing locally and copying the contents to the web editor. Finally, I decided to write a CLI to make things simpler.

Usage

The default config file is $HOME/.config/.isblog.yaml. An example config file:

owner: dushaoshuai
repo: dushaoshuai.github.io
token: <MY-TOKEN>

Usage:

$ isblog --help 
Write blogs using Github issues.
Sync blogs to and from Github issues.

Usage:
  isblog [command]

Available Commands:
  completion  Generate the autocompletion script for the specified shell
  help        Help about any command
  pull        Pull the remote Github issue(s) to the local blog(s)
  push        Push the local blog to the remote Github issue

Flags:
      --config string   config file (default $HOME/.config/.isblog.yaml)
  -h, --help            help for isblog
  -v, --version         version for isblog

Use "isblog [command] --help" for more information about a command.

About

Write blogs using github issues.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages