I got bored today so I spent the past few hours writing a 4chan browser for your terminal.
It's far from perfect and the output is very lacking, but the basics are there. Right now I'm making the output a little prettier and a little more informative.
If anyone has any feature requests or finds any bugs, please open an issue here: https://github.com/eon8ight/4chan-term
pretty cool, d00d! probably not something i'm going to use, but i'm working on something involving perl and the 4chan API so i'll definitely check out your code.
Can you post with it?
>>60305772
Unfortunately no. The 4chan API is read-only.
Is that fucking Watashi
>>60305895
How do apps like Clover submit a post? Genuinely curious.
>>60305960
Not sure. Clover is open-source, so I'll take a look and see how they do it and see if I can implement it in my terminal viewer.
>>60305439
This is really cool anon! Very neat!
>>60305439
nice. how did you render the images in the terminal?
>>60305439
good shit anon, now just implement posting with displaying legacy captcha in terminal and you've got something
>>60306089
Any news on this?
>>60305439
Are you still working on it?
>>60306437
Perl calls img2txt (from caca-utils) on the image and prints the ANSI output.
>>60306463
Looks like it's ultimately a well-formed POST request. This might be useful: https://github.com/Floens/Clover/blob/5fbce3e31d86f543a4313079a155e1483d511b43/docs/4chan/gcaptcha.txt
>>60306663
I pushed a few changes to make threads and posts more readable. I'm going to bed so I'm going to make a few changes tomorrow. There's a problem with displaying posts I want to fix - the output gets piped to less, and when you hit q before all the posts in a thread or in the catalog have been loaded, it quits the entire script instead of the less instance.
>>60306753
Addendum - here's what the output looks like now.
>>60306753
>I'm going to make a few changes tomorrow.
I will lurk.
>>60305439
really neat op
>>60305439
Are you kidding me? I wanted to write such a thing as well, after I finished the Krautchan BBS. Holy shit. https://github.com/n4n0GH/KrautBBS
Good job though.
It might be worth looking into sixels as a way to improve the image rendering, though this will only work on some terminals.
https://en.wikipedia.org/wiki/Sixel
>>60305439
Looks pretty neat, you might be able to bypass the post capcha with a pass?
I'm not really sure how it would work though.