Skip to content

Instantly share code, notes, and snippets.

@4513ECHO
Created June 12, 2022 03:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 4513ECHO/d4718d96739cf538b7822eb14acbe416 to your computer and use it in GitHub Desktop.
Save 4513ECHO/d4718d96739cf538b7822eb14acbe416 to your computer and use it in GitHub Desktop.
---
main:
shell: zsh
filter_command: fzf --ansi --no-preview --height=40% --reverse
http:
- name: high-moctane/nextword-data
description: Dataset for nextword.
url: https://github.com/high-moctane/nextword-data/archive/refs/tags/large.tar.gz
command:
env:
NEXTWORD_DATA_PATH: $XDG_CACHE_HOME/nextword/nextword-data-large
link:
- from: nextword-data-large
to: $XDG_CACHE_HOME/nextword/nextword-data-large
- name: nkf
description: Netword Kanji Filter
url: https://free.nchc.org.tw/osdn//nkf/70406/nkf-2.1.5.tar.gz
depends-on:
- koron/cmigemo
command:
build:
directory: nkf-2.1.5
steps:
- make
- make install prefix=~/.local
link:
- from: nkf
github:
- name: high-moctane/mocword-data
description: Predict next words.
owner: high-moctane
repo: mocword-data
release:
name: mocword.sqlite.gz
tag: eng20200217
command:
env:
MOCWORD_DATA: $XDG_CACHE_HOME/mocword/mocword.sqlite
link:
- from: mocword.sqlite
to: $XDG_CACHE_HOME/mocword/mocword.sqlite
- name: koron/cmigemo
description: C/Migemo
owner: koron
repo: cmigemo
command:
build:
steps:
- ./configure
# NOTE: we have to edit /etc/ld.so.conf.d/*.conf and execute `ldconfig`
- make gcc-install prefix=~/.local FILTER_CP932='nkf -s' FILTER_EUCJP='nkf -e'
link:
- from: build/cmigemo
- name: tats/w3m
description: "Debian's w3m: WWW browsable pager"
owner: tats
repo: w3m
command:
build:
steps:
# NOTE: require `apt install libgc-dev`
- ./configure
- make
- make install prefix=~/.local
link:
- from: w3m
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment