Skip to content

UNIX哲学に基づいた2ちゃんねる専用ブラウザ

Notifications You must be signed in to change notification settings

eniehack/2ch.sh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

2ch.sh

2ch browser based on UNIX philosophy.

UNIX哲学に基づいた2ちゃんねる専用ブラウザ

requirement

  • POSIX compatiple OS
  • curl
  • python
    • to make bbsmenu usable

install

mkdir -p $XDG_CACHE_HOME/2ch.sh

git clone & cd

usage

板一覧を取得する

curl menu.5ch.net/bbsmenu.html | iconv -f sjis -t utf8 | python contrib/mkbbsmenu.py

板にあるスレタイを取得する

getsubject {板のURL}

fzfなどのfuzzy finderを使えばスレタイから検索できます

getsubject {板のURL} | fzf

さらにfzfは選択した行を出力するので、結果を加工することでスレを読むこともできます(対応予定)

スレを読む

getdat $THREAD_URL

読みやすい形に変換してlessなどのpagerで読むと読みやすいです:

getdat $THREAD_URL | parsedat | less

About

UNIX哲学に基づいた2ちゃんねる専用ブラウザ

Topics

Resources

Stars

Watchers

Forks