No Description

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

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