Sovereign backup of all Hermes Agent configuration and data. Excludes: secrets, auth tokens, sessions, caches, code (separate repo). Tracked: - config.yaml (model, fallback chain, toolsets, display prefs) - SOUL.md (Timmy personality charter) - memories/ (persistent MEMORY.md + USER.md) - skills/ (371 files — full skill library) - cron/jobs.json (scheduled tasks) - channel_directory.json (platform channels) - hooks/ (custom hooks)
29 lines
621 B
Bash
Executable File
29 lines
621 B
Bash
Executable File
#!/bin/bash
|
|
# DuckDuckGo Search Helper Script
|
|
# Wrapper around ddgs CLI with sensible defaults
|
|
# Usage: ./duckduckgo.sh <query> [max_results]
|
|
|
|
set -e
|
|
|
|
QUERY="$1"
|
|
MAX_RESULTS="${2:-5}"
|
|
|
|
if [ -z "$QUERY" ]; then
|
|
echo "Usage: $0 <query> [max_results]"
|
|
echo ""
|
|
echo "Examples:"
|
|
echo " $0 'python async programming' 5"
|
|
echo " $0 'latest AI news' 10"
|
|
echo ""
|
|
echo "Requires: pip install ddgs"
|
|
exit 1
|
|
fi
|
|
|
|
# Check if ddgs is available
|
|
if ! command -v ddgs &> /dev/null; then
|
|
echo "Error: ddgs not found. Install with: pip install ddgs"
|
|
exit 1
|
|
fi
|
|
|
|
ddgs text -k "$QUERY" -m "$MAX_RESULTS"
|