Ingen beskrivning

kPherox d4ef34dfd3 fix: use `os.TempDir()` instead of hard coded `/tmp` 2 veckor sedan
.gitignore 5b697fa22d Initial commit 4 år sedan
LICENSE 5b697fa22d Initial commit 4 år sedan
README.adoc 9e9e752503 docs: command use full path instead of set `PATH` 5 månader sedan
emoji-pack.go 46ddae664d emoji filename unescape percent encode 4 år sedan
emojis.go 0ea84b4027 fetch & parse custom emojis 4 år sedan
go.mod 125b58bccc chore: module name to lowercase 3 år sedan
go.sum 61a37b0272 command-line argument parser 4 år sedan
masto-emoji-pack.go 9ef6321d90 change default to remove old files 4 år sedan
options.go d4ef34dfd3 fix: use `os.TempDir()` instead of hard coded `/tmp` 2 veckor sedan
version.go 9ef6321d90 change default to remove old files 4 år sedan

README.adoc

= masto-emoji-pack

MastodonやPleromaのカスタム絵文字をダウンロードしてきてPleromaで使えるEmoji Packの形にするもの

== Requirements
* Go (latest checked: 1.14.3)

== Installation

[source, console]
----
$ go install github.com/kpherox/masto-emoji-pack@latest
----

== Usage

. デフォルトで `tmp` にEmoji Packを作ります
+
[source, console]
----
$ ~/go/bin/masto-emoji-pack example.com
Success: example.com
/tmp/example_com
----

. `-p`, `--path` オプションを使って保存先を変更できます
+
[source, console]
----
$ ~/go/bin/masto-emoji-pack -p. example.com
Success: example.com
example_com
----

. `-s`, `--split` オプションを付けるとカテゴリごとにEmoji Packを作ります
+
[source, console]
----
$ ~/go/bin/masto-emoji-pack -sp. example.com
Success: example.com
example_com/category1
example_com/category2
example_com/category3
----

=== Help

Usage: `masto-emoji-pack [-hsv] [-p PATH] DOMAIN...`

`-h`, `--help`:: show help message
`-p`, `--path=PATH`:: generate emoji pack directory [/tmp]
`-s`, `--split`:: split emoji pack via category
`-v`, `--version`:: show version info

== License
MIT Licenseです。 https://github.com/kPherox/masto-emoji-pack/blob/master/LICENSE[LICENSE]を確認してください