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
This commit is contained in:
1 parent
2444d5216e
commit
72b4337cc2
2 files changed
+8
-36
No files matched your search
@@ -24,7 +24,7 @@ All three skills now include an automatic bootstrap process:
|
|||||||
- ✅ No need to manually find/create app tokens
|
- ✅ No need to manually find/create app tokens
|
||||||
- ✅ User experience is simpler (just username + password)
|
- ✅ User experience is simpler (just username + password)
|
||||||
- ✅ All credentials are forgotten immediately (security)
|
- ✅ All credentials are forgotten immediately (security)
|
||||||
- ✅ All three tools built together with same token
|
- ✅ All tools built together with same token
|
||||||
|
|
||||||
**Security:**
|
**Security:**
|
||||||
- Username and password only used during authentication (temporary)
|
- Username and password only used during authentication (temporary)
|
||||||
@@ -38,7 +38,7 @@ All three skills now include an automatic bootstrap process:
|
|||||||
|
|
||||||
### Bootstrap Process (Automatic)
|
### 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:**
|
**The skill will:**
|
||||||
1. Ask for your normal Nextcloud credentials (username and password)
|
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?"
|
Skill: "I'll set up your Nextcloud tools. What's your Nextcloud username and password?"
|
||||||
User: "wltbagent@shortcutsolutions.net" and "mypassword"
|
User: "wltbagent@shortcutsolutions.net" and "mypassword"
|
||||||
Skill: [Authenticates to Nextcloud, retrieves token, builds tools, forgets credentials]
|
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:**
|
**Security:**
|
||||||
@@ -271,7 +271,7 @@ Use the provided build script:
|
|||||||
```
|
```
|
||||||
|
|
||||||
**The build script will:**
|
**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
|
2. **Prompt you for separate IMAP/SMTP credentials** for the email integration
|
||||||
3. Build nextcloud-mail with email-specific credentials
|
3. Build nextcloud-mail with email-specific credentials
|
||||||
4. Install all binaries to `~/bin/`
|
4. Install all binaries to `~/bin/`
|
||||||
|
|||||||
@@ -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 .
|
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"
|
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
|
# Build nextcloud-mail
|
||||||
echo "Building nextcloud-mail..."
|
echo "Building nextcloud-mail..."
|
||||||
cd "$SCRIPT_DIR/tools/go/nextcloud-mail"
|
cd "$SCRIPT_DIR/tools/go/nextcloud-mail"
|
||||||
@@ -136,14 +112,10 @@ echo ""
|
|||||||
echo "All tools built successfully!"
|
echo "All tools built successfully!"
|
||||||
echo ""
|
echo ""
|
||||||
echo "Binaries installed at:"
|
echo "Binaries installed at:"
|
||||||
echo " ~/bin/nextcloud-client"
|
echo " ~/bin/nextcloud-client (WebDAV file operations)"
|
||||||
echo " ~/bin/nextcloud-contacts"
|
echo " ~/bin/nextcloud-contacts (CardDAV address books)"
|
||||||
echo " ~/bin/nextcloud-calendar"
|
echo " ~/bin/nextcloud-calendar (CalDAV events)"
|
||||||
echo " ~/bin/nextcloud-capabilities"
|
echo " ~/bin/nextcloud-mail (IMAP/SMTP email)"
|
||||||
echo " ~/bin/nextcloud-notifications"
|
|
||||||
echo " ~/bin/nextcloud-tasks"
|
|
||||||
echo " ~/bin/nextcloud-talk"
|
|
||||||
echo " ~/bin/nextcloud-mail"
|
|
||||||
echo ""
|
echo ""
|
||||||
echo "Security Note: These binaries contain credentials in clear text."
|
echo "Security Note: These binaries contain credentials in clear text."
|
||||||
echo "Do not distribute them outside your trusted environment."
|
echo "Do not distribute them outside your trusted environment."
|
||||||
Reference in new issue
Block a user