Show HN: Shite: The little hot-reloadin' static site maker from shell

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • shite

    The little hot-reloadin' static site maker from shell.

    Lovely to hear from you, Andy! Thank you for sharing. It's good to know this work is in fine company :)

    > although it sounds like it has some drawbacks?

    Oh yes. The Xdotool Reload Method emulates keystrokes, so it has... drawbacks... as you put it mildly :)

    It literally does F5, or it fills out a url and hits Enter. cf. this `case` statement: https://github.com/adityaathalye/shite/blob/master/bin/hotre...

    I wanted to keep /mandatory/ moving parts to a minimum in a hand-rolled setup. So I sort of went hardline about avoiding prerequisites like a server process, and especially a JS client. The xdotool trick worked surprisingly well (for the most part), and so I stuck with it!

    > it has been working well in practice for years

    This is the holy grail. I really hope I get years-long stability out of it. Based on my experience so far, I feel good about the long-term odds.

    > I also have a Makefile for incremental rebuilds, but I would really like to replace that with Ninja.

    I was going to write a Makefile at some point. I'll have a look at Ninja. Thanks for the tip!

  • zim-desktop-wiki

    Main repository of the zim desktop wiki project

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

  • oil

    Oils is our upgrade path from bash to a better language and runtime. It's also for Python and JavaScript users who avoid shell!

    Nice! I also use inotifywait for hot reload when writing https://www.oilshell.org/

    I never heard of the xdotool method ... although it sounds like it has some drawbacks?

  • karl.berlin

    My blog and homepage at karl.berlin, as well as the minimal blog engine used to create the pages.

  • penis.js

    Sure. It's not the coarse language that I object to — it's the lazy, juvenile humour. It's similar to penisJS[0] — a software analogue to children defacing the chairs in their school classrooms with drawings of genitalia.

    I think it's a pretty bad look for the industry.

    Not to say there shouldn't be humour — there should be more humour. Personally, my most popular software projects are purely comedic, and they're also a little more coarse than this.

    To put it another way: I'd prefer the software humour to be a little more Sean Lock and a little less Beavis and Butt-Head.

    [0]: https://github.com/edankwan/penis.js/

  • bash-toolkit

    Could be my ever-growing, ever-improving, Swiss Army Toolkit of functions-as-cmd-line-tools and useful-to-me patterns.

    Ah a fellow person of culture :D

    Maybe you will enjoy my "bash-toolkit" repo: https://github.com/adityaathalye/bash-toolkit which I've dubbed my "Swiss Army Toolkit" of functions-as-cmd-line-tools and useful-to-me patterns.

    Which reminds me, I've collected more and should update the repo!

  • clojure-by-example

    Workshop for programmers who are new to Clojure. (by adityaathalye)

    Thank you :)

    I started writing a "Goals" and "Anti-Goals" section, as I almost always do for sizeable projects [^]. But then I thought two things, "that's boring", and "waitaminute... when people say 'goals', what do they really want to achieve or fulfill? Dreams and desires.". And so it came to be.

    [^] e.g. https://github.com/adityaathalye/clojure-by-example#workshop...

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts