├── .envrc ├── .gitignore ├── .gitmodules ├── Cargo.lock ├── Cargo.toml ├── LICENSE ├── README.md ├── cli ├── Cargo.toml └── src │ └── main.rs ├── elm ├── build-prod.sh ├── elm-srcs.nix ├── elm.json ├── registry.dat ├── src │ ├── ArchiveListing.elm │ ├── Data.elm │ ├── DataUtil.elm │ ├── Dialog.elm │ ├── EdMarkdown.elm │ ├── EditZkNote.elm │ ├── EditZkNoteListing.elm │ ├── Import.elm │ ├── InviteUser.elm │ ├── JobsDialog.elm │ ├── LocalStorage.elm │ ├── Main.elm │ ├── MdCommon.elm │ ├── MdGui.elm │ ├── MdInlineXform.elm │ ├── MessageNLink.elm │ ├── NoteCache.elm │ ├── PaginationPanel.elm │ ├── RequestsDialog.elm │ ├── Route.elm │ ├── SearchHelpPanel.elm │ ├── SearchLoc.elm │ ├── SearchOrRecent.elm │ ├── SearchPanel.elm │ ├── SearchStackPanel.elm │ ├── SearchUtil.elm │ ├── ShowMessage.elm │ ├── SpecialNotes.elm │ ├── SpecialNotesGui.elm │ ├── TagAThing.elm │ ├── TagFiles.elm │ ├── TagSearchPanel.elm │ ├── UserSettings.elm │ ├── View.elm │ └── ZkCommon.elm ├── tauri-watch-build.sh ├── tests │ └── SearchLocTest.elm └── watch-build.sh ├── flake.lock ├── flake.nix ├── module.nix ├── nix-build.sh ├── nixnotes.md ├── onsave-module.nix ├── onsave ├── Cargo.toml ├── remowte.sh └── src │ └── main.rs ├── rustfmt.toml ├── server-lib ├── Cargo.toml ├── src │ ├── config.rs │ ├── error.rs │ ├── interfaces.rs │ ├── jobs.rs │ ├── lib.rs │ ├── migrations.rs │ ├── search.rs │ ├── search_util.rs │ ├── sqldata.rs │ ├── sqltest.rs │ ├── state.rs │ ├── sync.rs │ └── synctest.rs ├── testserver.toml └── watchtest.sh ├── server ├── Cargo.toml ├── client.sh ├── client.toml ├── default.toml ├── run-tauri.sh ├── run.sh ├── src │ └── main.rs ├── static │ ├── favicon.ico │ ├── index.html │ ├── localvals.js │ ├── taselection.js │ └── windowkey.js ├── tauri-dev.toml ├── watchclient.sh └── watchrun.sh └── zkprotocol ├── Cargo.toml ├── elm-gen ├── Cargo.toml └── src │ └── main.rs └── src ├── constants.rs ├── content.rs ├── lib.rs ├── messages.rs ├── private.rs ├── public.rs ├── search.rs ├── search_util.rs ├── specialnotes.rs ├── sync_data.rs ├── tauri.rs └── upload.rs /.envrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/.envrc -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/.gitmodules -------------------------------------------------------------------------------- /Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/Cargo.lock -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/Cargo.toml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/README.md -------------------------------------------------------------------------------- /cli/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/cli/Cargo.toml -------------------------------------------------------------------------------- /cli/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/cli/src/main.rs -------------------------------------------------------------------------------- /elm/build-prod.sh: -------------------------------------------------------------------------------- 1 | elm-optimize-level-2 src/Main.elm --output=../server/static/main.js 2 | -------------------------------------------------------------------------------- /elm/elm-srcs.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/elm/elm-srcs.nix -------------------------------------------------------------------------------- /elm/elm.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/elm/elm.json -------------------------------------------------------------------------------- /elm/registry.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/elm/registry.dat -------------------------------------------------------------------------------- /elm/src/ArchiveListing.elm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/elm/src/ArchiveListing.elm -------------------------------------------------------------------------------- /elm/src/Data.elm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/elm/src/Data.elm -------------------------------------------------------------------------------- /elm/src/DataUtil.elm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/elm/src/DataUtil.elm -------------------------------------------------------------------------------- /elm/src/Dialog.elm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/elm/src/Dialog.elm -------------------------------------------------------------------------------- /elm/src/EdMarkdown.elm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/elm/src/EdMarkdown.elm -------------------------------------------------------------------------------- /elm/src/EditZkNote.elm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/elm/src/EditZkNote.elm -------------------------------------------------------------------------------- /elm/src/EditZkNoteListing.elm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/elm/src/EditZkNoteListing.elm -------------------------------------------------------------------------------- /elm/src/Import.elm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/elm/src/Import.elm -------------------------------------------------------------------------------- /elm/src/InviteUser.elm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/elm/src/InviteUser.elm -------------------------------------------------------------------------------- /elm/src/JobsDialog.elm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/elm/src/JobsDialog.elm -------------------------------------------------------------------------------- /elm/src/LocalStorage.elm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/elm/src/LocalStorage.elm -------------------------------------------------------------------------------- /elm/src/Main.elm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/elm/src/Main.elm -------------------------------------------------------------------------------- /elm/src/MdCommon.elm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/elm/src/MdCommon.elm -------------------------------------------------------------------------------- /elm/src/MdGui.elm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/elm/src/MdGui.elm -------------------------------------------------------------------------------- /elm/src/MdInlineXform.elm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/elm/src/MdInlineXform.elm -------------------------------------------------------------------------------- /elm/src/MessageNLink.elm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/elm/src/MessageNLink.elm -------------------------------------------------------------------------------- /elm/src/NoteCache.elm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/elm/src/NoteCache.elm -------------------------------------------------------------------------------- /elm/src/PaginationPanel.elm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/elm/src/PaginationPanel.elm -------------------------------------------------------------------------------- /elm/src/RequestsDialog.elm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/elm/src/RequestsDialog.elm -------------------------------------------------------------------------------- /elm/src/Route.elm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/elm/src/Route.elm -------------------------------------------------------------------------------- /elm/src/SearchHelpPanel.elm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/elm/src/SearchHelpPanel.elm -------------------------------------------------------------------------------- /elm/src/SearchLoc.elm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/elm/src/SearchLoc.elm -------------------------------------------------------------------------------- /elm/src/SearchOrRecent.elm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/elm/src/SearchOrRecent.elm -------------------------------------------------------------------------------- /elm/src/SearchPanel.elm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/elm/src/SearchPanel.elm -------------------------------------------------------------------------------- /elm/src/SearchStackPanel.elm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/elm/src/SearchStackPanel.elm -------------------------------------------------------------------------------- /elm/src/SearchUtil.elm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/elm/src/SearchUtil.elm -------------------------------------------------------------------------------- /elm/src/ShowMessage.elm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/elm/src/ShowMessage.elm -------------------------------------------------------------------------------- /elm/src/SpecialNotes.elm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/elm/src/SpecialNotes.elm -------------------------------------------------------------------------------- /elm/src/SpecialNotesGui.elm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/elm/src/SpecialNotesGui.elm -------------------------------------------------------------------------------- /elm/src/TagAThing.elm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/elm/src/TagAThing.elm -------------------------------------------------------------------------------- /elm/src/TagFiles.elm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/elm/src/TagFiles.elm -------------------------------------------------------------------------------- /elm/src/TagSearchPanel.elm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/elm/src/TagSearchPanel.elm -------------------------------------------------------------------------------- /elm/src/UserSettings.elm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/elm/src/UserSettings.elm -------------------------------------------------------------------------------- /elm/src/View.elm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/elm/src/View.elm -------------------------------------------------------------------------------- /elm/src/ZkCommon.elm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/elm/src/ZkCommon.elm -------------------------------------------------------------------------------- /elm/tauri-watch-build.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/elm/tauri-watch-build.sh -------------------------------------------------------------------------------- /elm/tests/SearchLocTest.elm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/elm/tests/SearchLocTest.elm -------------------------------------------------------------------------------- /elm/watch-build.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/elm/watch-build.sh -------------------------------------------------------------------------------- /flake.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/flake.lock -------------------------------------------------------------------------------- /flake.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/flake.nix -------------------------------------------------------------------------------- /module.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/module.nix -------------------------------------------------------------------------------- /nix-build.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/nix-build.sh -------------------------------------------------------------------------------- /nixnotes.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/nixnotes.md -------------------------------------------------------------------------------- /onsave-module.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/onsave-module.nix -------------------------------------------------------------------------------- /onsave/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/onsave/Cargo.toml -------------------------------------------------------------------------------- /onsave/remowte.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/onsave/remowte.sh -------------------------------------------------------------------------------- /onsave/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/onsave/src/main.rs -------------------------------------------------------------------------------- /rustfmt.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/rustfmt.toml -------------------------------------------------------------------------------- /server-lib/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/server-lib/Cargo.toml -------------------------------------------------------------------------------- /server-lib/src/config.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/server-lib/src/config.rs -------------------------------------------------------------------------------- /server-lib/src/error.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/server-lib/src/error.rs -------------------------------------------------------------------------------- /server-lib/src/interfaces.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/server-lib/src/interfaces.rs -------------------------------------------------------------------------------- /server-lib/src/jobs.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/server-lib/src/jobs.rs -------------------------------------------------------------------------------- /server-lib/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/server-lib/src/lib.rs -------------------------------------------------------------------------------- /server-lib/src/migrations.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/server-lib/src/migrations.rs -------------------------------------------------------------------------------- /server-lib/src/search.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/server-lib/src/search.rs -------------------------------------------------------------------------------- /server-lib/src/search_util.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/server-lib/src/search_util.rs -------------------------------------------------------------------------------- /server-lib/src/sqldata.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/server-lib/src/sqldata.rs -------------------------------------------------------------------------------- /server-lib/src/sqltest.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/server-lib/src/sqltest.rs -------------------------------------------------------------------------------- /server-lib/src/state.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/server-lib/src/state.rs -------------------------------------------------------------------------------- /server-lib/src/sync.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/server-lib/src/sync.rs -------------------------------------------------------------------------------- /server-lib/src/synctest.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/server-lib/src/synctest.rs -------------------------------------------------------------------------------- /server-lib/testserver.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/server-lib/testserver.toml -------------------------------------------------------------------------------- /server-lib/watchtest.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/server-lib/watchtest.sh -------------------------------------------------------------------------------- /server/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/server/Cargo.toml -------------------------------------------------------------------------------- /server/client.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/server/client.sh -------------------------------------------------------------------------------- /server/client.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/server/client.toml -------------------------------------------------------------------------------- /server/default.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/server/default.toml -------------------------------------------------------------------------------- /server/run-tauri.sh: -------------------------------------------------------------------------------- 1 | ZKNOTES_STATIC_PATH=static RUST_LOG=info ../target/debug/zknotes-server -c tauri-dev.toml 2 | -------------------------------------------------------------------------------- /server/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/server/run.sh -------------------------------------------------------------------------------- /server/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/server/src/main.rs -------------------------------------------------------------------------------- /server/static/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/server/static/favicon.ico -------------------------------------------------------------------------------- /server/static/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/server/static/index.html -------------------------------------------------------------------------------- /server/static/localvals.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/server/static/localvals.js -------------------------------------------------------------------------------- /server/static/taselection.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/server/static/taselection.js -------------------------------------------------------------------------------- /server/static/windowkey.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/server/static/windowkey.js -------------------------------------------------------------------------------- /server/tauri-dev.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/server/tauri-dev.toml -------------------------------------------------------------------------------- /server/watchclient.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/server/watchclient.sh -------------------------------------------------------------------------------- /server/watchrun.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/server/watchrun.sh -------------------------------------------------------------------------------- /zkprotocol/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/zkprotocol/Cargo.toml -------------------------------------------------------------------------------- /zkprotocol/elm-gen/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/zkprotocol/elm-gen/Cargo.toml -------------------------------------------------------------------------------- /zkprotocol/elm-gen/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/zkprotocol/elm-gen/src/main.rs -------------------------------------------------------------------------------- /zkprotocol/src/constants.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/zkprotocol/src/constants.rs -------------------------------------------------------------------------------- /zkprotocol/src/content.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/zkprotocol/src/content.rs -------------------------------------------------------------------------------- /zkprotocol/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/zkprotocol/src/lib.rs -------------------------------------------------------------------------------- /zkprotocol/src/messages.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/zkprotocol/src/messages.rs -------------------------------------------------------------------------------- /zkprotocol/src/private.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/zkprotocol/src/private.rs -------------------------------------------------------------------------------- /zkprotocol/src/public.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/zkprotocol/src/public.rs -------------------------------------------------------------------------------- /zkprotocol/src/search.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/zkprotocol/src/search.rs -------------------------------------------------------------------------------- /zkprotocol/src/search_util.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/zkprotocol/src/search_util.rs -------------------------------------------------------------------------------- /zkprotocol/src/specialnotes.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/zkprotocol/src/specialnotes.rs -------------------------------------------------------------------------------- /zkprotocol/src/sync_data.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/zkprotocol/src/sync_data.rs -------------------------------------------------------------------------------- /zkprotocol/src/tauri.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/zkprotocol/src/tauri.rs -------------------------------------------------------------------------------- /zkprotocol/src/upload.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bburdette/zknotes/HEAD/zkprotocol/src/upload.rs --------------------------------------------------------------------------------