https-bot

Find http urls that can be safely replaced by https url (by fishy)

Https-bot Alternatives

Similar projects and alternatives to https-bot

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better https-bot alternative or higher similarity.

https-bot reviews and mentions

Posts with mentions or reviews of https-bot. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-04-04.
  • Show HN: I wrote an HN bot to suggest HTTPS url when people post HTTP URLs
    4 projects | news.ycombinator.com | 4 Apr 2021
    It's inspired by this comment I made: https://news.ycombinator.com/item?id=26599746.

    I actually saw several comments with HTTP URL posted, and that was the only one I bothered to comment on. So I thought that this is something better suited for bots than human.

    I hacked this together over yesterday and today: https://github.com/fishy/https-bot.

    Basically it uses the Firebase API (https://github.com/HackerNews/API) to find comments with HTTP URLs in them, try the HTTPS version, compare the contents, post back a comment if the contents are more than 95% similar.

    The "95% similar" part was actually the first part I wrote in the code. At first I tried a few existing go packages implementing diff/lcs, but most of them was quite slow and does a lot of allocations when I'm comparing two randomly generated 10KiB blobs, so I wrote my own (https://pkg.go.dev/github.com/fishy/https-bot/similarity), which is optimized for space (it does almost no allocations), and it's also faster because allocations are slow. (I know this is an unfair comparison that most of the existing implementations need to give you an output that can be used to reconstruct the two blobs back, so at least some of their allocations are required and unavoidable)

    I also wrote a bug that it would find the same HTTP url in every run and post the same comment over and over again. My apologize to dang or whoever dealt with it (or maybe the system is good enough that it blocked those repetitive comments automatically).

    In the end it successfully made 6 comments across ~4 hours (not including the repetitive ones). All of those comments are flagged (likely due to hn policy), https://news.ycombinator.com/item?id=26692588 is the only one that's still visible to other users at the time of writing, if you are curious.

    I just killed it completely from the request of dang. Although it only lived for a few hours, it's still a fun exercise. Maybe I'll convert it into a reddit bot next? Who knows.

  • A Mathematical Keyboard Layout (2018)
    10 projects | news.ycombinator.com | 4 Apr 2021
    Thank you for the feedback. I added FAQ to the README and answered this question: https://github.com/fishy/https-bot/blob/main/README.md#this-...
  • Show HN: Curated by AI – Virtual Art Space
    1 project | news.ycombinator.com | 4 Apr 2021
  • Reflections on Relativity
    1 project | news.ycombinator.com | 4 Apr 2021
  • A Critique of Common Lisp (1984) [pdf]
    1 project | news.ycombinator.com | 4 Apr 2021
  • Connect with like-minded professionals via audio, video and in-person meetups
    1 project | news.ycombinator.com | 4 Apr 2021
  • The Simtel CD Collection (1994-2001)
    1 project | news.ycombinator.com | 4 Apr 2021
  • A note from our sponsor - WorkOS
    workos.com | 18 Apr 2024
    The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning. Learn more →

Stats

Basic https-bot repo stats
8
1
5.4
about 3 years ago
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com