This repository has been archived by the owner on Jan 6, 2022. It is now read-only.
Releases: xvxx/deadwiki
Releases · xvxx/deadwiki
v0.1.27
- Nice error now shown when trying to create wiki page that already exists.
- Added navigation to
/jump
(ctrl-j
) page. - Fixed a bug with the 'jump' page displaying errors.
- The "new" link on the "jump" page now uses the input box's content as the title of the new page.
- Clicking "new" on a page in a directory will now pre-fill the "New Page" form with the current directory.
v0.1.26
- Dark Mode CSS added. There's an icon in the UI.
- Added error message on 'Recently Edited' when wiki isn't in git.
- Added basic navigation to 'Recently Edited' page, too.
v0.1.25
v0.1.24
- deadwiki now uses Hatter for its HTML templates. This should hopefully let us make the server-side rendered views a bit more interesting.
- A few JS keyboard shortcut bugfixes.
- Render time is now displayed in an HTML comment.
- Multiple sub-directories are now folded on the index page, beyond just the first.
- If an
index.md
file exists, it will be displayed instead of a wiki page list on the page page. (#8) - There is now an
/all
route that will always display all wiki pages. - Fix link creation to more closely match filenames. (#7)
v0.1.23
- We've cut down the number of dependencies from 42 to 28, shaving a few precious seconds off build time in the process.
- Windows line endings (
\r
) are now stripped from wiki page bodies on edit or create. We didn't want those in there. - Double click JS events are gone. They got in the way of highlighting text and were annoying me when trying to copy and paste. You can use the
ctrl-e
keyboard shortcut to quickly jump to the edit page, instead. - deadwiki will now serve non-Markdown files in your wiki, meaning local images are now supported! You'll have to add them to your wiki directory's structure manually for now, but we may add a simple drag-and-drop upload function for lazy folks (like me...) in the future.
- We've done a bit of internal refactoring. There may be (more) bugs.
- deadwiki pages are now case sensitive, just like most file systems.
- The
gui
feature has been removed. We may revisit it in the future, perhaps as a tray icon-style app, but for now I am using deadwiki as a "pinned tab" in my browser and it is pretty convenient. I'm more interested in a TUI than a WebView app at this point, as far as complementing the core web app goes.
Dev notes:
- deadwiki is evolving from a "web app" to a library that is wrapped by a web app. This means creating, finding, editing wiki pages, etc, is done in the
DB
module instead of directly in the HTTP routes. Besides being a nicer way to organize and test the code, it means we will be able to add a lightweight TUI in the future that works the same as the web app. - Similarly, deadwiki is evolving from relying on Rust libraries to relying on UNIX commands. Our "search" is powered by
grep
, for example. My plan is to allow you to configure which commands are used for which actions, so you can easily swap inripgrep
forgrep
you'd like - without having to recompile deadwiki itself.
v0.1.22
- Bugfix release.
v0.1.21
- Added
i
keyboard shortcut to edit the current page. - The "new" form now prefills the title with the current directory.
- Fixed
cargo install deadwiki
.
v0.1.20
- "Recently edited pages" page added.
- "Jump to page" (
ctrl-j
) now lets you jump to#hashtags
. - "Jump to page" results can now be selected using
up
/down
/ctrl-n
/ctrl-p
keyboard shortcuts. make install
will build and install thedead
binary to$PREFIX/bin
, where$PREFIX
defaults to$HOME
(~/bin
).
v0.1.19
v0.1.18
Jump-to-page via fuzzy finder is now live! Use ctrl-j
to open the menu and start typing a page title. Press enter
to jump to the selected page. This will gain functionality in the future.
This release also switches deadwiki to a new backend, Vial. Vial is a micro micro-framework for Rust. This change has cut the dependency count from 72 to 42 and release compile time from ~22s to ~8s on my machine:
However, there will surely be new bugs that have cropped up. We are on the lookout for them, but your patience is appreciated.
Thank you and enjoy!