[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

4chan CLI reader

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 38
Thread images: 6

File: terminal.png (86KB, 500x500px) Image search: [Google]
terminal.png
86KB, 500x500px
/g/, I need a command line interface to browse 4chan. It exists? If no, what is the better option/workaround to this?
>>
no one needs a command line anything
>>
>>55986879
I really need.
>>
>>55986875
lynx
>>
>>55986918
i-i really need you too, anon.
>>
>>55986918
I want you to want me
>>
links, elinks, lynx, etc
>>
>>55986934
>>55986979
This isn't just too ugly or difficult to move on long threads?
>>
elinks or w3m would be best
>>
>>55986998
its a cli, of course it is going to be difficult.
>>
>>55987022
I'm looking for something like this: https://github.com/michael-lazar/rtv
Easy to move in threads/comments/whatever.
But for 4chan, not for fucking reddit shit.
>>
This is an imageboard. We use it to post images.
>>
>>55987071
How do you imagine to solve the captchas
>>
>>55987096
Every image has a link.
>>
>>55986875
> wants to browse an imageboard in a text terminal
>>
>>55987110
jew pass ofc
>>
>>55986934
no js
>>
>>55989750
Why would you need js in the first place? Everything can be written in bash anyway.
>>
>>55986918
i-if you want you can use my bucci, anon
>>
>>55987071
You should just go with Usenet instead desu.
Or maybe something like nntpchan.
Because those at least separate the data from presentation, which is the only sane way to handle this. Having to scrape website and decompose the data yourself is n't worth the trouble.
Even telnet BBS would be better off, since you could typically use QWK program there to download messages for offline reading.
>>
>>55986979
Links doesn't show catalog properly.
>>
>>55991165
Nothing without javascript will, which is every way to browse from the terminal.
>>
That's it. The birth of a new idea for a new program by /g/.

First we need a logo.
>>
if you just need it to be keyboard driven/low resource usage, you can use qutebrowser.
That is, as long as you use the old captcha and don't mind not being able to make threads. And the odd Qt lib crash from unmaintained code.
>>
File: polatitsfinest.png (29KB, 297x486px) Image search: [Google]
polatitsfinest.png
29KB, 297x486px
>>55991434
I'm in

Do this for a laff:

wget -q -O - 'https://boards.4chan.org/pol/thread/84650730/the-hell-is-going-on-with-this' > test.html
nokogiri -e'puts @doc.search('"'"'//blockquote//text()'"'"').map(&:text).delete_if{|x| x !~ /\w/}' test.html|grep -v '>>'|tr -s '> .' ' \n '|sort|uniq -c|sort -n -r|less
>>
File: (PNG Image, 192 × 192 pixels).png (2KB, 192x192px) Image search: [Google]
(PNG Image, 192 × 192 pixels).png
2KB, 192x192px
>>55991434
>>
>>55991720
oh man, if the entire program doesn't exclusively use unix coreutils, it couldn't be a /g/ project.
I wonder if there's a GNU XML parser.
>>
>>55986875
w3m with image support actually does pretty well on 4chan.
>>
File: this-thread.png (50KB, 1327x388px) Image search: [Google]
this-thread.png
50KB, 1327x388px
>>55991770
I'm down with that too.

This thread
>>
File: dpt.png (74KB, 1321x851px) Image search: [Google]
dpt.png
74KB, 1321x851px
>>55991831
I couldn't get piping to/from shell functions working in 5 minutes, so I ragequit.
>>
>>55986875
You can do it in like 15 minutes with python and requests
>>
>>55991975
Have I worshipped the wrong god ?
>>
>>55992048
from what I've seen ruby's about the same
>>
>>55991753
Kek.
I would totally use a cli or tui 4chan browser, but getting images to work with an external program reliably and get captcha to work could be hard.
>>
>>55990295
>what is 4chan api
>>
How about you just use the internet like normal fucking person instead of trying to look like a 1337h4x0r?
>>
>>55993007
this
i cant wait to hear whatever bullshit reason you all come up with to try and justify using a cli interface for a fucking imageboard
>>
>>55993007
Jesus.

No I am with Core/GNU guy. It needs to happen.
Thread posts: 38
Thread images: 6


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.