https://github.com/eniehack/2ch.sh
UNIX哲学に基づいた2ちゃんねる専用ブラウザ
https://github.com/eniehack/2ch.sh
2chan shell unixphilosophy
Last synced: about 1 month ago
JSON representation
UNIX哲学に基づいた2ちゃんねる専用ブラウザ
- Host: GitHub
- URL: https://github.com/eniehack/2ch.sh
- Owner: eniehack
- Created: 2023-10-27T00:21:09.000Z (over 1 year ago)
- Default Branch: trunk
- Last Pushed: 2023-11-01T06:22:38.000Z (over 1 year ago)
- Last Synced: 2025-02-13T06:31:38.786Z (3 months ago)
- Topics: 2chan, shell, unixphilosophy
- Language: Python
- Homepage:
- Size: 12.7 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 2ch.sh
2ch browser based on UNIX philosophy.
UNIX哲学に基づいた2ちゃんねる専用ブラウザ
## requirement
- POSIX compatiple OS
- curl
- python
- to make bbsmenu usable## install
```shell-session
mkdir -p $XDG_CACHE_HOME/2ch.sh
```git clone & cd
## usage
### 板一覧を取得する
```shell-session
curl menu.5ch.net/bbsmenu.html | iconv -f sjis -t utf8 | python contrib/mkbbsmenu.py
```### 板にあるスレタイを取得する
```shell-session
getsubject {板のURL}
```fzfなどのfuzzy finderを使えばスレタイから検索できます
```shell-session
getsubject {板のURL} | fzf
```さらにfzfは選択した行を出力するので、結果を加工することでスレを読むこともできます(対応予定)
### スレを読む
```shell-session
getdat $THREAD_URL
```読みやすい形に変換してlessなどのpagerで読むと読みやすいです:
```shell-session
getdat $THREAD_URL | parsedat | less
```