diff --git a/src/bin/zora-post/main.rs b/src/bin/zora-post/main.rs new file mode 100644 index 0000000..ef6f8a7 --- /dev/null +++ b/src/bin/zora-post/main.rs @@ -0,0 +1,14 @@ +use pico_args::Arguments; + +fn main() { + let args = Arguments::from_env(); + + // Get path to file to post from args. + // Read title from file's metadata. + // Read Zola config.toml. + // Determine URL to selected file using config data and file path (strip off `content/`, change .md to .html) + // Read cached Mastodon app data. + // If none, register on theres.life. + // Login as IslandUsurper. + // Post new status with title and URL, with #Bible #journal hashtags. +}