Save and manage Qiita articles in Zenn format Markdown

Overview

I manage articles on GitHub with Zenn, but I wanted to add articles I wrote in Qiita a long time ago, so I made a command to save Qiita articles in Zenn format.

Installation

GO111MODULE=on go get -u github.com/ikawaha/qiita-zenn

How to use

Under the repository ʻarticles` that works with Zenn, do the following:

$ qiita-zenn -user ikawaha -verbose
https://qiita.com/api/v2/users/ikawaha/items?page=1
Goa v3 test is a snap
I wrote the double array TRIE several times in my life
How to use the user dictionary of the morphological analyzer kagome
Make design first with goa
Get a pointer to string with golang
I implemented FST used in Lucene (regular expression match: invitation to VM approach)
Note: with golang[]Trial and error to handle byte and string reading transparently
Elasticsearch CheatSheet
I tried to make a guy who embedded a dictionary in an execution binary with a Pure Go morphological analyzer(3)final chapter
echo to pretty print json'{"apple": "red", "lemon": "yellow"}' | python -m json.Isn't the tool redundant? So I prepared a command with go
[Kagome] I tried to display the lattice of morphological analysis as a graph.
You can use gofmt to refactor golang
string with golang[]Memory copy runs when cast to byte
Character normalization with Elasticsearch icu_Do with normalizer
Compile go from source and godoc not found
The default Elasticsearch always wants to form a cluster, so be careful, or rather, set up a cluster.
"First Elasticsearch" starting with a python client
When using goxc with Travis CI for some reason go1.Build can be done only when 3
How to resolve when Validation Failed in travis setup releases
Naked improvement: go to morphological analyzer kagome-If you use bindata, the build time and binary size will be dramatically improved, and you should not be able to build the "naked morphological analysis script"!

https://qiita.com/api/v2/users/ikawaha/items?page=2
go-Embed resources at compile time with bindata!
I tried to publish the morphological analyzer kagome included in the dictionary with Pure Go
How to read the profiling tool pprof available in Go
To list only files with a specific extension contained in a folder in Go path/use filepath
I tried to make a guy who embedded a dictionary in an execution binary with a Pure Go morphological analyzer(2)Unknown word processing
I tried to make a guy who embedded a dictionary in an execution binary with a Pure Go morphological analyzer(1)
Euc on Go-To read the csv file of jp or sjis, I only had to grab one reader for conversion.
Implement DoubleArray in Go and do a Common Prefix Search
Extend slices in Go with receiver (I was addicted to trying to make a slice receiver)
Read the file line by line with Go (also csv file)
I tried a package that plots graphs in Go
Machine learning with Go(Hands-on)

https://qiita.com/api/v2/users/ikawaha/items?page=3

The images are stored in the directory ʻimg`, but I haven't changed the links in the article. You can refer to the links in the article without changing them, so there should be no problem. If the link is broken, you may need to replace it based on the image.

$ ls
img/				qiita-6fd4071187640f6bf66d.md	qiita-c4859421d67a27e9ffc6.md
qiita-1235a6c93c969591f517.md	qiita-73c0a1d975680276b2c7.md	qiita-c654f746cfe76b888a27.md
qiita-228ee3f481e9636b3065.md	qiita-79fdd69c524310db065e.md	qiita-e0c2b3ed0fedb12f4847.md
qiita-235371a7b1066ba5ea6c.md	qiita-8a01c5739401e26e8794.md	qiita-e3b35f09fb49e9217924.md
qiita-28186d965780fab5533d.md	qiita-8a94b728105e03a76468.md	qiita-ea1ca5ee90296307c4bc.md
qiita-2d58f58e4ab12918e8c9.md	qiita-8c2b3bd56ff427e9d2d0.md	qiita-edb4e18960ae6e4babc3.md
qiita-3c3994559dfeffb9f8c9.md	qiita-9ebe3e1104fb80706d99.md	qiita-f0a046428f907bf9ba98.md
qiita-540c2af34b1c381c37c1.md	qiita-adb24788f818dc9835f9.md	qiita-f43a78f171836f1ec86b.md
qiita-5d21f16218bb13eeb286.md	qiita-b57ce0d934f080cb8f72.md	qiita-f9e8b6ad2cae1eb593f7.md
qiita-61dac34ebfe2f8fa5c61.md	qiita-be95304a803020e1b2d1.md	qiita-fdcf3ccf13f23a860390.md
qiita-6638ee8b6978aef50d65.md	qiita-c02d84cfd00f8f442500.md	qiita-ff27ac03e22b7f36811b.md

Articles are created without being published. In addition, pictograms are fixed.

Zenn_Editor.png

If you can see it in the preview at Zenn's hand, it should be fine.

This will make it easier to manage articles written in Qiita ╭ (・ ㅂ ・) و ̑̑ Good!

Happy hacking!

Recommended Posts

Save and manage Qiita articles in Zenn format Markdown
Get date and time in specified format
Mutual conversion between Qiita articles and Jupyter notebook
12. Save the first column in col1.txt and the second column in col2.txt
Try using ChatWork API and Qiita API in Python