Skip to content

reddit/4chan/hackernews/vichan/twitter cli comment viewer

License

Notifications You must be signed in to change notification settings

azimut/cli-view

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cli-view

See some urls from the command line.

Why?

  • Current web design does not take into account people not using javascript or using a non-graphical web browser.
  • Some websites present comment in 1 dimension only, not nesting or indenting replies
  • On the websites that support nesting replies, the replies tend to be so nested that navigating them and not losing track of things becomes tedious.

Supported Sites

  • Twitter
  • HackerNews
  • Reddit
  • 4chan
  • Vichan boards
  • Discourse forums
  • Lobste.rs

Example Usage

Twitter

Uses oEmbeded twitter json api

~ » twitterview https://twitter.com/TwitterDev/status/1428061939146526722
URL: https://twitter.com/TwitterDev/status/1428061939146526722
external: https://t.co/IloBIxYGbX
image: https://pic.twitter.com/an4zhbBBKI

   All systems go! Help shape the future of Twitter Spaces with the new Spaces endpoints. ✨

3 weeks ago

HackerNews

  • Uses github.com/caser/gophernews
  • NOTE: at the moment it does NOT fetch replies to comments. Only direct comments.
~ » hackerview https://news.ycombinator.com/item\?id\=28468751
title: 60x speed-up of Linux “perf”
url: https://eighty-twenty.org/2021/09/09/perf-addr2line-speed-improvement
tonyg(211) - 5 hours ago


 FINALLY AN ACTUAL ANSWER!! :D

 I had done a bunch of research into this a while ago and filed an issue with the Ubuntu bug tracker, but was told it
 was due to ABI stability (which did not make any sense).

 https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1894407

 Understanding that there is actually an underlying license problem is like finally being told all of the reasons for
 everything that happened on LOST ;P.
>>> saurik - 33 minutes ago

Reddit

  • Uses their .json API, parsing the markdown comment in .body
~ » redditview https://www.reddit.com/r/rust/comments/120mjef/how_to_learn_rust/

title: How to Learn Rust
 self: https://www.reddit.com/r/rust/comments/120mjef/how_to_learn_rust/
  url: https://youtu.be/2hXNd6x9sZs


0atman(507) - 2 weeks ago - 103 Comment(s)



 Might be an unpopular opinion, but there's so many videos focusing on teaching or even teaching methodology for
 learning the language, but then beyond the first 30 minutes covering the absolute basics, almost all beginner to
 intermediate difficulty topics are basically gone. I see this a lot with the posts on this subreddit too. Lots of
 people dipping their feet in the waters, but few reaching the level of proficiency to fully flesh out the ecosystem.
 >> james7132(151) - 2 weeks ago

    This is akin to bikesheding (https://en.m.wikipedia.org/wiki/Law_of_triviality). It's easier just to talk the easy
    talk than explore complex scenarios or advanced topics beyond the basics. Most content always will be the same
    regurgitated things you can read on the official docs but only a few will touch real use cases or production ready
    problems.
    >> InterestingPatient49(68) - 2 weeks ago

    Might this not be a problem with any language? I don't quite follow.
    >> 0atman(11) - 2 weeks ago

    There is the, imho excellent, crust of rust series which aims to cover exactly that. But I agree that actually good
    tutorials that ho beyond the basics are sorely lacking.
    >> Jannis_Black(3) - 2 weeks ago

4chan

Uses github.com/moshee/go-4chan-api NOTE: still buggy, it will output to stdout some debug info of what it could not process

~ » fourchanview https://boards.4channel.org/g/thread/92883019/
title:
 self: https://boards.4channel.org/g/thread/92883019/
image: http://i.4cdn.org/g/1681865762986057.png (1651929037357090.png)

   this is getting ridiculous

>> 1 day ago


 that may be but i’d just look away if it bothers me
>> 1 day ago


 75% gang where you at
>> 1 day ago     | http://i.4cdn.org/g/1681865865774450.jpg (61CKHONChZL.jpg)

    ayo
   >> 1 day ago     | http://i.4cdn.org/g/1681866568437532.jpg (1681866492067.jpg)

       anon, what is that
      >> 1 day ago     | http://i.4cdn.org/g/1681874505426414.png (hmmm.png)