diff --git a/Cargo.lock b/Cargo.lock index 191780d..65cda9e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1940,7 +1940,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b3bd0dd2cd90571056fdb71f6275fada10131182f84899f4b2a916e565d81d86" [[package]] -name = "loremaster" +name = "loreweaver" version = "0.1.0" dependencies = [ "clap", diff --git a/Cargo.toml b/Cargo.toml index 78f98c8..979afb3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,7 +2,7 @@ members = [ "tavern", "bard", - "loremaster", + "loreweaver", "blog_test"] resolver = "2" # Enables modern dependency resolution diff --git a/loremaster/README.md b/loremaster/README.md deleted file mode 100644 index 04860fe..0000000 --- a/loremaster/README.md +++ /dev/null @@ -1,18 +0,0 @@ -# Loremaster - -Converts a blog repository into an SQLite database using the Tavern blog system. - ---- - -## Copyright & License - -Copyright 2025 CyberMages LLC - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this library except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS diff --git a/loremaster/.rustfmt.toml b/loreweaver/.rustfmt.toml similarity index 100% rename from loremaster/.rustfmt.toml rename to loreweaver/.rustfmt.toml diff --git a/loremaster/Cargo.toml b/loreweaver/Cargo.toml similarity index 96% rename from loremaster/Cargo.toml rename to loreweaver/Cargo.toml index 331a8e2..96ff0ff 100644 --- a/loremaster/Cargo.toml +++ b/loreweaver/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "loremaster" +name = "loreweaver" version = "0.1.0" edition = "2024" description = "Converts a blog repository into an SQLite database using the Tavern blog system." diff --git a/loremaster/LICENSE.md b/loreweaver/LICENSE.md similarity index 100% rename from loremaster/LICENSE.md rename to loreweaver/LICENSE.md diff --git a/loreweaver/README.md b/loreweaver/README.md new file mode 100644 index 0000000..b59cd12 --- /dev/null +++ b/loreweaver/README.md @@ -0,0 +1,42 @@ +# Loreweaver + +Loreweaver is a command-line tool that compiles a blog repository into a SQLite +database using the Tavernworks blog system. It acts as a publisher that reads +a metadata configuration file and processes the blog content via the `tavern` +engine. + +## Features + +- Reads a `Tavern.toml` metadata file to configure the compilation +- Converts Markdown blog repositories into portable SQLite databases +- Simple CLI interface with configurable input and output paths +- Built on top of the `tavern` library for content parsing and data handling + +## Usage + +Run Loreweaver with the default configuration file and output: + +```bash +loreweaver --config Tavern.toml --output tavern.db +``` + +Specify custom paths for config or output files: + +```bash +loreweaver --config path/to/config.toml --output path/to/output.db +``` + +--- + +## Copyright & License + +Copyright 2025 CyberMages LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this library except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS diff --git a/loremaster/src/info.rs b/loreweaver/src/info.rs similarity index 100% rename from loremaster/src/info.rs rename to loreweaver/src/info.rs diff --git a/loremaster/src/main.rs b/loreweaver/src/main.rs similarity index 100% rename from loremaster/src/main.rs rename to loreweaver/src/main.rs