From 72b4337cc21e1b3f293abc8f7bc3fcf36f7f9553 Mon Sep 17 00:00:00 2001 From: WLTBAgent Date: Mon, 23 Feb 2026 21:52:48 +0000 Subject: [PATCH] Fix build.sh: remove non-existent tools (capabilities, notifications, tasks, talk) Only build tools that actually exist: - nextcloud-client (WebDAV files) - nextcloud-contacts (CardDAV address books) - nextcloud-calendar (CalDAV events) - nextcloud-mail (IMAP/SMTP email) Updated README to reflect correct tool count --- README.md | 8 ++++---- build.sh | 36 ++++-------------------------------- 2 files changed, 8 insertions(+), 36 deletions(-) diff --git a/README.md b/README.md index 364ec90..b411615 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ All three skills now include an automatic bootstrap process: - ✅ No need to manually find/create app tokens - ✅ User experience is simpler (just username + password) - ✅ All credentials are forgotten immediately (security) -- ✅ All three tools built together with same token +- ✅ All tools built together with same token **Security:** - Username and password only used during authentication (temporary) @@ -38,7 +38,7 @@ All three skills now include an automatic bootstrap process: ### Bootstrap Process (Automatic) -All three Nextcloud SKILL.md files now include a secure bootstrap process: +All Nextcloud SKILL.md files now include a secure bootstrap process: **The skill will:** 1. Ask for your normal Nextcloud credentials (username and password) @@ -60,7 +60,7 @@ User: "Hey, use the Nextcloud skill" Skill: "I'll set up your Nextcloud tools. What's your Nextcloud username and password?" User: "wltbagent@shortcutsolutions.net" and "mypassword" Skill: [Authenticates to Nextcloud, retrieves token, builds tools, forgets credentials] -Skill: "All done! Now you can use: nextcloud-list, nextcloud-list-books, nextcloud-list-calendars" +Skill: "All done! Now you can use: nextcloud-client, nextcloud-contacts, nextcloud-calendar" ``` **Security:** @@ -271,7 +271,7 @@ Use the provided build script: ``` **The build script will:** -1. Build Nextcloud API tools (Files, Contacts, Calendar, etc.) with the provided credentials +1. Build Nextcloud API tools (Files, Contacts, Calendar) with the provided credentials 2. **Prompt you for separate IMAP/SMTP credentials** for the email integration 3. Build nextcloud-mail with email-specific credentials 4. Install all binaries to `~/bin/` diff --git a/build.sh b/build.sh index 13747e9..97f5bfa 100755 --- a/build.sh +++ b/build.sh @@ -102,30 +102,6 @@ cd "$SCRIPT_DIR/tools/go/nextcloud-calendar" go build -ldflags="-X main.BuildServerURL=$SERVER_URL -X main.BuildUsername=$USERNAME -X main.BuildToken=$TOKEN" -o ~/bin/nextcloud-calendar . echo "✓ nextcloud-calendar built successfully" -# Build nextcloud-capabilities -echo "Building nextcloud-capabilities..." -cd "$SCRIPT_DIR/../nextcloud-research/../tools/go/nextcloud-capabilities" -go build -ldflags="-X main.buildServer=$SERVER_URL -X main.buildUsername=$USERNAME -X main.buildAPIKey=$TOKEN" -o ~/bin/nextcloud-capabilities . -echo "✓ nextcloud-capabilities built successfully" - -# Build nextcloud-notifications -echo "Building nextcloud-notifications..." -cd "$SCRIPT_DIR/../nextcloud-research/../tools/go/nextcloud-notifications" -go build -ldflags="-X main.buildServer=$SERVER_URL -X main.buildUsername=$USERNAME -X main.buildAPIKey=$TOKEN" -o ~/bin/nextcloud-notifications . -echo "✓ nextcloud-notifications built successfully" - -# Build nextcloud-tasks -echo "Building nextcloud-tasks..." -cd "$SCRIPT_DIR/../nextcloud-research/../tools/go/nextcloud-tasks" -go build -ldflags="-X main.buildServer=$SERVER_URL -X main.buildUsername=$USERNAME -X main.buildAPIKey=$TOKEN" -o ~/bin/nextcloud-tasks . -echo "✓ nextcloud-tasks built successfully" - -# Build nextcloud-talk -echo "Building nextcloud-talk..." -cd "$SCRIPT_DIR/../nextcloud-research/../tools/go/nextcloud-talk" -go build -ldflags="-X main.buildServer=$SERVER_URL -X main.buildUsername=$USERNAME -X main.buildAPIKey=$TOKEN" -o ~/bin/nextcloud-talk . -echo "✓ nextcloud-talk built successfully" - # Build nextcloud-mail echo "Building nextcloud-mail..." cd "$SCRIPT_DIR/tools/go/nextcloud-mail" @@ -136,14 +112,10 @@ echo "" echo "All tools built successfully!" echo "" echo "Binaries installed at:" -echo " ~/bin/nextcloud-client" -echo " ~/bin/nextcloud-contacts" -echo " ~/bin/nextcloud-calendar" -echo " ~/bin/nextcloud-capabilities" -echo " ~/bin/nextcloud-notifications" -echo " ~/bin/nextcloud-tasks" -echo " ~/bin/nextcloud-talk" -echo " ~/bin/nextcloud-mail" +echo " ~/bin/nextcloud-client (WebDAV file operations)" +echo " ~/bin/nextcloud-contacts (CardDAV address books)" +echo " ~/bin/nextcloud-calendar (CalDAV events)" +echo " ~/bin/nextcloud-mail (IMAP/SMTP email)" echo "" echo "Security Note: These binaries contain credentials in clear text." echo "Do not distribute them outside your trusted environment."