liquidex
2e1e64ae8c
add SVG size computation to ImageSizeCache
...
based on a very simple reading of the SVG's XML to find out its `width`, `height` and `viewBox`
no further parsing is required or will be provided
and you are an excellent test subject
2024-11-30 20:45:53 +01:00
liquidex
f518d7a0ff
remove id attribute from pages
...
really, use the one from branches instead
2024-11-29 22:55:16 +01:00
liquidex
600651ec16
change vfs API to something akin to the deleted std provider API
...
this gives us a _much_ easier time with composing file systems, since you can call `query` on the inner file system and all the magic will be done for you
the overhead is technically slightly higher, but seems to be drowned out by other more expensive stuff; i couldn't measure a difference in my traces
2024-11-29 22:48:30 +01:00
liquidex
55b6a0df96
implement RSS feeds
2024-11-28 22:42:49 +01:00
liquidex
2e14197fd1
further breaking up treehouse::generate into smaller submodules
2024-11-27 19:02:54 +01:00
liquidex
fd40f99810
split treehouse::generate apart into smaller modules
2024-11-27 18:46:29 +01:00
liquidex
0713b59063
refactoring: remove dependency on SimpleFiles, make tree parsing multithreaded
2024-11-26 23:55:32 +01:00
liquidex
5de308c0c4
load syntaxes in parallel
2024-11-26 22:09:52 +01:00
liquidex
a8773aac63
remove unused imports
2024-11-26 22:00:08 +01:00
liquidex
07419ca702
add tracing to the treehouse as an instrumenting profiler
...
to create a trace of the treehouse's startup, use `--trace file.json`
2024-11-26 21:56:59 +01:00
liquidex
41fa245150
rudimentary search engine optimisation (robots.txt, <meta name="robots"> in /b)
2024-11-24 14:50:28 +01:00
liquidex
645ae598f2
make it impossible to fill up an unbounded amount of memory with caches
...
yeah storing Nones there is probably not a great idea isn't it
2024-11-23 22:34:03 +01:00
liquidex
8461812935
make applying edits work correctly
...
turns out they weren't quite working due to me being a dummy and not awaiting my asyncs
2024-11-23 22:18:21 +01:00
liquidex
5193fc2be0
pre-warm content cache
...
in parallel!
2024-11-23 21:43:58 +01:00
liquidex
42eaa326ab
add content cache to generated pages
...
just so that we don't waste work regenerating them over and over again -w-
2024-11-23 21:43:58 +01:00
liquidex
9022fb4ce9
add image size metadata to the filesystem
2024-11-23 21:43:58 +01:00
liquidex
5ce9cfc022
add live reloading to the client
2024-11-23 21:43:58 +01:00
liquidex
7169e65244
implement a blake3 content version layer for cache busting
...
works pretty much the same as our previous `?cache` parameter, but is implemented in a less ad-hoc way
2024-11-23 21:43:58 +01:00
liquidex
32f25ce863
implement generation of simple templates (/sandbox)
2024-11-23 21:43:58 +01:00
liquidex
377fbe4dab
introduce the virtual filesystem everywhere
...
this unfortunately means I had to cut some features (bye bye commit history! for now)
stuff's not quite 100% working just yet (like branch links, which were and are still broken)
we also don't have content_version impls just yet
2024-11-23 21:43:58 +01:00
liquidex
db0329077e
refactors: replacing config derived data with vfs, removing markdown
2024-11-23 21:43:58 +01:00
liquidex
1e1b8df457
refactor: introduce virtual file system as a central router for source and target data
2024-11-23 21:43:58 +01:00
liquidex
d13abe7afa
restructuring page:index
2024-11-12 22:51:58 +01:00
liquidex
d68855a73f
fix missing root breadcrumb on history pages
2024-11-04 22:50:16 +01:00
liquidex
523a364fa9
switch the layout to a wider one that leans slightly to the left of the page
...
this is to make space on the right for a nice background in the future
2024-10-30 23:02:47 +01:00
liquidex
bbf5c3b529
make fix cli accept a -
argument to indicate reading from stdin
...
I'm pretty sure we had this in the past... no?
I have my helix set up to respect this argument, so it's weird it stopped working at some point.
2024-09-29 14:33:45 +02:00
liquidex
43bf0a7c3c
use vendored libgit2 without HTTPS / SSH support
...
we only read the repository so we don't need HTTPS and SSH support
dynamic linking causes headaches on NixOS which I use for hosting the treehouse
2024-09-29 00:14:50 +02:00
liquidex
c58c07d846
version history MVP
...
implement basic version history support; there's now an icon in the footer that lets you see the previous versions and their sources
I'm a bit worried about spoilers but honestly it's yet another way to hint yourself at the cool secrets so I don't mind
2024-09-28 23:45:06 +02:00
liquidex
e1fe9fde11
more on haku, highlighting fixes
2024-07-26 23:21:02 +02:00
liquidex
b505c1bcfe
haku: a very shitty tree-walk interpreter
2024-07-25 23:12:26 +02:00
liquidex
2a68cfbf63
update issues
2024-07-24 18:20:12 +02:00
liquidex
87ead3be17
moving some things around; fixed import maps not being deterministic
2024-07-22 20:01:58 +02:00
liquidex
10ccb250c1
add site-wide JS caching through import maps
2024-07-20 23:38:30 +02:00
liquidex
f3aee8f41a
make emojis cached
2024-07-19 20:05:02 +02:00
liquidex
e44d5babca
add image sizes to emoji
2024-07-19 19:52:33 +02:00
liquidex
9bf3409197
caching static resources
2024-07-19 19:13:55 +02:00
liquidex
d968da10a0
refreshing pages & look and feel a bit
...
hopefully the new :folder: and :page: icons help you navigate the hobby corners better
2024-06-13 21:18:41 +02:00
liquidex
3e5f17018c
water closet (actually a word count)
2024-05-19 13:05:28 +02:00
liquidex
91e5ed3eba
Merge branch 'main' of github.com:liquidev/treehouse
2024-03-31 18:51:14 +02:00
liquidex
97ce063549
Lua highlighting
2024-03-25 22:07:52 +01:00
liquidex
b00fd674e2
add MIME for SVG
2024-03-25 20:03:10 +01:00
liquidex
0bc07a11fa
fix fix touching non-tree files
2024-03-25 17:08:56 +01:00
liquidex
94328e0b93
add chats
2024-03-24 18:08:47 +01:00
liquidex
ed893ccd0f
implement TokenTypes::Captures
2024-03-11 23:43:39 +01:00
liquidex
5ab8ffdba2
static syntax highlighting WIP
2024-03-10 23:23:50 +01:00
liquidex
45981bdb3d
add favicon
2024-03-08 22:40:19 +01:00
liquidex
b6e803cfee
on Lua
2024-03-08 17:06:47 +01:00
liquidex
1d2ce8d701
remove a bunch of .html links
2024-03-03 21:39:54 +01:00
liquidex
3a4eb87ca0
magic! now it works on web kit
2024-03-03 21:23:37 +01:00
liquidex
33416e8963
refactoring some stuff
2024-03-02 20:53:44 +01:00