shite
ppg.report
Our great sponsors
shite | ppg.report | |
---|---|---|
24 | 17 | |
181 | 24 | |
- | - | |
7.6 | 7.1 | |
3 months ago | 6 months ago | |
Shell | TypeScript | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
shite
-
Ask HN: What's the simplest static website generator?
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
[1] https://evalapply.org
[2] https://github.com/adityaathalye/shite?tab=readme-ov-file#te...
-
500 Lines or Less – Writing a useful program in fewer than 500 line code – AOSA
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
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
- FLiP Stack Weekly 28-Jan-2023
- Show HN: Shite – little hot-reloadin' static site maker from shell
-
Show HN: Shite: The little hot-reloadin' static site maker from shell
xdotool emulates user actions under the X Window System (e.g. typing, mouse around, click etc.).
I'm using it to send keypresses to the browser, as you rightly observe.
So if I want to just reload a page, the browser gets F5.
To GOTO some page, it gets a stream of keystrokes for the URL characters and then Enter.
It's really that simple-minded, and it works!
This case statement covers my usage: https://github.com/adityaathalye/shite/blob/master/bin/hotre...
-
Pandoc [a universal document converter] 3.0
Pandoc powers my little static site maker:
cf. https://github.com/adityaathalye/shite/blob/master/bin/templ...
__shite_templating_compile_source_to_html() {
ppg.report
-
PPG.report now works globally
Thank you u/aeharding !!! I use ppg.report regularly -- you can Sponsor/support Alexander and his hard work here: https://github.com/sponsors/aeharding
-
Ask HN: Most interesting tech you built for just yourself?
https://ppg.report
Shows a nicely formatted weather report for flying my paramotor, pulling data in from many different sources :-)
-
Flying in Restricted Airspace - You can do it! [US]
Why use it when you have Windy.com and Windy.app and ppg.report and aviationweather.gov ?
-
Best weather app?
Yep I like ppg.report for quick no fluff wind speeds at different altitudes. When I just want to basics standing in the field or driving to an LZ, Windy is for large screen analyses at home days beforehand.
-
Can we share the apps we all using for Paramotoring?
PPG.report (web) - I have it as an Icon on my iPhone for quick access to the NOAA GFS model data, which gives you 24 hours of wind predictions at different altitudes. It is not always accurate, but it IS predicting a solid 20 km square. I prefer this now over RyanCarlton.com because there are weather forecasts and airspace restrictions built in. It's very pretty too! I think Alexander Harding lurks in here. You can see and view the code for the website too. You can donate to Alexander's work on Github as well.
-
State of CSS
So excited for colors outside of sRGB! I make good use of display-p3, currently only supported in Safari, on https://ppg.report.
-
Ask HN: What not-profit-seeking project are you tinkering with this week?
https://ppg.report
Flying my paramotor is one of the things I love to do in my free time, and this project (weather report for paramotor pilots) is the result of that!
Also open source https://github.com/aeharding/ppg.report
-
Dropping the Windy App...Need another app to check for conditions
I like ppg.report, but I always thought it was just a re-skined version of wind.ppgzone.com
-
How much updraft velocity is too much for a newer pilot?
https://ppg.report/ and RyanCarlton.com show you CAPE and CIN.
-
Where can I get the current local aviation forecast in my area? Especially cloud base? Thanks.
It only works if your location is within 30 miles of an airport. In which case you will see a little widget in the header, as seen here: https://github.com/aeharding/ppg.report/releases/tag/v2.1.0
What are some alternatives?
shell-genie - Your wishes are my commands
scroll - Tools for thought. An extensible alternative to Markdown.
CameraTraps - PyTorch Wildlife: a Collaborative Deep Learning Framework for Conservation.
letsblockit - Remove low-quality content and useless nags, focus on what matters. A community-maintained uBlock Origin filter set.
nitter - Alternative Twitter front-end
msp-osd - MSP DisplayPort OSD
SirTunnel - Minimal, self-hosted, 0-config alternative to ngrok. Caddy+OpenSSH+50 lines of Python.
Nook-weather-NWS - Docker image that generates a 800x600 weather status page for display on Nook Simple Touch
imaginAIry - Pythonic AI generation of images and videos
XCSoar - ... the open-source glide computer
logs-benchmark - Logs performance benchmark repo: Comparing Elastic, Loki and SigNoz
kneeboard - A collection of aircraft checklists, templates, and documents -- used before, during, and after flight.