Keine Beschreibung

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

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]を確認してください