/tech/ - Technology

101010

Posting mode: Reply

Check to confirm you're not a robot
Name
Email
Subject
Comment
Password
Drawing x size canvas
File(s)

Remember to follow the rules

Max file size: 350.00 MB

Max files: 5

Max message length: 4096

Manage Board | Moderate Thread

Return | Catalog | Bottom

Expand All Images


EndChan/InfinityNow Terminal Client Morphosis 06/03/2018 (Sun) 21:18:45 [Preview] No. 12749
How hard would it be to create a terminal client for endchan/InfinityNow? I know that the OverChan android app can view this site; does that work by scraping or is there an API?

It would be much more comfy to browse here from the terminal than through the browser. You could have proper keyboard navigation between posts, and you wouldn't need a mouse at all. The biggest issue that comes to mind would be solving the captcha for making posts.


Anonymous 06/04/2018 (Mon) 16:21:59 [Preview] No.12751 del
Why would you browse an imageboard on the terminal?


Morphosis 06/04/2018 (Mon) 17:33:41 [Preview] No.12752 del
>>12751
It's a better browsing experience. You don't need to bloat the program with "web features" that are never going to be used. Me browsing only this page uses 400MB of RAM due to the fact that I have to open Firefox. You also get dedicated controls (as mentioned above).

As for the actual viewing of images, most terminals have support for rendering images (ranger, for example, has thumbnail support for images), and if they don't it's not too hard to make a script to open sxiv or something to view them.


Anonymous 06/04/2018 (Mon) 18:07:00 [Preview] No.12753 del
Lynx


Anonymous 06/04/2018 (Mon) 22:08:56 [Preview] No.12755 del
>>12753
This.


Anonymous 06/05/2018 (Tue) 03:37:03 [Preview] No.12757 del
>>12749
>How hard would it be to create a terminal client for endchan/InfinityNow?
That depends on you, namefag.
http://s6424n4x4bsmqs27.onion/tech/res/12749.json


Anonymous 06/20/2018 (Wed) 20:37:06 [Preview] No.12803 del
>>12752
second


Anonymous 06/21/2018 (Thu) 23:43:07 [Preview] No.12805 del
>>12749
I coded a little emacs extension parsing the json of a thread to a very readable org file (to save threads). So making a client wouldn't be that hard. But I'll not share it.


Anonymous 06/29/2018 (Fri) 16:36:08 [Preview] No.12811 del
Use emacs.
There are several ways to browse the web from it.


Anonymous 07/08/2018 (Sun) 09:39:38 [Preview] No.12825 del
https://github.com/bcskda/2ch-cli
Ncurses-based console client for sosach, you might try to fork it and change API.


Anonymous 08/03/2018 (Fri) 17:28:24 [Preview] No.12856 del
(4.95 MB 1920x1080 untitled.webm)
>>12749
Thanks for the idea, OP


Anonymous 08/06/2018 (Mon) 20:03:18 [Preview] No.12857 del
>>12856
:O

Is this for real?


Anonymous 08/07/2018 (Tue) 17:01:02 [Preview] No.12858 del
>>12857
Yup. It's real.
So far I'm focused on making a read-only browser, but I hope that with w3mimgdisplay I'll be able to add posting mode and captchas inside the terminal.
But before any public release I plan to revise the UI, add proper text formatting & post image viewing and make the backend more flexible.


Anonymous 08/08/2018 (Wed) 19:29:00 [Preview] No.12859 del
>>12858
I'm hard as diamonds rt


Anonymous 10/28/2018 (Sun) 14:37:33 [Preview] No.12945 del
So, one infinity later, anon delivers.
This thing is nowhere near completion, and the code is mediocre at best, but it has it's main features implemented, so it's time to share it, I guess.


Anonymous 10/28/2018 (Sun) 21:06:30 [Preview] No.12947 del
>>12946
I was going to write something similiar a week ago, but thought "Nah, too lazy". Thanks for it, anon!

BTW, what's your terminal font?


Anonymous 10/28/2018 (Sun) 21:23:18 [Preview] No.12948 del
>>12947
np dude.
My font is lucy tewi.
https://github.com/Lucy/tewi-font


Anonymous 11/14/2018 (Wed) 17:42:10 [Preview] No.12996 del
>>12945
Your code is the best code until someone do it better. Thanks for share the code.


Anonymous 11/15/2018 (Thu) 05:42:43 [Preview] No.12998 del
>>12753
w3m works pretty well too.



Top | Return | Catalog | Post a reply