zim-desktop-wiki
shite
Our great sponsors
zim-desktop-wiki | shite | |
---|---|---|
163 | 24 | |
1,855 | 181 | |
1.3% | - | |
8.4 | 7.6 | |
18 days ago | 3 months ago | |
Python | Shell | |
GNU General Public License v3.0 only | GNU General Public License v3.0 or later |
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.
zim-desktop-wiki
-
Show HN: A Python-based static site generator using Jinja templates
I'll slightly modify your argument; because Pure HTML does suck:
Why don't people make static sites with a simple "Markdown-or-Similar to HTML" converter, CSS, and vanilla JS...etc?
(This is what I do, btw -- http://zim-wiki.org + a template)
- Zim – A Desktop Wiki
-
Show HN: A directory of open source alternatives to proprietary software
You should add Zim [1] to the "Personal Knowledge Management" section :)
[1] https://zim-wiki.org
-
Sent – simple plaintext presentation tool
https://meyerweb.com/eric/tools/s5/
And I just tweaked the CSS and added a bit of logic to included the possibility of one image per slide; as well as editing slides not with raw HTML but with https://zim-wiki.org (because that's what I'm really used to, I'm sure any Markdown thing would work just as well).
-
The rise and fall of the standard user interface
Absolutely; recently I realize I wish I'd never learned vim. I use too many other programs that are at least CUA-ish ( http://zim-wiki.org is the most important app I use ) and now I kind of want out. I haven't yet tried Modeless Vim, but that looks like my next experiment.
https://github.com/SebastianMuskalla/ModelessVim
- Zed is now open source
-
Writing HTML in HTML
It is so hard not to feel REALLY SMUG reading stuff like this, as someone who has run my own website as the working primary source for my college instruction for the past 15 years or so using https://zim-wiki.org. (before Markdown was much of a thing!)
It's borderline bizarre to have watched this method of doing things kind of die out, and then also come back in the form of "static site generators" -- which, frankly, are still way clunkier than this.
Write in Zim, export to html, rsync to site. Easy.
- Note-apps =HELL
- Ask HN: What are some unpopular technologies you wish people knew more about?
-
The complex simplicity of my static websites
FWIW, I've been using http://zim-wiki.org for YEARS. (Sites a little messy and I need to clean it up, but it's extremely functional,) I host my college classes websites from it, to the point that I forced myself to learn the Canvas API, to just clone the page from this site to the front page of Canvas and change the links so they come back here.
jrm4.com
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() {
What are some alternatives?
obsidian-mind-map - An Obsidian plugin for displaying markdown notes as mind maps using Markmap.
shell-genie - Your wishes are my commands
vimwiki - Personal Wiki for Vim
CameraTraps - PyTorch Wildlife: a Collaborative Deep Learning Framework for Conservation.
Joplin - Joplin - the secure note taking and to-do app with synchronisation capabilities for Windows, macOS, Linux, Android and iOS.
nitter - Alternative Twitter front-end
logseq - A local-first, non-linear, outliner notebook for organizing and sharing your personal knowledge base. Use it to organize your todo list, to write your journals, or to record your unique life.
SirTunnel - Minimal, self-hosted, 0-config alternative to ngrok. Caddy+OpenSSH+50 lines of Python.
obsidian-dataview - A data index and query language over Markdown files, for https://obsidian.md/.
imaginAIry - Pythonic AI generation of images and videos
Trilium Notes - Build your personal knowledge base with Trilium Notes
logs-benchmark - Logs performance benchmark repo: Comparing Elastic, Loki and SigNoz