21 votes

Tildes from the command line

How many people would be interested in browsing Tildes from a TUI, ala rtv?

26 comments

  1. [5]
    Amarok
    Link
    I think I'd like it. In fact we briefly talked about having the reply box also have a command line mode of some kind. Remember all the one-off bots with commands on reddit? "!remindme 5 days" etc....

    I think I'd like it. In fact we briefly talked about having the reply box also have a command line mode of some kind. Remember all the one-off bots with commands on reddit? "!remindme 5 days" etc. I kinda like the idea of building that stuff in as a command-line interface and not showing it all as replies.

    19 votes
    1. ruspaceni
      Link Parent
      That's a brilliant idea! When the API stuff is here you could also probably have a system where you register the command when you generate an api key, and then an event gets sent off whenever...

      That's a brilliant idea! When the API stuff is here you could also probably have a system where you register the command when you generate an api key, and then an event gets sent off whenever someone types that command in

      4 votes
    2. Soptik
      Link Parent
      That's great idea! And if bots will be allowed here, why not to do it this way? Summon bot via command in reply box and the bot will reply, but comments of bots will be only visible to the one who...

      That's great idea! And if bots will be allowed here, why not to do it this way? Summon bot via command in reply box and the bot will reply, but comments of bots will be only visible to the one who summoned him. This could have great potential.

      3 votes
    3. [2]
      tan
      Link Parent
      I like it! Sounds like a lot of design inspiration could be taken from Telegram's inline bots, too.

      I like it! Sounds like a lot of design inspiration could be taken from Telegram's inline bots, too.

      2 votes
  2. [12]
    Elijah
    Link
    Make it work in lynx or links and I'd use that some of the time. Currently lynx can't login: 400 Bad CSRF Origin Access is denied. This server can not verify that the origin or referrer of your...

    Make it work in lynx or links and I'd use that some of the time.

    Currently lynx can't login:

    400 Bad CSRF Origin
    
       Access is denied. This server can not verify that the origin or
       referrer of your request matches the current site. Either your browser
       supplied the wrong Origin or Referrer or it did not supply one at all.
       Origin checking failed - no Origin or Referer.
    

    And elinks can login, but it doesn't stick. The first page shows me the list of topics, but I can't follow any of the links, it takes me to the "Tildes is currently in invite-only alpha" page again.

    I'd try edbrowse but I'm not feeling masochistic enough right now.

    10 votes
    1. lordpipe
      Link Parent
      w3m seems to work fine, but the visual information of nested comments is deleted, making it useless.

      w3m seems to work fine, but the visual information of nested comments is deleted, making it useless.

      5 votes
    2. [3]
      Tenar
      Link Parent
      I just used lynx by the way and it worked fine.

      I just used lynx by the way and it worked fine.

      2 votes
      1. [2]
        Elijah
        Link Parent
        Hmmm. Could be a config issue. I'll have to try again.

        Hmmm. Could be a config issue. I'll have to try again.

        2 votes
        1. Tenar
          Link Parent
          I only tested it on one specific page though (a link to a post directly), not by visiting the main page right away. ymmv

          I only tested it on one specific page though (a link to a post directly), not by visiting the main page right away. ymmv

    3. [6]
      Deimos
      Link Parent
      Do you have lynx/elinks set up in a kind of enhanced privacy mode or something? Do you normally just use them to browse logged-out and read-only? It sounds like lynx isn't sending an Origin...

      Do you have lynx/elinks set up in a kind of enhanced privacy mode or something? Do you normally just use them to browse logged-out and read-only? It sounds like lynx isn't sending an Origin header, and elinks isn't retaining cookies.

      2 votes
      1. [5]
        Elijah
        Link Parent
        Trying again, I found login in lynx in my configuration consistently fails if I load https://tildes.net/ as the first page but works if I start with https://tildes.net/login — so it could be...

        Trying again, I found login in lynx in my configuration consistently fails if I load https://tildes.net/ as the first page but works if I start with https://tildes.net/login — so it could be something weird with visiting the page from a link, or somehow that interacts poorly with my lynx config. The first page does identify itself as a 403.

        Anyway, after I log in, I cannot reply to your post in lynx because: <li><a class="post-button" name="reply" data-js-comment-reply-button>Reply</a><li>. Lynx is not a javascript-capable browser.

        I found a config issue with elinks, now I can login with that. Still have the same issue trying to post.

        3 votes
        1. [4]
          Deimos
          Link Parent
          Yeah, there will be a lot of things that won't work if you can't use javascript. It's possible to fix some of it if we do things like have a separate page specifically for replying to a particular...

          Yeah, there will be a lot of things that won't work if you can't use javascript. It's possible to fix some of it if we do things like have a separate page specifically for replying to a particular comment (like Hacker News does), but that's not the sort of thing I'm going to prioritize.

          Once the site's open-source it might be something that someone feels strongly enough about to work on though.

          2 votes
          1. [3]
            Elijah
            Link Parent
            I'm blanking on how now, but I recall there's a way to make links do one thing if you have JS and another if you don't. That's a cheap way to get things to work. Or I can refresh my mind on using...

            I'm blanking on how now, but I recall there's a way to make links do one thing if you have JS and another if you don't. That's a cheap way to get things to work.

            Or I can refresh my mind on using edbrowse and try that. It supports limited javascript, but the interface is optimized for Braille displays that can only show one line at a time. This is great if you use a Braille display and non-ideal if you don't think ed represents the pinnacle of user interfaces.

            3 votes
            1. [2]
              Deimos
              Link Parent
              Yeah, that part is fairly straightforward. The part that takes more work is building an entirely separate page that only needs to exist for users without JS enabled.

              I'm blanking on how now, but I recall there's a way to make links do one thing if you have JS and another if you don't. That's a cheap way to get things to work.

              Yeah, that part is fairly straightforward. The part that takes more work is building an entirely separate page that only needs to exist for users without JS enabled.

              3 votes
              1. Elijah
                Link Parent
                Yeah, there's work there. It doesn't have to be a sophisticated page though. Just a textarea with a submit and back button.

                Yeah, there's work there. It doesn't have to be a sophisticated page though. Just a textarea with a submit and back button.

                2 votes
  3. Luca
    Link
    I’ve been planning to learn Rust for a while, so writing a Tildes CLI sounds like a perfect exercise

    I’ve been planning to learn Rust for a while, so writing a Tildes CLI sounds like a perfect exercise

    8 votes
  4. balooga
    Link
    Not me, personally, but I'm all for it if it means quickening the launch of an API.

    Not me, personally, but I'm all for it if it means quickening the launch of an API.

    6 votes
  5. [2]
    Silbern
    Link
    I would! I would be very much interested, and I'd love to look at the source code of such a project if whoever were to make such a thing would be so kind as to throw it online :D

    I would! I would be very much interested, and I'd love to look at the source code of such a project if whoever were to make such a thing would be so kind as to throw it online :D

    6 votes
    1. lordpipe
      Link Parent
      Yeah, such a client being free software is imperative.

      Yeah, such a client being free software is imperative.

      5 votes
  6. Administrator
    Link
    That'd be pretty interesting. I've been looking to move things over to the command line when possible lately. I spend a lot of my time using one anyway.

    That'd be pretty interesting. I've been looking to move things over to the command line when possible lately. I spend a lot of my time using one anyway.

    2 votes
  7. kaushalmodi
    Link
    It's already pretty decent in Emacs/eww browser: https://i.imgur.com/oGSHnw1.png Aside I believe Markdown image embedding syntax was supported at some point.. Below: ![Tildes.net in Emacs...

    It's already pretty decent in Emacs/eww browser:

    https://i.imgur.com/oGSHnw1.png


    Aside

    I believe Markdown image embedding syntax was supported at some point..

    Below:

    ![Tildes.net in Emacs eww](https://i.imgur.com/oGSHnw1.png)
    

    results in:

    !Tildes.net in Emacs eww

    2 votes
  8. Pilgrim
    Link
    A RSS feed would be nice in general, or does that exist and I've just missed it?

    A RSS feed would be nice in general, or does that exist and I've just missed it?

    1 vote
  9. benharri
    Link
    hey tildefriends: i run a linux user group over at tilde.team we're all about teaching and learning *nix stuff by working on collaborative projects. if that sounds like it would be down your...

    hey tildefriends:

    i run a linux user group over at tilde.team
    we're all about teaching and learning *nix stuff by working on collaborative projects. if that sounds like it would be down your alley, come stop by!

    this is the kind of project we're looking for!

  10. ubergeek
    Link
    A client like rtv (Reddit terminal viewer) would be super for ~tildes

    A client like rtv (Reddit terminal viewer) would be super for ~tildes