Shite Alternatives

Similar projects and alternatives to shite

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

shite reviews and mentions

Posts with mentions or reviews of shite. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-29.
  • Ask HN: What's the simplest static website generator?
    8 projects | news.ycombinator.com | 29 Mar 2024
    Pandoc can be your friend. My site maker [1] is built around it.

    I think a hundred or so well-chosen lines of your favourite scripting language can do wonders. Mine is ~300 lines of Bash because I over-engineered a thing or two for kicks. The core of it is maybe 50 lines.

    [1] https://github.com/adityaathalye/shite

    The README documents the architecture and rationale. Maybe it will help you figure out yours. Happy hacking!

  • Useful Uses of Cat
    2 projects | news.ycombinator.com | 21 Feb 2024
  • 500 Lines or Less – Writing a useful program in fewer than 500 line code – AOSA
    5 projects | news.ycombinator.com | 8 Oct 2023
    Bookmarked! These look like amazing study projects; the kind one can copy and learn from. Quite like how they do it in art school. Each one of them looks like it solves a nontrivial problem, and edifies the reader on the basic contours/tenets of the problem/solution space.

    I love this kind of stuff, because it shows one _can_ solve a pretty juicy problem with not that much code, honestly. Also because it suggests that the industrial-strength equivalent has a lot more in for use cases, corner cases, and/or optimisations that are not relevant for one's requirements (at least not yet, maybe not ever).

    I aspire to write code like that. Useful, concise, but not obtuse. Some of my code is not as significant as those examples, and maybe falls short of my ideals, but it gets a lot done in well under 500 loc. e.g. my website maker in Bash [1] (hot-builds and hot-refreshes without JS), or the JS that drives text art animations for Hanukkah of Data [2].

    [1] https://github.com/adityaathalye/shite is about 350 LoC counted this way (excluding the script containing HTML templates).

      $ grep -E -v "^$|\\s?#" bin/{events,metadata,templating,utils,hotreload}.sh | wc -l
  • “Make” as a Static Site Generator
    15 projects | news.ycombinator.com | 10 Sep 2023
    Ah, a fellow person of culture. Mine is called shite [1], which makes my site [2]. The name alludes to the software quality :)

    What I like most about it is I haven't had to upgrade anything, and don't expect to forever. And a close second; it "hot reloads" without javascript.

    [1] https://github.com/adityaathalye/shite

    [2] https://evalapply.org

    15 projects | news.ycombinator.com | 10 Sep 2023
    I love the code [1]. Mine [2] is a bit over engineered because I wanted hot-reloading (without JS), and it was a delightful yak shave.

    But the basic idea is the same --- heredocs for templating, using a plaintext -> html compiler (pandoc in my case), an intermediate CSV for index generation.

    Very nice!

    [1] https://github.com/karlb/karl.berlin/blob/master/blog.sh

    [2] https://github.com/adityaathalye/shite

  • FLiP Stack Weekly 28 Jan 2023
    20 projects | dev.to | 30 Jan 2023
  • FLiP Stack Weekly 28-Jan-2023
    20 projects | dev.to | 29 Jan 2023
  • Show HN: Shite: The little hot-reloadin' static site maker from shell
    14 projects | news.ycombinator.com | 23 Jan 2023
    https://github.com/adityaathalye/shite/blob/master/bin/hotre...

    I do it with a crappy Python web server that dynamically inserts some JavaScript. This also has bugs and drawbacks, though I don't think any fundamental ones ... At some point I would like to "make it nice", but it has been working well in practice for years

    I think the method is reasonable, and doesn't depend on your local desktop environment as much.

    I also have a Makefile for incremental rebuilds, but I would really like to replace that with Ninja. Ninja goes pretty well with shell (although it also has the issue of needing to escape $ as $$)

    14 projects | news.ycombinator.com | 23 Jan 2023
    > Apropos your note, may I direct you to "Unrealised Ambitions" in the README https://github.com/adityaathalye/shite#unrealised-ambitions

    It doesn't have to be an unrealized ambition with a simple `mv` command ;)

    14 projects | news.ycombinator.com | 23 Jan 2023
    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!

  • A note from our sponsor - SaaSHub
    www.saashub.com | 29 Mar 2024
    SaaSHub helps you find the best software and product alternatives Learn more →

Stats

Basic shite repo stats
24
180
7.6
about 2 months ago
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com