commit 77d62ba2a386295bd98cb52ae54de30b80d226d6 Author: admin Date: Wed May 14 09:25:32 2025 -0600 first commit diff --git a/.gitignore b/.gitignore new file mode 100755 index 0000000..093fd9b --- /dev/null +++ b/.gitignore @@ -0,0 +1,46 @@ +# Ignore all files in specific directories but keep .gitkeep files + +# .env files +.env + +# code-server directories +configs/code-server/.config/code-server/* +!configs/code-server/.config/code-server/.gitkeep + +configs/code-server/.local/* +!configs/code-server/.local/.gitkeep + +# ferdium directory +configs/ferdium/* +!configs/ferdium/.gitkeep + +# flatnotes directory +mkdocs/docs/notes/.flatnotes/* +!mkdocs/docs/notes/.flatnotes/.gitkeep + +# attachments directory +mkdocs/docs/blog/posts/attachments/* +!mkdocs/docs/blog/posts/attachments/.gitkeep + +# data directory +data/* +!data/.gitkeep + +# local-files +local-files/* +!local-files/.gitkeep + +# Convertx +convertx-data/* +!convertx-data/.gitkeep + +# Env Backups +.env.backup* + +# answers data +answer-data/* +!answer-data/.gitkeep + + + +.vscode diff --git a/Dockerfile.code-server b/Dockerfile.code-server new file mode 100644 index 0000000..b922a07 --- /dev/null +++ b/Dockerfile.code-server @@ -0,0 +1,84 @@ +FROM codercom/code-server:latest + +USER root + +# Install Python and dependencies +RUN apt-get update && apt-get install -y \ + python3 \ + python3-pip \ + python3-venv \ + python3-full \ + pipx \ + # Dependencies for CairoSVG and Pillow (PIL) + libcairo2-dev \ + libfreetype6-dev \ + libffi-dev \ + libjpeg-dev \ + libpng-dev \ + libz-dev \ + python3-dev \ + pkg-config \ + # Additional dependencies for advanced image processing + libwebp-dev \ + libtiff5-dev \ + libopenjp2-7-dev \ + liblcms2-dev \ + libxml2-dev \ + libxslt1-dev \ + # PDF generation dependencies + weasyprint \ + fonts-roboto \ + # Git for git-based plugins + git \ + # For lxml + zlib1g-dev \ + # Required for some plugins + build-essential \ + && apt-get clean \ + && rm -rf /var/lib/apt/lists/* + +# Switch to non-root user (coder) +USER coder + +# Set up a virtual environment for mkdocs +RUN mkdir -p /home/coder/.venv +RUN python3 -m venv /home/coder/.venv/mkdocs + +# Install mkdocs-material in the virtual environment with all extras +RUN /home/coder/.venv/mkdocs/bin/pip install "mkdocs-material[imaging,recommended,git]" + +# Install additional useful MkDocs plugins +RUN /home/coder/.venv/mkdocs/bin/pip install \ + mkdocs-minify-plugin \ + mkdocs-git-revision-date-localized-plugin \ + mkdocs-glightbox \ + mkdocs-redirects \ + mkdocs-awesome-pages-plugin \ + mkdocs-blog-plugin \ + mkdocs-rss-plugin \ + mkdocs-meta-descriptions-plugin \ + mkdocs-swagger-ui-tag \ + mkdocs-macros-plugin \ + mkdocs-material-extensions \ + mkdocs-section-index \ + mkdocs-table-reader-plugin \ + mkdocs-pdf-export-plugin \ + mkdocs-mermaid2-plugin \ + pymdown-extensions \ + pygments \ + pillow \ + cairosvg + +# Add the virtual environment bin to PATH +ENV PATH="/home/coder/.venv/mkdocs/bin:${PATH}" + +# Add shell configuration to activate the virtual environment in .bashrc +RUN echo 'export PATH="/home/coder/.venv/mkdocs/bin:$PATH"' >> ~/.bashrc +RUN echo 'export PATH="/home/coder/.local/bin:$PATH"' >> ~/.bashrc + +# Create a convenience script to simplify running mkdocs commands +RUN mkdir -p /home/coder/.local/bin \ + && echo '#!/bin/bash\ncd /home/coder/mkdocs\nmkdocs "$@"' > /home/coder/.local/bin/run-mkdocs \ + && chmod +x /home/coder/.local/bin/run-mkdocs + +WORKDIR /home/coder diff --git a/README.md b/README.md new file mode 100755 index 0000000..e50f720 --- /dev/null +++ b/README.md @@ -0,0 +1,5 @@ +# README + +## bnkops.custom.changemaker + +This branch is BNKops custom branch for our own deployment. \ No newline at end of file diff --git a/add-cname-records.sh b/add-cname-records.sh new file mode 100755 index 0000000..dc5f105 --- /dev/null +++ b/add-cname-records.sh @@ -0,0 +1,238 @@ +#!/bin/bash +echo "#############################################################" +echo "# " +echo "# WARNING: This script will REPLACE ALL DNS records at " +echo "# the target domain ($CF_DOMAIN)! " +echo "# " +echo "# All existing DNS records for the listed subdomains will " +echo "# be deleted and replaced with new CNAME records. " +echo "# " +echo "#############################################################" +echo "" +echo "-------------------------------------------------------------" +echo "Cloudflare Credentials Required" +echo "Please ensure your .env file contains the following variables:" +echo " CF_API_TOKEN=your_cloudflare_api_token" +echo " CF_ZONE_ID=your_cloudflare_zone_id" +echo " CF_TUNNEL_ID=your_cloudflared_tunnel_id" +echo " CF_DOMAIN=yourdomain.com" +echo "" +echo "You can find these values in your Cloudflare dashboard:" +echo " - API Token: https://dash.cloudflare.com/profile/api-tokens (Create a token with Zone:DNS:Edit and Access:Apps:Edit permissions for your domain)" +echo " - Zone ID: On your domain's overview page" +echo " - Tunnel ID: In the Zero Trust dashboard under Access > Tunnels" +echo " - Domain: The domain you want to use for your services" +echo "" +echo "-------------------------------------------------------------" +echo "" +read -p "Type 'y' to continue or any other key to abort: " consent +if [[ "$consent" != "y" && "$consent" != "Y" ]]; then + echo "Aborted by user." + exit 1 +fi +# Source environment variables from the .env file in the same directory +ENV_FILE="$(dirname "$0")/.env" +if [ -f "$ENV_FILE" ]; then + export $(grep -v '^#' "$ENV_FILE" | xargs) +else + echo "Error: .env file not found at $ENV_FILE" + exit 1 +fi + +# Check if required Cloudflare variables are set +if [ -z "$CF_API_TOKEN" ] || [ -z "$CF_ZONE_ID" ] || [ -z "$CF_TUNNEL_ID" ] || [ -z "$CF_DOMAIN" ]; then + echo "Error: One or more required Cloudflare environment variables (CF_API_TOKEN, CF_ZONE_ID, CF_TUNNEL_ID, CF_DOMAIN) are not set in $ENV_FILE." + exit 1 +fi + +# Check if jq is installed +if ! command -v jq &> /dev/null; then + echo "Error: jq is required but not installed. Please install jq to continue." + echo "On Debian/Ubuntu: sudo apt-get install jq" + echo "On RHEL/CentOS: sudo yum install jq" + exit 1 +fi + +# Array of subdomains based on docker-compose.yml services +SUBDOMAINS=( + "homepage" + "excalidraw" + "listmonk" + "monica" + "flatnotes" + "code-server" + "ollama" + "open-webui" + "gitea" + "mini-qr" + "ferdium" + "answer" + "nocodb" + "n8n" + "convertx" + "rocket" + "live" +) + +# First, remove existing DNS records for these subdomains +echo "Removing existing DNS records..." + +for subdomain in "${SUBDOMAINS[@]}"; do + echo "Checking for existing records for $subdomain.$CF_DOMAIN..." + + # Get all DNS records for this subdomain + RECORDS=$(curl -s -X GET "https://api.cloudflare.com/client/v4/zones/$CF_ZONE_ID/dns_records?name=$subdomain.$CF_DOMAIN" \ + -H "Authorization: Bearer $CF_API_TOKEN" \ + -H "Content-Type: application/json") + + # Extract record IDs + RECORD_IDS=$(echo $RECORDS | jq -r '.result[].id') + + # Delete each record + for record_id in $RECORD_IDS; do + echo "Deleting record $record_id for $subdomain.$CF_DOMAIN..." + + curl -s -X DELETE "https://api.cloudflare.com/client/v4/zones/$CF_ZONE_ID/dns_records/$record_id" \ + -H "Authorization: Bearer $CF_API_TOKEN" \ + -H "Content-Type: application/json" + done +done + +echo "All existing records have been removed." + +# Add CNAME records for each subdomain +for subdomain in "${SUBDOMAINS[@]}"; do + echo "Adding CNAME record for $subdomain.$CF_DOMAIN..." + + curl -X POST "https://api.cloudflare.com/client/v4/zones/$CF_ZONE_ID/dns_records" \ + -H "Authorization: Bearer $CF_API_TOKEN" \ + -H "Content-Type: application/json" \ + --data "{ + \"type\": \"CNAME\", + \"name\": \"$subdomain\", + \"content\": \"$CF_TUNNEL_ID.cfargotunnel.com\", + \"ttl\": 1, + \"proxied\": true + }" + + echo -e "\n" +done + +echo "All CNAME records have been added." + +# Add root domain record +echo "Adding root domain (@ record)..." +curl -X POST "https://api.cloudflare.com/client/v4/zones/$CF_ZONE_ID/dns_records" \ + -H "Authorization: Bearer $CF_API_TOKEN" \ + -H "Content-Type: application/json" \ + --data "{ + \"type\": \"CNAME\", + \"name\": \"@\", + \"content\": \"$CF_TUNNEL_ID.cfargotunnel.com\", + \"ttl\": 1, + \"proxied\": true + }" +echo -e "\n" +echo "Root domain CNAME record has been added." + +# Now create the Cloudflare Access applications +echo "Creating Cloudflare Access applications..." + +# 1. Create wildcard access application for all subdomains +echo "Creating wildcard access application for *.$CF_DOMAIN..." +WILDCARD_APP_RESPONSE=$(curl -s -X POST "https://api.cloudflare.com/client/v4/zones/$CF_ZONE_ID/access/apps" \ + -H "Authorization: Bearer $CF_API_TOKEN" \ + -H "Content-Type: application/json" \ + --data "{ + \"name\": \"All Applications - $CF_DOMAIN\", + \"domain\": \"*.$CF_DOMAIN\", + \"type\": \"self_hosted\", + \"session_duration\": \"24h\", + \"app_launcher_visible\": true, + \"skip_interstitial\": true + }") + +# Extract the application ID from the response +WILDCARD_APP_ID=$(echo $WILDCARD_APP_RESPONSE | jq -r '.result.id') + +if [ -z "$WILDCARD_APP_ID" ] || [ "$WILDCARD_APP_ID" == "null" ]; then + echo "Error creating wildcard access application. Response: $WILDCARD_APP_RESPONSE" +else + echo "Successfully created wildcard access application with ID: $WILDCARD_APP_ID" + + # Create policy for emails ending with the domain + echo "Creating email domain policy for wildcard application..." + EMAIL_DOMAIN=$(echo $CF_DOMAIN | cut -d'.' -f1,2) + + curl -s -X POST "https://api.cloudflare.com/client/v4/zones/$CF_ZONE_ID/access/apps/$WILDCARD_APP_ID/policies" \ + -H "Authorization: Bearer $CF_API_TOKEN" \ + -H "Content-Type: application/json" \ + --data "{ + \"name\": \"Allow Domain Emails\", + \"decision\": \"allow\", + \"include\": [{ + \"email_domain\": { + \"domain\": \"$EMAIL_DOMAIN\" + } + }], + \"require\": [], + \"exclude\": [], + \"precedence\": 1, + \"purpose\": \"Authentication for domain users\", + \"session_duration\": \"24h\" + }" + + echo "Email domain policy created." +fi + +# 2. Create specific access application for Gitea +echo "Creating access application for gitea.$CF_DOMAIN..." +GITEA_APP_RESPONSE=$(curl -s -X POST "https://api.cloudflare.com/client/v4/zones/$CF_ZONE_ID/access/apps" \ + -H "Authorization: Bearer $CF_API_TOKEN" \ + -H "Content-Type: application/json" \ + --data "{ + \"name\": \"Gitea $CF_DOMAIN\", + \"domain\": \"gitea.$CF_DOMAIN\", + \"type\": \"self_hosted\", + \"app_launcher_visible\": true, + \"skip_interstitial\": true + }") + +# Extract the application ID from the response +GITEA_APP_ID=$(echo $GITEA_APP_RESPONSE | jq -r '.result.id') + +if [ -z "$GITEA_APP_ID" ] || [ "$GITEA_APP_ID" == "null" ]; then + echo "Error creating Gitea access application. Response: $GITEA_APP_RESPONSE" +else + echo "Successfully created Gitea access application with ID: $GITEA_APP_ID" + + # Create bypass policy for everyone - Updated format + echo "Creating bypass policy for Gitea application..." + + POLICY_RESPONSE=$(curl -s -X POST "https://api.cloudflare.com/client/v4/zones/$CF_ZONE_ID/access/apps/$GITEA_APP_ID/policies" \ + -H "Authorization: Bearer $CF_API_TOKEN" \ + -H "Content-Type: application/json" \ + --data "{ + \"name\": \"Bypass for Everyone\", + \"decision\": \"bypass\", + \"include\": [{ + \"everyone\": {} + }], + \"require\": [], + \"exclude\": [] + }") + + # Check if policy creation was successful + POLICY_SUCCESS=$(echo $POLICY_RESPONSE | jq -r '.success') + + if [ "$POLICY_SUCCESS" == "true" ]; then + POLICY_ID=$(echo $POLICY_RESPONSE | jq -r '.result.id') + echo "Bypass policy for Gitea created successfully with ID: $POLICY_ID" + else + ERROR_MSG=$(echo $POLICY_RESPONSE | jq -r '.errors[0].message') + echo "Error creating bypass policy for Gitea: $ERROR_MSG" + echo "Full response: $POLICY_RESPONSE" + fi +fi + +echo "Cloudflare Access applications setup complete." diff --git a/answer-data/.gitkeep b/answer-data/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/apps.md b/apps.md new file mode 100644 index 0000000..6ea2e7d --- /dev/null +++ b/apps.md @@ -0,0 +1,144 @@ +# Changemaker V5 - Apps & Services Documentation + +This document provides an overview of all the applications and services included in the Changemaker V5 productivity suite, along with links to their documentation. + +## Dashboard + +### Homepage +- **Description**: Main dashboard for Changemaker V5 +- **Documentation**: [Homepage Docs](https://gethomepage.dev/) +- **Local Access**: http://localhost:3010/ +- **Details**: Homepage serves as your central command center, providing a unified dashboard to access all Changemaker services from one place. It features customizable layouts, service status monitoring, and bookmarks to frequently used pages, eliminating the need to remember numerous URLs. + +## Essential Tools + +### Code Server +- **Description**: Visual Studio Code in the browser +- **Documentation**: [Code Server Docs](https://coder.com/docs/code-server) +- **Local Access**: http://localhost:8888/ +- **Details**: Code Server brings the power of VS Code to your browser, allowing you to develop and edit code from any device without local installation. This makes it perfect for quick edits to website content, fixing formatting issues, or developing from tablets or borrowed computers. The familiar VS Code interface includes extensions, syntax highlighting, and Git integration. + +### Flatnotes +- **Description**: Simple note-taking app - connected directly to blog +- **Documentation**: [Flatnotes Docs](https://github.com/Dullage/Flatnotes) +- **Local Access**: http://localhost:8089/ +- **Details**: Flatnotes offers distraction-free, markdown-based note-taking with automatic saving and powerful search. Perfect for capturing ideas that can be directly published to your blog without reformatting. Use it for drafting newsletters, documenting processes, or maintaining a knowledge base that's both private and publishable. + +### Listmonk +- **Description**: Self-hosted newsletter and mailing list manager +- **Documentation**: [Listmonk Docs](https://listmonk.app/docs/) +- **Local Access**: http://localhost:9000/ +- **Details**: Listmonk provides complete control over your email campaigns without subscription fees or content restrictions. Create segmented lists, design professional newsletters, track engagement metrics, and manage opt-ins/unsubscribes—all while keeping your audience data private. Perfect for consistent communication with supporters without the censorship risks or costs of commercial platforms. + +### NocoDB +- **Description**: Open Source Airtable Alternative +- **Documentation**: [NocoDB Docs](https://docs.nocodb.com/) +- **Local Access**: http://localhost:8090/ +- **Details**: NocoDB transforms any database into a smart spreadsheet with advanced features like forms, views, and automations. Use it to create volunteer signup systems, event management databases, or campaign tracking tools without subscription costs. Its familiar spreadsheet interface makes it accessible to non-technical users while providing the power of a relational database. + +## Content Creation + +### MkDocs - Material Theme +- **Description**: Static site generator and documentation builder +- **Documentation**: [MkDocs Docs](https://www.mkdocs.org/) +- **Local Access**: http://localhost:4000/ +- **Details**: MkDocs with Material theme transforms simple markdown files into beautiful, professional documentation sites. Ideal for creating campaign websites, project documentation, or public-facing content that loads quickly and ranks well in search engines. The Material theme adds responsive design, dark mode, and advanced navigation features. + +### Excalidraw +- **Description**: Virtual collaborative whiteboard for sketching and drawing +- **Documentation**: [Excalidraw Docs](https://github.com/excalidraw/excalidraw) +- **Local Access**: http://localhost:3333/ +- **Details**: Excalidraw provides a virtual whiteboard for creating diagrams, flowcharts, or sketches with a hand-drawn feel. It's excellent for visual brainstorming, planning project workflows, or mapping out campaign strategies. Multiple people can collaborate in real-time, making it ideal for remote team planning sessions. + +### Gitea +- **Description**: Lightweight self-hosted Git service +- **Documentation**: [Gitea Docs](https://docs.gitea.io/) +- **Local Access**: http://localhost:3030/ +- **Details**: Gitea provides a complete code and document version control system similar to GitHub but fully under your control. Use it to track changes to campaign materials, collaborate on content development, manage website code, or maintain configuration files with full revision history. Multiple contributors can work together without overwriting each other's changes. + +### OpenWebUI +- **Description**: Web interface for Ollama +- **Documentation**: [OpenWebUI Docs](https://docs.openwebui.com/) +- **Local Access**: http://localhost:3005/ +- **Details**: OpenWebUI provides a user-friendly chat interface for interacting with your Ollama AI models. This makes AI accessible to non-technical team members for tasks like drafting responses, generating creative content, or researching topics. The familiar chat format allows anyone to leverage AI assistance without needing to understand the underlying technology. + +## Community & Data + +### Monica CRM +- **Description**: Personal relationship management system +- **Documentation**: [Monica Docs](https://www.monicahq.com/docs) +- **Local Access**: http://localhost:8085/ +- **Details**: Monica CRM helps you maintain meaningful relationships by tracking interactions, important dates, and personal details about contacts. It's perfect for community organizers to remember conversation contexts, follow up appropriately, and nurture connections with supporters. Unlike corporate CRMs, Monica focuses on the human aspects of relationships rather than just sales metrics. + +### Answer +- **Description**: Q&A platform for teams +- **Documentation**: [Answer Docs](https://answer.dev/docs) +- **Local Access**: http://localhost:9080/ +- **Details**: Answer creates a knowledge-sharing community where team members or supporters can ask questions, provide solutions, and vote on the best responses. It builds an organized, searchable knowledge base that grows over time. Use it for internal team support, public FAQs, or gathering community input on initiatives while keeping valuable information accessible rather than buried in email threads. + +### Ferdium +- **Description**: All-in-one messaging application +- **Documentation**: [Ferdium Docs](https://ferdium.org/help) +- **Local Access**: http://localhost:3002/ +- **Details**: Ferdium consolidates all your communication platforms (Slack, Discord, WhatsApp, Telegram, etc.) into a single interface. This allows you to monitor and respond across channels without constantly switching applications. Perfect for community managers who need to maintain presence across multiple platforms without missing messages or getting overwhelmed. + +### Rocket.Chat +- **Description**: Team collaboration platform with chat, channels, and video conferencing +- **Documentation**: [Rocket.Chat Docs](https://docs.rocket.chat/) +- **Local Access**: http://localhost:3004/ +- **Details**: Rocket.Chat provides a complete communication platform for your team or community. Features include real-time chat, channels, direct messaging, file sharing, video calls, and integrations with other services. It's perfect for creating private discussion spaces, coordinating campaigns, or building community engagement. Unlike commercial platforms, you maintain full data sovereignty and control over user privacy. + +## Development + +### Ollama +- **Description**: Local AI model server for running large language models +- **Documentation**: [Ollama Docs](https://ollama.ai/docs) +- **Local Access**: http://localhost:11435/ +- **Details**: Ollama runs powerful AI language models locally on your server, providing AI capabilities without sending sensitive data to third-party services. Use it for content generation, research assistance, or data analysis with complete privacy. Models run on your hardware, giving you full control over what AI can access and ensuring your information stays confidential. + +### Portainer +- **Description**: Docker container management UI +- **Documentation**: [Portainer Docs](https://docs.portainer.io/) +- **Local Access**: https://localhost:9443/ +- **Details**: Portainer simplifies Docker management with a visual interface for controlling containers, images, networks, and volumes. Instead of complex command-line operations, you can start/stop services, view logs, and manage resources through an intuitive UI, making system maintenance accessible to non-technical users. + +### Mini-QR +- **Description**: QR Code Generator +- **Documentation**: [Mini-QR Docs](https://github.com/xbzbing/mini-qr) +- **Local Access**: http://localhost:8081/ +- **Details**: Mini-QR enables you to quickly generate customizable QR codes for any URL, text, or contact information. Perfect for campaign materials, business cards, or event signage. Create codes that link to your digital materials without relying on third-party services that may track usage or expire. + +### ConvertX +- **Description**: Self-hosted file conversion tool +- **Documentation**: [ConvertX GitHub](https://github.com/c4illin/convertx) +- **Local Access**: http://localhost:3100/ +- **Details**: ConvertX provides a simple web interface for converting files between different formats. It supports a wide range of file types including documents, images, audio, and video. This enables you to maintain full control over your file conversions without relying on potentially insecure third-party services. Perfect for converting documents for campaigns, optimizing images for web use, or preparing media files for different platforms. + +### n8n +- **Description**: Workflow automation platform +- **Documentation**: [n8n Docs](https://docs.n8n.io/) +- **Local Access**: http://localhost:5678/ +- **Details**: n8n automates repetitive tasks by connecting your applications and services with visual workflows. You can create automations like sending welcome emails to new supporters, posting social media updates across platforms, or synchronizing contacts between databases—all without coding. This saves hours of manual work and ensures consistent follow-through on processes. + +## Remote Access + +When configured with Cloudflare Tunnels, you can access these services remotely at: + +- Homepage: https://homepage.yourdomain.com +- Excalidraw: https://excalidraw.yourdomain.com +- Listmonk: https://listmonk.yourdomain.com +- Monica CRM: https://monica.yourdomain.com +- MkDocs: https://yourdomain.com +- Flatnotes: https://flatnotes.yourdomain.com +- Code Server: https://code-server.yourdomain.com +- Ollama: https://ollama.yourdomain.com +- OpenWebUI: https://open-web-ui.yourdomain.com +- Gitea: https://gitea.yourdomain.com +- Portainer: https://portainer.yourdomain.com +- Mini QR: https://mini-qr.yourdomain.com +- Ferdium: https://ferdium.yourdomain.com +- Answer: https://answer.yourdomain.com +- NocoDB: https://nocodb.yourdomain.com +- n8n: https://n8n.yourdomain.com +- ConvertX: https://convertx.yourdomain.com +- Rocket.Chat: https://rocket.yourdomain.com diff --git a/assets/icons/.gitkeep b/assets/icons/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/assets/images/background.png b/assets/images/background.png new file mode 100755 index 0000000..358d2ff Binary files /dev/null and b/assets/images/background.png differ diff --git a/assets/images/buildyourpower.png b/assets/images/buildyourpower.png new file mode 100644 index 0000000..aaf9209 Binary files /dev/null and b/assets/images/buildyourpower.png differ diff --git a/assets/images/changemaker.png b/assets/images/changemaker.png new file mode 100644 index 0000000..862bade Binary files /dev/null and b/assets/images/changemaker.png differ diff --git a/assets/images/changemkaerv5.gif b/assets/images/changemkaerv5.gif new file mode 100644 index 0000000..0bde37e Binary files /dev/null and b/assets/images/changemkaerv5.gif differ diff --git a/assets/images/homepage.png b/assets/images/homepage.png new file mode 100644 index 0000000..fd29e79 Binary files /dev/null and b/assets/images/homepage.png differ diff --git a/assets/uploads/.gitkeep b/assets/uploads/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/config.sh b/config.sh new file mode 100755 index 0000000..b76e6de --- /dev/null +++ b/config.sh @@ -0,0 +1,442 @@ +#!/bin/bash + +cat << "EOF" + ██████╗██╗ ██╗ █████╗ ███╗ ██╗ ██████╗ ███████╗ + ██╔════╝██║ ██║██╔══██╗████╗ ██║██╔════╝ ██╔════╝ + ██║ ███████║███████║██╔██╗ ██║██║ ███╗█████╗ + ██║ ██╔══██║██╔══██║██║╚██╗██║██║ ██║██╔══╝ + ╚██████╗██║ ██║██║ ██║██║ ╚████║╚██████╔╝███████╗ + ╚═════╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═══╝ ╚═════╝ ╚══════╝ + + ███╗ ███╗ █████╗ ██╗ ██╗███████╗██████╗ + ████╗ ████║██╔══██╗██║ ██╔╝██╔════╝██╔══██╗ + ██╔████╔██║███████║█████╔╝ █████╗ ██████╔╝ + ██║╚██╔╝██║██╔══██║██╔═██╗ ██╔══╝ ██╔══██╗ + ██║ ╚═╝ ██║██║ ██║██║ ██╗███████╗██║ ██║ + ╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝ + Configuration Wizard +EOF + +# Get the absolute path of the script directory +SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +ENV_FILE="$SCRIPT_DIR/.env" + +echo "Looking for .env file at: $ENV_FILE" + +# Check if .env file exists +if [ ! -f "$ENV_FILE" ]; then + echo "Error: .env file not found at $ENV_FILE" + echo "Creating a backup plan - searching for .env in current directory..." + + if [ -f ".env" ]; then + ENV_FILE=".env" + echo "Found .env in current directory. Using: $ENV_FILE" + else + echo "Still no .env file found. Please make sure the .env file exists." + exit 1 + fi +fi + +# Function to create a timestamped backup of the .env file +backup_env_file() { + local timestamp=$(date +"%Y%m%d_%H%M%S") + local backup_file="$ENV_FILE.backup_$timestamp" + + echo "Creating backup of current .env file to: $backup_file" + if cp "$ENV_FILE" "$backup_file"; then + echo "Backup created successfully!" + return 0 + else + echo "Failed to create backup file. Proceeding with caution..." + return 1 + fi +} + +# Create a backup of the current .env file before making any changes +backup_env_file + +# Function to generate a random secure password +generate_password() { + local length=${1:-16} + openssl rand -base64 48 | tr -dc 'a-zA-Z0-9!@#$%^&*()-_=+' | head -c "$length" +} + +# Function to generate a base64 encoded key for Monica +generate_base64_key() { + local length=${1:-32} + local key=$(openssl rand -base64 48 | tr -dc 'a-zA-Z0-9!@#$%^&*()-_=+' | head -c "$length") + echo "base64:$(echo -n "$key" | base64)" +} + +# Function to safely update environment variables in .env file +update_env_var() { + local key=$1 + local value=$2 + local escaped_value=$(echo "$value" | sed 's/[\/&]/\\&/g') + + # Make a temporary backup of the .env file before modification + # Adding "_tmp" to distinguish from the main backup + cp "$ENV_FILE" "$ENV_FILE.bak_tmp" + + if grep -q "^$key=" "$ENV_FILE"; then + # Use perl instead of sed for better handling of paths with spaces + perl -i -pe "s/^$key=.*/$key=$escaped_value/" "$ENV_FILE" + echo "Updated $key in .env file" + else + echo "$key=$escaped_value" >> "$ENV_FILE" + echo "Added $key to .env file" + fi + + # Check if update was successful + if ! grep -q "^$key=$escaped_value" "$ENV_FILE"; then + echo "Warning: Failed to update $key in .env file" + echo "Restoring from backup..." + cp "$ENV_FILE.bak_tmp" "$ENV_FILE" + echo "Will try alternative method..." + + # Alternative update method + local temp_file=$(mktemp) + if grep -q "^$key=" "$ENV_FILE"; then + while IFS= read -r line; do + if [[ $line =~ ^$key= ]]; then + echo "$key=$value" >> "$temp_file" + else + echo "$line" >> "$temp_file" + fi + done < "$ENV_FILE" + else + cat "$ENV_FILE" > "$temp_file" + echo "$key=$value" >> "$temp_file" + fi + + mv "$temp_file" "$ENV_FILE" + fi + + # Remove the temporary backup file after successful update + rm -f "$ENV_FILE.bak_tmp" +} + +echo -e "\n\nWelcome to Changemaker Config!\n" +echo "This script will help you configure your Changemaker instance." +echo "Please provide the following information:" + +# Domain configuration +read -p "Enter your domain name (without protocol, e.g., example.com): " domain_name + +if [ -z "$domain_name" ]; then + echo "Domain name cannot be empty. Using default: changeme.org" + domain_name="changeme.org" +fi + +echo -e "\nUpdating domain settings in .env file at: $ENV_FILE" + +# Update main domain settings +update_env_var "DOMAIN" "$domain_name" +update_env_var "BASE_DOMAIN" "https://$domain_name" + +# Update Listmonk hostname +update_env_var "LISTMONK_HOSTNAME" "listmonk.$domain_name" + +# Update Gitea settings +update_env_var "GITEA_ROOT_URL" "https://gitea.$domain_name" +update_env_var "GITEA_DOMAIN" "gitea.$domain_name" + +# Update Excalidraw settings +update_env_var "EXCALIDRAW_PUBLIC_URL" "https://excalidraw.$domain_name" +update_env_var "EXCALIDRAW_PUBLIC_SOCKET_URL" "https://excalidraw.$domain_name" + +# Update OpenWebUI settings +echo -e "\nConfiguring OpenWebUI..." +update_env_var "OPEN_WEBUI_PORT" "3005" +update_env_var "OPEN_WEBUI_URL" "https://open-webui.$domain_name" + +echo -e "Domain settings have been updated successfully!\n" + +# Listmonk Admin Credentials configuration +echo -e "\n---- Listmonk Admin Credentials ----" +read -p "Enter Listmonk admin username [default: admin]: " listmonk_user +read -sp "Enter Listmonk admin password [default: strongpassword]: " listmonk_password +echo # Add new line after password input + +if [ -z "$listmonk_user" ]; then + echo "Using default Listmonk admin username: admin" + listmonk_user="admin" +fi + +if [ -z "$listmonk_password" ]; then + echo "Using default Listmonk admin password" + listmonk_password="strongpassword" +fi + +# Update Listmonk credentials +update_env_var "LISTMONK_ADMIN_USER" "$listmonk_user" +update_env_var "LISTMONK_ADMIN_PASSWORD" "$listmonk_password" + +echo "Listmonk admin credentials updated." + +# Flatnotes User Credentials configuration +echo -e "\n---- Flatnotes User Credentials ----" +read -p "Enter Flatnotes username [default: user]: " flatnotes_user +read -sp "Enter Flatnotes password [default: changeMe!]: " flatnotes_password +echo # Add new line after password input + +if [ -z "$flatnotes_user" ]; then + echo "Using default Flatnotes username: user" + flatnotes_user="user" +fi + +if [ -z "$flatnotes_password" ]; then + echo "Using default Flatnotes password" + flatnotes_password="changeMe!" +fi + +# Update Flatnotes credentials +update_env_var "FLATNOTES_USERNAME" "$flatnotes_user" +update_env_var "FLATNOTES_PASSWORD" "$flatnotes_password" + +echo "Flatnotes user credentials updated." + +# N8N User Credentials configuration +echo -e "\n---- N8N Admin Credentials ----" +read -p "Enter N8N admin email [default: admin@example.com]: " n8n_email +read -sp "Enter N8N admin password [default: changeMe]: " n8n_password +echo # Add new line after password input + +if [ -z "$n8n_email" ]; then + echo "Using default N8N admin email: admin@example.com" + n8n_email="admin@example.com" +fi + +if [ -z "$n8n_password" ]; then + echo "Using default N8N admin password" + n8n_password="changeMe" +fi + +# Update N8N host and other settings +update_env_var "N8N_HOST" "n8n.$domain_name" +update_env_var "N8N_USER_EMAIL" "$n8n_email" +update_env_var "N8N_USER_PASSWORD" "$n8n_password" +update_env_var "GENERIC_TIMEZONE" "UTC" + +echo "N8N admin credentials updated." + +# Rocket.Chat Configuration +echo -e "\n---- Rocket.Chat Configuration ----" +read -p "Enter Rocket.Chat URL (default: https://rocket.$domain_name): " rocketchat_url +read -p "Enter Rocket.Chat port [default: 3004]: " rocketchat_port +read -p "Enable production mode for Rocket.Chat? [Y/n]: " rocketchat_production + +if [ -z "$rocketchat_url" ]; then + echo "Using default Rocket.Chat URL: https://rocket.$domain_name" + rocketchat_url="https://rocket.$domain_name" +fi + +if [ -z "$rocketchat_port" ]; then + echo "Using default Rocket.Chat port: 3004" + rocketchat_port="3004" +fi + +rocketchat_environment="changemaker" +if [[ "$rocketchat_production" =~ ^[Yy]$ ]] || [ -z "$rocketchat_production" ]; then + echo "Enabling production mode for Rocket.Chat" + rocketchat_environment="production" +fi + +# Update Rocket.Chat settings +update_env_var "ROCKETCHAT_PORT" "$rocketchat_port" +update_env_var "ROCKETCHAT_CONTAINER_PORT" "3000" +update_env_var "ROCKETCHAT_ROOT_URL" "$rocketchat_url" +update_env_var "ROCKETCHAT_DEPLOYMENT_ENVIRONMENT" "$rocketchat_environment" + +echo "Rocket.Chat configuration updated." + +# Cloudflare Credentials Configuration +echo -e "\n---- Cloudflare Credentials Configuration ----" +echo "Please enter your Cloudflare credentials for DNS and tunnel management." + +read -p "Enter Cloudflare authentication email: " cf_auth_email +read -p "Enter Cloudflare API token: " cf_api_token +read -p "Enter Cloudflare Zone ID: " cf_zone_id +read -p "Enter Cloudflare Tunnel ID: " cf_tunnel_id + +if [ -z "$cf_auth_email" ]; then + echo "Warning: Cloudflare authentication email is empty. Some features may not work correctly." +fi + +if [ -z "$cf_api_token" ]; then + echo "Warning: Cloudflare API token is empty. Some features may not work correctly." +fi + +if [ -z "$cf_zone_id" ]; then + echo "Warning: Cloudflare Zone ID is empty. Some features may not work correctly." +fi + +if [ -z "$cf_tunnel_id" ]; then + echo "Warning: Cloudflare Tunnel ID is empty. Some features may not work correctly." +fi + +# Update Cloudflare settings +update_env_var "CF_AUTH_EMAIL" "$cf_auth_email" +update_env_var "CF_API_TOKEN" "$cf_api_token" +update_env_var "CF_ZONE_ID" "$cf_zone_id" +update_env_var "CF_TUNNEL_ID" "$cf_tunnel_id" +update_env_var "CF_DOMAIN" "$domain_name" + +echo "Cloudflare credentials have been updated." + +echo -e "\n---- Generating Random Strong Passwords ----" +echo "Generating and updating passwords for all other services..." + +# Generate and update Monica app key +monica_app_key=$(generate_base64_key 32) +update_env_var "MONICA_APP_KEY" "$monica_app_key" + +# Generate and update Monica passwords +monica_db_password=$(generate_password 20) +update_env_var "MONICA_DB_PASSWORD" "$monica_db_password" +update_env_var "MONICA_MYSQL_PASSWORD" "$monica_db_password" + +# Generate and update Flatnotes secret key +flatnotes_secret_key=$(generate_password 32) +update_env_var "FLATNOTES_SECRET_KEY" "$flatnotes_secret_key" + +# Generate and update Gitea passwords +gitea_db_password=$(generate_password 24) +gitea_root_password=$(generate_password 24) +update_env_var "GITEA_DB_PASSWD" "$gitea_db_password" +update_env_var "GITEA_DB_ROOT_PASSWORD" "$gitea_root_password" + +# Generate and update NocoDB JWT secret and database password +nocodb_jwt_secret=$(generate_password 32) +update_env_var "NOCODB_JWT_SECRET" "$nocodb_jwt_secret" + +nocodb_db_password=$(generate_password 20) +update_env_var "NOCODB_DB_PASSWORD" "$nocodb_db_password" + +# Generate and update n8n encryption key and default admin password +n8n_encryption_key=$(generate_password 32) +update_env_var "N8N_ENCRYPTION_KEY" "$n8n_encryption_key" + +# Generate and update ConvertX JWT secret +convertx_jwt_secret=$(generate_password 48) +update_env_var "CONVERTX_JWT_SECRET" "$convertx_jwt_secret" + +echo "All service passwords have been updated with secure random strings." + +echo -e "\nAll settings have been configured successfully!" +echo "Your Changemaker instance is now ready with the following:" +echo "- Domain: $domain_name" +echo "- Listmonk Admin: $listmonk_user" +echo "- Flatnotes User: $flatnotes_user" +echo "- N8N Admin Email: $n8n_email" +echo "- All other service passwords have been randomized for security" +echo -e "\nNote: The randomized passwords are stored in your .env file at: $ENV_FILE" +echo -e "A backup of your original .env file was created before modifications." + +# Add a new function to write the complete .env file +write_new_env_file() { + local timestamp=$(date +"%Y%m%d_%H%M%S") + local backup_file="$ENV_FILE.backup_$timestamp" + + echo "Creating final backup of the current .env file to: $backup_file" + cp "$ENV_FILE" "$backup_file" + + echo "Creating new .env file with all updated settings..." + + # Get all variables from the current .env file + local temp_env=$(mktemp) + grep -v "^#" "$ENV_FILE" | grep "=" > "$temp_env" + + # Create the new .env file with header + cat > "$ENV_FILE.new" << EOL +# Never share this file publicly. It contains sensitive information. +# This file is used to configure various applications and services. +# Generated by Changemaker Config Wizard on $(date) + +EOL + + # Add all sections with their variables + echo "# Domain Configuration" >> "$ENV_FILE.new" + grep -E "^DOMAIN=|^BASE_DOMAIN=" "$temp_env" >> "$ENV_FILE.new" + echo "" >> "$ENV_FILE.new" + + echo "# Listmonk Configuration" >> "$ENV_FILE.new" + grep -E "^LISTMONK_" "$temp_env" >> "$ENV_FILE.new" + echo "" >> "$ENV_FILE.new" + + echo "# Database Credentials" >> "$ENV_FILE.new" + grep -E "^POSTGRES_" "$temp_env" >> "$ENV_FILE.new" + echo "" >> "$ENV_FILE.new" + + echo "# Monica CRM Configuration" >> "$ENV_FILE.new" + grep -E "^MONICA_" "$temp_env" >> "$ENV_FILE.new" + echo "" >> "$ENV_FILE.new" + + echo "# MkDocs Configuration" >> "$ENV_FILE.new" + grep -E "^USER_ID=|^GROUP_ID=|^MKDOCS_" "$temp_env" >> "$ENV_FILE.new" + echo "" >> "$ENV_FILE.new" + + echo "# Flatnotes Configuration" >> "$ENV_FILE.new" + grep -E "^FLATNOTES_" "$temp_env" >> "$ENV_FILE.new" + echo "" >> "$ENV_FILE.new" + + echo "# Gitea Configuration" >> "$ENV_FILE.new" + grep -E "^GITEA_" "$temp_env" >> "$ENV_FILE.new" + echo "" >> "$ENV_FILE.new" + + echo "# Apache Answer Configuration" >> "$ENV_FILE.new" + grep -E "^ANSWER_" "$temp_env" >> "$ENV_FILE.new" + echo "" >> "$ENV_FILE.new" + + echo "# Excalidraw Configuration" >> "$ENV_FILE.new" + grep -E "^EXCALIDRAW_" "$temp_env" >> "$ENV_FILE.new" + echo "" >> "$ENV_FILE.new" + + echo "# Code Server Configuration" >> "$ENV_FILE.new" + grep -E "^CODE_SERVER_|^USER_NAME=" "$temp_env" >> "$ENV_FILE.new" + echo "" >> "$ENV_FILE.new" + + echo "# Cloudflare Credentials" >> "$ENV_FILE.new" + grep -E "^CF_" "$temp_env" >> "$ENV_FILE.new" + echo "" >> "$ENV_FILE.new" + + echo "# NocoDB Configuration" >> "$ENV_FILE.new" + grep -E "^NOCODB_" "$temp_env" >> "$ENV_FILE.new" + echo "" >> "$ENV_FILE.new" + + echo "# OpenWebUI Configuration" >> "$ENV_FILE.new" + grep -E "^OPEN_WEBUI_" "$temp_env" >> "$ENV_FILE.new" + echo "" >> "$ENV_FILE.new" + + echo "# N8N Configuration" >> "$ENV_FILE.new" + grep -E "^N8N_|^GENERIC_TIMEZONE=" "$temp_env" >> "$ENV_FILE.new" + echo "" >> "$ENV_FILE.new" + + echo "# ConvertX Configuration" >> "$ENV_FILE.new" + grep -E "^CONVERTX_" "$temp_env" >> "$ENV_FILE.new" + echo "" >> "$ENV_FILE.new" + + echo "# Rocket.Chat Configuration" >> "$ENV_FILE.new" + grep -E "^ROCKETCHAT_" "$temp_env" >> "$ENV_FILE.new" + echo "" >> "$ENV_FILE.new" + + # Any variables that didn't fit in the above categories + echo "# Additional Configuration" >> "$ENV_FILE.new" + grep -v -E "^DOMAIN=|^BASE_DOMAIN=|^LISTMONK_|^POSTGRES_|^MONICA_|^USER_ID=|^GROUP_ID=|^MKDOCS_|^FLATNOTES_|^GITEA_|^ANSWER_|^EXCALIDRAW_|^CODE_SERVER_|^USER_NAME=|^CF_|^NOCODB_|^OPEN_WEBUI_|^N8N_|^GENERIC_TIMEZONE=|^CONVERTX_|^ROCKETCHAT_" "$temp_env" >> "$ENV_FILE.new" + + # Replace the current .env with the new one + mv "$ENV_FILE.new" "$ENV_FILE" + + # Clean up + rm -f "$temp_env" + + echo "New .env file created and applied successfully!" +} + +# Finalizing the configuration by creating a clean .env file... +echo -e "\nFinalizing the configuration by creating a clean .env file..." +write_new_env_file + +# Clean up any leftover temporary backup files +rm -f "$ENV_FILE.bak_tmp" +echo -e "Temporary backup files have been cleaned up." diff --git a/configs/code-server/.config/.gitkeep b/configs/code-server/.config/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/configs/code-server/.local/.gitkeep b/configs/code-server/.local/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/configs/code-server/mkdocs-check.sh b/configs/code-server/mkdocs-check.sh new file mode 100644 index 0000000..9ff0479 --- /dev/null +++ b/configs/code-server/mkdocs-check.sh @@ -0,0 +1,35 @@ +#!/bin/bash + +# Helper script to diagnose MkDocs configuration +echo "=== MkDocs and Python Information ===" +echo "Python version:" +python3 --version +echo "" + +echo "MkDocs version:" +mkdocs --version +echo "" + +echo "=== Installed Packages in Virtual Environment ===" +pip list +echo "" + +echo "=== MkDocs Configuration ===" +if [ -f "mkdocs.yml" ]; then + echo "Contents of mkdocs.yml:" + cat mkdocs.yml + echo "" + + echo "Checking plugins in mkdocs.yml:" + grep -A 10 "plugins:" mkdocs.yml +else + echo "mkdocs.yml not found in current directory" +fi +echo "" + +echo "=== Testing MkDocs Build ===" +echo "Running: mkdocs build --strict" +mkdocs build --strict + +echo "" +echo "=== Done ===" diff --git a/configs/ferdium/.gitkeep b/configs/ferdium/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/configs/homepage-local/bookmarks.yaml b/configs/homepage-local/bookmarks.yaml new file mode 100755 index 0000000..17b01ec --- /dev/null +++ b/configs/homepage-local/bookmarks.yaml @@ -0,0 +1,65 @@ +--- +# For configuration options and examples, please see: +# https://gethomepage.dev/configs/bookmarks + +- Essential Tools: + - Code Server: + - abbr: CS + href: https://github.com/coder/code-server + - Flatnotes: + - abbr: FN + href: https://github.com/dullage/flatnotes + - Listmonk: + - abbr: LM + href: https://listmonk.app/docs/ + - NocoDB: + - abbr: NC + href: https://docs.nocodb.com/ + +- Content Creation: + - MkDocs: + - abbr: MD + href: https://www.mkdocs.org/ + - Excalidraw: + - abbr: EX + href: https://github.com/excalidraw/excalidraw + - Gitea: + - abbr: GT + href: https://docs.gitea.com/ + - OpenWebUI: + - abbr: OW + href: https://docs.openwebui.com/ + +- Community & Data: + - Monica CRM: + - abbr: MC + href: https://www.monicahq.com/documentation/ + - Answer: + - abbr: AS + href: https://answer.apache.org/docs/ + - Ferdium: + - abbr: FD + href: https://github.com/ferdium/ferdium-app + - Rocket.Chat: + - abbr: RC + href: https://docs.rocket.chat/ + +- Development: + - Ollama: + - abbr: OL + href: https://github.com/ollama/ollama + - Portainer: + - abbr: PT + href: https://docs.portainer.io/ + - Mini-QR: + - abbr: QR + href: https://github.com/lyqht/mini-qr + - ConvertX: + - abbr: CX + href: https://github.com/c4illin/convertx + - n8n: + - abbr: N8 + href: https://docs.n8n.io/ + - Github: + - abbr: GH + href: https://github.com/ diff --git a/configs/homepage-local/custom.css b/configs/homepage-local/custom.css new file mode 100755 index 0000000..e69de29 diff --git a/configs/homepage-local/custom.js b/configs/homepage-local/custom.js new file mode 100755 index 0000000..e69de29 diff --git a/configs/homepage-local/docker.yaml b/configs/homepage-local/docker.yaml new file mode 100755 index 0000000..0000b3b --- /dev/null +++ b/configs/homepage-local/docker.yaml @@ -0,0 +1,10 @@ +--- +# For configuration options and examples, please see: +# https://gethomepage.dev/configs/docker/ + +# my-docker: +# host: 127.0.0.1 +# port: 2375 + +# my-docker: + # socket: /var/run/docker.sock diff --git a/configs/homepage-local/kubernetes.yaml b/configs/homepage-local/kubernetes.yaml new file mode 100755 index 0000000..aca6e82 --- /dev/null +++ b/configs/homepage-local/kubernetes.yaml @@ -0,0 +1,2 @@ +--- +# sample kubernetes config diff --git a/configs/homepage-local/logs/homepage.log b/configs/homepage-local/logs/homepage.log new file mode 100644 index 0000000..e69de29 diff --git a/configs/homepage-local/services.yaml b/configs/homepage-local/services.yaml new file mode 100644 index 0000000..7359668 --- /dev/null +++ b/configs/homepage-local/services.yaml @@ -0,0 +1,79 @@ +--- +# For configuration options and examples, please see: +# https://gethomepage.dev/configs/services/ + +- Essential Tools: + - code-server: + href: http://localhost:8888 + description: VS Code in the browser + icon: code-server + - Flatnotes: + href: http://localhost:8089 + description: Note-taking app - connected directly to blog + icon: flatnotes + - Listmonk: + href: http://localhost:9000 + description: Newsletter & mailing list manager + icon: listmonk + - NocoDB: + href: http://localhost:8090 + description: Open Source Airtable Alternative + icon: mdi-database + +- Content Creation: + - MkDocs: + href: http://localhost:4000 + description: Website generator & documentation + icon: mkdocs + - Excalidraw: + href: http://localhost:3333 + description: Collaborative drawing tool + icon: mdi-draw-pen + - Gitea: + href: http://localhost:3030 + description: Self-hosted Git service + icon: gitea + - OpenWebUI: + href: http://localhost:3005 + description: UI for Ollama models + icon: mdi-robot-happy + +- Community & Data: + - Monica CRM: + href: http://localhost:8085 + description: Personal CRM + icon: monica + - Answer: + href: http://localhost:9080 + description: Q&A platform for teams + icon: mdi-help-circle + - Ferdium: + href: http://localhost:3009 + description: All-in-one messaging app + icon: ferdium + - Rocket.Chat: + href: http://localhost:3004 + description: Team collaboration platform + icon: mdi-rocket + +- Development: + - Ollama: + href: http://localhost:11435 + description: Local AI model server + icon: ollama + - Portainer: + href: https://localhost:9444 + description: Docker management UI + icon: portainer + - Mini QR: + href: http://localhost:8081 + description: QR Code Generator + icon: mdi-qrcode-edit + - ConvertX: + href: http://localhost:3100 + description: File conversion tool + icon: mdi-file-sync + - n8n: + href: http://localhost:5678 + description: Workflow automation + icon: n8n diff --git a/configs/homepage-local/settings.yaml b/configs/homepage-local/settings.yaml new file mode 100755 index 0000000..bd33e9f --- /dev/null +++ b/configs/homepage-local/settings.yaml @@ -0,0 +1,42 @@ +--- +# For configuration options and examples, please see: +# https://gethomepage.dev/configs/settings/ + +title: Changemaker +description: Changemaker is a self-hosted platform for political organizing, activism, and community building. +theme: dark # or light +color: purple + +background: + image: /images/background.png + blur: xs # sm, "", md, xl... see https://tailwindcss.com/docs/backdrop-blur + saturate: 100 # 0, 50, 100... see https://tailwindcss.com/docs/backdrop-saturate + brightness: 75 # 0, 50, 75... see https://tailwindcss.com/docs/backdrop-brightness + opacity: 50 # 0-100 + +cardBlur: xl # xs, md, +headerStyle: boxed + +layout: + style: columns + columns: 4 + +quicklaunch: + searchDescriptions: true + hideInternetSearch: true + showSearchSuggestions: true + hideVisitURL: true + provider: duckduckgo + +showStats: true + +bookmarks: + showCategories: true + showIcons: true + target: _blank + columns: 4 + pinned: + - Essential Tools:code-server + - Content Creation:MkDocs + - Community & Data:Monica CRM + - Development:Ollama \ No newline at end of file diff --git a/configs/homepage-local/widgets.yaml b/configs/homepage-local/widgets.yaml new file mode 100755 index 0000000..26d8ad5 --- /dev/null +++ b/configs/homepage-local/widgets.yaml @@ -0,0 +1,42 @@ +--- +# For configuration options and examples, please see: +# https://gethomepage.dev/configs/info-widgets/ + +- logo: + icon: https://changemaker.bnkops.com/logo.svg # optional + +- resources: + cpu: true + memory: true + disk: / + +- greeting: + text_size: xs + text: Localhost Website + href: http://localhost:4001 + +- greeting: + text_size: xs + text: changemaker + href: https://changemaker.bnkops.com + +- datetime: + text_size: xl + format: + dateStyle: short + timeStyle: short + hour12: true + +- search: + provider: duckduckgo + target: _blank + +- openmeteo: + label: Edmonton # optional + latitude: 53.5461 + longitude: -113.4938 + timezone: America/Edmonton # optional + units: metric # or imperial + cache: 5 # Time in minutes to cache API responses, to stay within limits + format: # optional, Intl.NumberFormat options + maximumFractionDigits: 1 diff --git a/configs/homepage/bookmarks.yaml b/configs/homepage/bookmarks.yaml new file mode 100755 index 0000000..17b01ec --- /dev/null +++ b/configs/homepage/bookmarks.yaml @@ -0,0 +1,65 @@ +--- +# For configuration options and examples, please see: +# https://gethomepage.dev/configs/bookmarks + +- Essential Tools: + - Code Server: + - abbr: CS + href: https://github.com/coder/code-server + - Flatnotes: + - abbr: FN + href: https://github.com/dullage/flatnotes + - Listmonk: + - abbr: LM + href: https://listmonk.app/docs/ + - NocoDB: + - abbr: NC + href: https://docs.nocodb.com/ + +- Content Creation: + - MkDocs: + - abbr: MD + href: https://www.mkdocs.org/ + - Excalidraw: + - abbr: EX + href: https://github.com/excalidraw/excalidraw + - Gitea: + - abbr: GT + href: https://docs.gitea.com/ + - OpenWebUI: + - abbr: OW + href: https://docs.openwebui.com/ + +- Community & Data: + - Monica CRM: + - abbr: MC + href: https://www.monicahq.com/documentation/ + - Answer: + - abbr: AS + href: https://answer.apache.org/docs/ + - Ferdium: + - abbr: FD + href: https://github.com/ferdium/ferdium-app + - Rocket.Chat: + - abbr: RC + href: https://docs.rocket.chat/ + +- Development: + - Ollama: + - abbr: OL + href: https://github.com/ollama/ollama + - Portainer: + - abbr: PT + href: https://docs.portainer.io/ + - Mini-QR: + - abbr: QR + href: https://github.com/lyqht/mini-qr + - ConvertX: + - abbr: CX + href: https://github.com/c4illin/convertx + - n8n: + - abbr: N8 + href: https://docs.n8n.io/ + - Github: + - abbr: GH + href: https://github.com/ diff --git a/configs/homepage/custom.css b/configs/homepage/custom.css new file mode 100755 index 0000000..e69de29 diff --git a/configs/homepage/custom.js b/configs/homepage/custom.js new file mode 100755 index 0000000..e69de29 diff --git a/configs/homepage/docker.yaml b/configs/homepage/docker.yaml new file mode 100755 index 0000000..0000b3b --- /dev/null +++ b/configs/homepage/docker.yaml @@ -0,0 +1,10 @@ +--- +# For configuration options and examples, please see: +# https://gethomepage.dev/configs/docker/ + +# my-docker: +# host: 127.0.0.1 +# port: 2375 + +# my-docker: + # socket: /var/run/docker.sock diff --git a/configs/homepage/kubernetes.yaml b/configs/homepage/kubernetes.yaml new file mode 100755 index 0000000..aca6e82 --- /dev/null +++ b/configs/homepage/kubernetes.yaml @@ -0,0 +1,2 @@ +--- +# sample kubernetes config diff --git a/configs/homepage/logs/homepage.log b/configs/homepage/logs/homepage.log new file mode 100755 index 0000000..b767b52 --- /dev/null +++ b/configs/homepage/logs/homepage.log @@ -0,0 +1,1805 @@ +[2025-05-05T21:28:04.848Z] info: kubernetes.yaml was copied to the config folder +[2025-05-05T21:28:10.922Z] info: docker.yaml was copied to the config folder +[2025-05-05T21:28:10.923Z] info: services.yaml was copied to the config folder +[2025-05-05T21:28:10.923Z] info: bookmarks.yaml was copied to the config folder +[2025-05-05T21:28:10.924Z] info: widgets.yaml was copied to the config folder +[2025-05-05T21:28:10.924Z] info: custom.css was copied to the config folder +[2025-05-05T21:28:10.925Z] info: custom.js was copied to the config folder +[2025-05-06T15:18:19.060Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T15:18:19.066Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T15:18:19.200Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T15:18:25.226Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T15:21:33.415Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T15:21:33.419Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T15:21:33.577Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T15:22:13.214Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T15:22:13.216Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T15:22:13.396Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T15:22:26.967Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T15:22:26.968Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T15:22:27.137Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T15:22:35.192Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T15:24:48.700Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T15:24:48.712Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T15:24:48.882Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T15:24:57.572Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T15:25:15.307Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T15:25:29.046Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T15:25:29.061Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T15:25:29.220Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T15:25:36.550Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T15:26:11.830Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T15:26:11.836Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T15:26:11.993Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T15:26:21.581Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T15:26:21.763Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T15:26:59.203Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T15:27:10.169Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T15:29:25.855Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T15:31:03.007Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T15:31:03.018Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T15:31:03.243Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T15:32:07.830Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T15:32:24.256Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T15:32:57.041Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T15:32:57.043Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T15:32:57.191Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T15:33:07.959Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T15:34:19.166Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T15:34:43.822Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T15:38:26.147Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T15:39:16.982Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T15:39:28.191Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T15:39:38.170Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T15:51:29.909Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T15:53:28.649Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:24:35.966Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:24:41.650Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:25:03.197Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:25:50.500Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:28:18.871Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:30:00.690Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:31:21.735Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:31:21.744Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:31:21.921Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:31:23.233Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:31:35.552Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:31:35.554Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:31:35.699Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:31:46.116Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:31:46.118Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:31:46.271Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:32:02.617Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:32:02.619Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:32:02.798Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:32:04.940Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:32:17.868Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:33:28.660Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:33:51.737Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:33:53.404Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:34:15.714Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:34:15.718Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:34:15.861Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:34:18.955Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:34:30.254Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:34:30.274Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:34:30.448Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:34:38.400Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:34:38.402Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:34:38.564Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:34:39.947Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:34:47.168Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:34:47.170Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:34:47.307Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:34:48.873Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:36:37.757Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:36:37.758Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:36:37.908Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:36:39.658Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:36:49.333Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:36:49.335Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:36:49.482Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:36:51.092Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:37:02.495Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:37:02.507Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:37:02.670Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:37:03.809Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:37:14.694Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:37:14.865Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:38:32.810Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:38:32.966Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:38:33.076Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:38:34.233Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:38:52.646Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:39:10.603Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:39:10.604Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:39:10.769Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:39:21.442Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:39:21.445Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:39:21.615Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:39:25.217Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:39:38.774Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:39:38.776Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:39:38.960Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:39:42.510Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:40:12.777Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:40:12.781Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:40:12.934Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:40:20.684Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:40:25.695Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:41:15.087Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:41:15.093Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:41:15.250Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:41:42.226Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:41:42.229Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:41:42.392Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:41:53.106Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:41:53.125Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:41:53.324Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:42:00.695Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:42:18.095Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:42:54.695Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:43:19.605Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:43:19.607Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:43:19.771Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:43:37.201Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:44:54.025Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:44:54.030Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:44:54.203Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:45:51.457Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:46:19.531Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:46:19.532Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:46:19.680Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:46:25.167Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:47:07.570Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:47:25.743Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:47:50.188Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:47:50.199Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:47:50.356Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:48:10.721Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:48:10.723Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:48:10.878Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:48:22.803Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:48:22.816Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:48:22.962Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:49:08.245Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:49:08.261Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:49:08.431Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:49:30.351Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:49:30.354Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:49:30.509Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:49:39.752Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:49:39.754Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:49:39.953Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:49:46.977Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:52:30.587Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:52:30.589Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:52:30.748Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:53:24.734Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:53:24.751Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:53:24.947Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:53:37.866Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T16:53:42.125Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T17:00:54.603Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T17:00:54.607Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T17:00:54.870Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T17:01:37.021Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T17:01:48.905Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T17:02:05.115Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T17:02:06.145Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T17:02:16.971Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T17:02:56.185Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T17:02:56.197Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T17:02:56.355Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T17:03:03.229Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T17:06:50.394Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T17:06:50.395Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T17:06:50.547Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T17:15:51.274Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T17:15:51.275Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T17:15:51.484Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T17:17:05.233Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T17:17:20.422Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T17:17:30.628Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T17:22:11.478Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T17:22:11.493Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T17:22:11.692Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T17:24:56.486Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T17:25:01.636Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T19:38:13.437Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T19:53:52.813Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T19:53:52.815Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T19:53:53.004Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T19:55:34.633Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T19:55:34.635Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T19:55:34.797Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T19:56:37.558Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T19:56:37.568Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T19:56:37.721Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T19:56:41.348Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T19:56:44.049Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T19:56:50.809Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T19:56:57.564Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T19:58:07.355Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T19:58:07.357Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T19:58:07.508Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T19:58:33.321Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T19:58:52.711Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T19:58:52.719Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T19:58:52.878Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T19:58:58.705Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T19:59:07.881Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T19:59:44.246Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T19:59:55.541Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T19:59:55.556Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T19:59:55.740Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T20:00:02.723Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T20:00:28.371Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T20:00:48.596Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T20:00:59.892Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T20:00:59.903Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T20:01:00.065Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T20:01:07.085Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T20:01:27.481Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T20:01:27.482Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T20:01:27.625Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T20:01:45.227Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T20:02:00.073Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T20:02:00.086Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T20:02:00.260Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T20:02:10.940Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T20:02:30.560Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T20:02:30.561Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T20:02:30.716Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T20:02:35.951Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T20:03:38.348Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T20:03:44.691Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T20:26:59.678Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T20:27:47.551Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T20:52:38.838Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T20:52:38.848Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T20:52:38.998Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T21:42:52.296Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T21:42:52.483Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T21:42:52.787Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T21:43:14.729Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T21:52:40.642Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T21:52:42.599Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T21:53:33.636Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T21:53:40.461Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T21:53:40.480Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T21:53:40.662Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T21:53:46.794Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T21:54:21.145Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T21:54:45.140Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T21:55:28.797Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T22:40:37.084Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T22:40:37.422Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T22:40:37.676Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T22:41:12.903Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T22:41:22.465Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T22:41:28.774Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T22:41:36.407Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T22:41:42.436Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T22:42:05.262Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T22:45:36.730Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T22:47:40.212Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T22:47:48.514Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T22:47:54.545Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T22:48:23.461Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T22:50:01.482Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T23:05:00.445Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T23:05:16.198Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T23:09:10.388Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T23:09:27.233Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T23:12:37.659Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T23:17:01.765Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-06T23:18:33.152Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-07T02:28:11.394Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-07T02:28:12.086Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-07T02:28:17.578Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-07T02:28:20.124Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-07T02:28:31.716Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-07T02:29:48.083Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-07T02:29:55.372Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-07T02:29:57.137Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-07T02:30:56.449Z] error: Error getting services from Docker server 'my-docker': [Error: connect EACCES /var/run/docker.sock] { + errno: -13, + code: 'EACCES', + syscall: 'connect', + address: '/var/run/docker.sock' +} +[2025-05-07T02:51:28.119Z] error: Error calling https://api.open-meteo.com/v1/forecast... +[2025-05-07T02:51:28.120Z] error: [ 500, [AggregateError: ] { code: 'ETIMEDOUT' } ] +[2025-05-07T04:01:12.612Z] error: Error calling https://api.open-meteo.com/v1/forecast... +[2025-05-07T04:01:12.614Z] error: [ 500, [AggregateError: ] { code: 'ETIMEDOUT' } ] diff --git a/configs/homepage/services.yaml b/configs/homepage/services.yaml new file mode 100644 index 0000000..d458153 --- /dev/null +++ b/configs/homepage/services.yaml @@ -0,0 +1,79 @@ +--- +# For configuration options and examples, please see: +# https://gethomepage.dev/configs/services/ + +- Essential Tools: + - code-server: + href: https://code-server.betteredmonton.org + description: VS Code in the browser + icon: code-server + - Flatnotes: + href: https://flatnotes.betteredmonton.org + description: Note-taking app - connected directly to blog + icon: flatnotes + - Listmonk: + href: https://listmonk.betteredmonton.org + description: Newsletter & mailing list manager + icon: listmonk + - NocoDB: + href: https://nocodb.betteredmonton.org + description: Open Source Airtable Alternative + icon: mdi-database + +- Content Creation: + - MkDocs: + href: https://live.betteredmonton.org + description: Website generator & documentation + icon: mkdocs + - Excalidraw: + href: https://excalidraw.betteredmonton.org + description: Collaborative drawing tool + icon: mdi-draw-pen + - Gitea: + href: https://gitea.betteredmonton.org + description: Self-hosted Git service + icon: gitea + - OpenWebUI: + href: https://open-webui.betteredmonton.org + description: UI for Ollama models + icon: mdi-robot-happy + +- Community & Data: + - Monica CRM: + href: https://monica.betteredmonton.org + description: Personal CRM + icon: monica + - Answer: + href: https://answer.betteredmonton.org + description: Q&A platform for teams + icon: mdi-help-circle + - Ferdium: + href: https://ferdium.betteredmonton.org + description: All-in-one messaging app + icon: ferdium + - Rocket.Chat: + href: https://rocket.betteredmonton.org + description: Team collaboration platform + icon: mdi-rocket + +- Development: + - Ollama: + href: https://ollama.betteredmonton.org + description: Local AI model server + icon: ollama + - Portainer: + href: https://portainer.betteredmonton.org + description: Docker management UI + icon: portainer + - Mini QR: + href: https://mini-qr.betteredmonton.org + description: QR Code Generator + icon: mdi-qrcode-edit + - ConvertX: + href: https://convertx.betteredmonton.org + description: File conversion tool + icon: mdi-file-sync + - n8n: + href: https://n8n.betteredmonton.org + description: Workflow automation + icon: n8n diff --git a/configs/homepage/settings.yaml b/configs/homepage/settings.yaml new file mode 100755 index 0000000..bd33e9f --- /dev/null +++ b/configs/homepage/settings.yaml @@ -0,0 +1,42 @@ +--- +# For configuration options and examples, please see: +# https://gethomepage.dev/configs/settings/ + +title: Changemaker +description: Changemaker is a self-hosted platform for political organizing, activism, and community building. +theme: dark # or light +color: purple + +background: + image: /images/background.png + blur: xs # sm, "", md, xl... see https://tailwindcss.com/docs/backdrop-blur + saturate: 100 # 0, 50, 100... see https://tailwindcss.com/docs/backdrop-saturate + brightness: 75 # 0, 50, 75... see https://tailwindcss.com/docs/backdrop-brightness + opacity: 50 # 0-100 + +cardBlur: xl # xs, md, +headerStyle: boxed + +layout: + style: columns + columns: 4 + +quicklaunch: + searchDescriptions: true + hideInternetSearch: true + showSearchSuggestions: true + hideVisitURL: true + provider: duckduckgo + +showStats: true + +bookmarks: + showCategories: true + showIcons: true + target: _blank + columns: 4 + pinned: + - Essential Tools:code-server + - Content Creation:MkDocs + - Community & Data:Monica CRM + - Development:Ollama \ No newline at end of file diff --git a/configs/homepage/widgets.yaml b/configs/homepage/widgets.yaml new file mode 100755 index 0000000..9f27cbf --- /dev/null +++ b/configs/homepage/widgets.yaml @@ -0,0 +1,34 @@ +--- +# For configuration options and examples, please see: +# https://gethomepage.dev/configs/info-widgets/ + +- resources: + cpu: true + memory: true + disk: / + +- greeting: + text_size: xl + text: betteredmonton + href: https://betteredmonton.org + +- datetime: + text_size: xl + format: + dateStyle: short + timeStyle: short + hour12: true + +- search: + provider: duckduckgo + target: _blank + +- openmeteo: + label: Edmonton # optional + latitude: 53.5461 + longitude: -113.4938 + timezone: America/Edmonton # optional + units: metric # or imperial + cache: 5 # Time in minutes to cache API responses, to stay within limits + format: # optional, Intl.NumberFormat options + maximumFractionDigits: 1 diff --git a/convertx-data/.gitkeep b/convertx-data/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/data/.gitkeep b/data/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100755 index 0000000..815d849 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,564 @@ +services: + + bnkops.landing.server: + image: lscr.io/linuxserver/nginx:latest + container_name: bnkops.landing.server + environment: + - PUID=${USER_ID:-1000} # Uses USER_ID from your .env file, defaults to 1000 + - PGID=${GROUP_ID:-1000} # Uses GROUP_ID from your .env file, defaults to 1000 + - TZ=Etc/UTC + volumes: + - ./site:/config/www # Mounts your static site to Nginx's web root + ports: + - "4007:80" # Exposes Nginx's port 80 to host port 4001 + restart: + unless-stopped + networks: + - changemaker + + # Homepage App + homepage-changemaker: + image: ghcr.io/gethomepage/homepage:latest + container_name: homepage-changemaker + ports: + - 3010:3000 + volumes: + - ./configs/homepage:/app/config + - ./assets/icons:/app/public/icons + - ./assets/images:/app/public/images + - /var/run/docker.sock:/var/run/docker.sock + environment: + - PUID=1000 + - PGID=1000 + - TZ=Etc/UTC + - HOMEPAGE_ALLOWED_HOSTS=* + restart: unless-stopped + networks: + - changemaker + + homepage-changemaker-local: + image: ghcr.io/gethomepage/homepage:latest + container_name: homepage-changemaker-local + ports: + - 3011:3000 + volumes: + - ./configs/homepage-local:/app/config + - ./assets/icons:/app/public/icons + - ./assets/images:/app/public/images + - /var/run/docker.sock:/var/run/docker.sock + environment: + - PUID=1000 + - PGID=1000 + - TZ=Etc/UTC + - HOMEPAGE_ALLOWED_HOSTS=* + restart: unless-stopped + networks: + - changemaker + + # n8n - Workflow Automation Tool + n8n: + image: docker.n8n.io/n8nio/n8n + container_name: n8n-changemaker + restart: unless-stopped + ports: + - "${N8N_PORT:-5678}:5678" + environment: + - N8N_HOST=${N8N_HOST:-n8n.${DOMAIN}} + - N8N_PORT=5678 + - N8N_PROTOCOL=https + - NODE_ENV=production + - WEBHOOK_URL=https://${N8N_HOST:-n8n.${DOMAIN}}/ + - GENERIC_TIMEZONE=${GENERIC_TIMEZONE:-UTC} + - N8N_ENCRYPTION_KEY=${N8N_ENCRYPTION_KEY:-changeMe} + - N8N_USER_MANAGEMENT_DISABLED=false + - N8N_DEFAULT_USER_EMAIL=${N8N_USER_EMAIL:-admin@example.com} + - N8N_DEFAULT_USER_PASSWORD=${N8N_USER_PASSWORD:-changeMe} + volumes: + - n8n_data:/home/node/.n8n + - ./local-files:/files + networks: + - changemaker + + # OpenWebUI - AI Chat Interface + open-webui: + image: ghcr.io/open-webui/open-webui:main + container_name: open-webui-changemaker + ports: + - "${OPEN_WEBUI_PORT:-3005}:8080" + volumes: + - open-webui:/app/backend/data + extra_hosts: + - "host.docker.internal:host-gateway" + restart: unless-stopped + networks: + - changemaker + depends_on: + - ollama + + # Excalidraw services + excalidraw: + image: kiliandeca/excalidraw + container_name: excalidraw-changemaker + healthcheck: + disable: true + ports: + - "${EXCALIDRAW_PORT:-3333}:80" + environment: + BACKEND_V2_GET_URL: ${EXCALIDRAW_PUBLIC_URL:-http://localhost:3333}/api/v2/scenes/ + BACKEND_V2_POST_URL: ${EXCALIDRAW_PUBLIC_URL:-http://localhost:3333}/api/v2/scenes/ + LIBRARY_URL: ${EXCALIDRAW_LIBRARY_URL:-https://libraries.excalidraw.com} + LIBRARY_BACKEND: ${EXCALIDRAW_LIBRARY_BACKEND:-https://us-central1-excalidraw-room-persistence.cloudfunctions.net/libraries} + SOCKET_SERVER_URL: ${EXCALIDRAW_PUBLIC_SOCKET_URL:-http://localhost:3333}/ + STORAGE_BACKEND: "http" + HTTP_STORAGE_BACKEND_URL: ${EXCALIDRAW_PUBLIC_URL:-http://localhost:3333}/api/v2 + restart: unless-stopped + networks: + - changemaker + depends_on: + - excalidraw-storage-backend + - excalidraw-room + - redis-excalidraw + + excalidraw-storage-backend: + image: kiliandeca/excalidraw-storage-backend + container_name: excalidraw-storage-backend-changemaker + restart: unless-stopped + environment: + STORAGE_URI: redis://redis-excalidraw:6379 + networks: + - changemaker + depends_on: + - redis-excalidraw + + excalidraw-room: + image: excalidraw/excalidraw-room + container_name: excalidraw-room-changemaker + restart: unless-stopped + networks: + - changemaker + + redis-excalidraw: + image: redis:6.2-alpine + container_name: redis-excalidraw-changemaker + restart: unless-stopped + volumes: + - redis_excalidraw_data:/data + networks: + - changemaker + + # listmonk app + listmonk-app: + image: listmonk/listmonk:latest + container_name: listmonk_app + restart: unless-stopped + ports: + - "9000:9000" + networks: + - changemaker + hostname: ${LISTMONK_HOSTNAME} + depends_on: + - listmonk-db + command: [sh, -c, "./listmonk --install --idempotent --yes --config '' && ./listmonk --upgrade --yes --config '' && ./listmonk --config ''"] + environment: + LISTMONK_app__address: 0.0.0.0:9000 + LISTMONK_db__user: ${POSTGRES_USER} + LISTMONK_db__password: ${POSTGRES_PASSWORD} + LISTMONK_db__database: ${POSTGRES_DB} + LISTMONK_db__host: listmonk-db + LISTMONK_db__port: 5432 + LISTMONK_db__ssl_mode: disable + LISTMONK_db__max_open: 25 + LISTMONK_db__max_idle: 25 + LISTMONK_db__max_lifetime: 300s + TZ: Etc/UTC + LISTMONK_ADMIN_USER: ${LISTMONK_ADMIN_USER:-} + LISTMONK_ADMIN_PASSWORD: ${LISTMONK_ADMIN_PASSWORD:-} + volumes: + - ./assets/uploads:/listmonk/uploads:rw + + # Postgres database + listmonk-db: + image: postgres:17-alpine + container_name: listmonk-db + restart: unless-stopped + ports: + - "0.0.0.0:5432:5432" + networks: + - changemaker + environment: + POSTGRES_USER: ${POSTGRES_USER} + POSTGRES_PASSWORD: ${POSTGRES_PASSWORD} + POSTGRES_DB: ${POSTGRES_DB} + healthcheck: + test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER}"] + interval: 10s + timeout: 5s + retries: 6 + volumes: + - type: volume + source: listmonk-data + target: /var/lib/postgresql/data + + # Monica CRM + monica-app: + image: monica + container_name: monica-app-changemaker + depends_on: + - monica-db + ports: + - 8085:80 + environment: + - APP_KEY=${MONICA_APP_KEY} + - DB_HOST=monica-db + - DB_USERNAME=${MONICA_DB_USERNAME} + - DB_PASSWORD=${MONICA_DB_PASSWORD} + volumes: + - data:/var/www/html/storage + restart: unless-stopped + networks: + - changemaker + + # Monica Database + monica-db: + image: mariadb:11 + container_name: monica-db-changemaker + environment: + - MYSQL_RANDOM_ROOT_PASSWORD=true + - MYSQL_DATABASE=${MONICA_MYSQL_DATABASE} + - MYSQL_USER=${MONICA_MYSQL_USER} + - MYSQL_PASSWORD=${MONICA_MYSQL_PASSWORD} + volumes: + - mysql:/var/lib/mysql + restart: unless-stopped + networks: + - changemaker + + # MkDocs Documentation + mkdocs: + image: squidfunk/mkdocs-material + container_name: mkdocs-changemaker + volumes: + - ./mkdocs:/docs:rw + - ./assets/images:/docs/assets/images:rw + user: "${USER_ID:-1000}:${GROUP_ID:-1000}" + ports: + - "${MKDOCS_PORT:-4000}:8000" + environment: + - SITE_URL=${BASE_DOMAIN:-https://changeme.org} + command: serve --dev-addr=0.0.0.0:8000 --watch-theme --livereload + networks: + - changemaker + restart: unless-stopped + + mkdocs-site-server: + image: lscr.io/linuxserver/nginx:latest + container_name: mkdocs-site-server-changemaker + environment: + - PUID=${USER_ID:-1000} # Uses USER_ID from your .env file, defaults to 1000 + - PGID=${GROUP_ID:-1000} # Uses GROUP_ID from your .env file, defaults to 1000 + - TZ=Etc/UTC + volumes: + - ./mkdocs/site:/config/www # Mounts your static site to Nginx's web root + ports: + - "4001:80" # Exposes Nginx's port 80 to host port 4001 + restart: unless-stopped + networks: + - changemaker + + # Flatnotes - Note-taking app + flatnotes: + container_name: flatnotes-changemaker + image: dullage/flatnotes:latest + environment: + PUID: ${FLATNOTES_PUID:-1000} + PGID: ${FLATNOTES_PGID:-1000} + FLATNOTES_AUTH_TYPE: ${FLATNOTES_AUTH_TYPE:-password} + FLATNOTES_USERNAME: ${FLATNOTES_USERNAME} + FLATNOTES_PASSWORD: ${FLATNOTES_PASSWORD} + FLATNOTES_SECRET_KEY: ${FLATNOTES_SECRET_KEY} + volumes: + - ./mkdocs/docs/notes:/data + ports: + - "${FLATNOTES_PORT:-8080}:8080" + restart: unless-stopped + networks: + - changemaker + + code-server: + build: + context: . + dockerfile: Dockerfile.code-server + container_name: code-server-changemaker + environment: + - DOCKER_USER=${USER_NAME:-coder} + - DEFAULT_WORKSPACE=/home/coder/mkdocs + user: "${USER_ID:-1000}:${GROUP_ID:-1000}" + volumes: + - ./configs/code-server/.config:/home/coder/.config + - ./configs/code-server/.local:/home/coder/.local + - ./mkdocs:/home/coder/mkdocs/ + ports: + - "${CODE_SERVER_PORT:-8888}:8080" + restart: unless-stopped + networks: + - changemaker + + ollama: + image: ollama/ollama + container_name: ollama-changemaker + deploy: + resources: + reservations: + devices: + - driver: nvidia + count: all + capabilities: [gpu] + volumes: + - ollama:/root/.ollama + ports: + - "11435:11434" + restart: unless-stopped + networks: + - changemaker + + # Gitea - Git service + gitea-app: + image: docker.gitea.com/gitea:1.23.7 + container_name: gitea_changemaker + environment: + - USER_UID=${USER_ID} + - USER_GID=${GROUP_ID} + - GITEA__database__DB_TYPE=${GITEA_DB_TYPE} + - GITEA__database__HOST=${GITEA_DB_HOST} + - GITEA__database__NAME=${GITEA_DB_NAME} + - GITEA__database__USER=${GITEA_DB_USER} + - GITEA__database__PASSWD=${GITEA_DB_PASSWD} + - GITEA__server__ROOT_URL=${GITEA_ROOT_URL} + - GITEA__server__HTTP_PORT=${GITEA_WEB_PORT} + - GITEA__server__PROTOCOL=http + - GITEA__server__DOMAIN=${GITEA_DOMAIN} + - GITEA__server__ENABLE_GZIP=true + - GITEA__server__PROXY_PROTOCOL=true + - GITEA__server__PROXY_PROXY_PROTOCOL_TLS=true + - GITEA__server__PROXY_ALLOW_SUBNET=0.0.0.0/0 + restart: always + networks: + - gitea + volumes: + - gitea_data:/data + - /etc/timezone:/etc/timezone:ro + - /etc/localtime:/etc/localtime:ro + ports: + - "${GITEA_WEB_PORT}:3030" + - "${GITEA_SSH_PORT}:22" + depends_on: + - gitea-db + + gitea-db: + image: mysql:8 + container_name: gitea_mysql_changemaker + restart: always + environment: + - MYSQL_ROOT_PASSWORD=${GITEA_DB_ROOT_PASSWORD} + - MYSQL_USER=${GITEA_DB_USER} + - MYSQL_PASSWORD=${GITEA_DB_PASSWD} + - MYSQL_DATABASE=${GITEA_DB_NAME} + networks: + - gitea + volumes: + - mysql_data:/var/lib/mysql + healthcheck: + test: ["CMD", "mysqladmin", "ping", "-h", "localhost", "-u", "${GITEA_DB_USER}", "-p${GITEA_DB_PASSWD}"] + interval: 10s + timeout: 5s + retries: 5 + + portainer: + image: portainer/portainer-ce:lts + container_name: portainer-changemaker + restart: always + environment: + - DISABLE_HTTP_REDIRECT=true + networks: + - changemaker + ports: + - "8005:8000" + - "9444:9443" + volumes: + - /var/run/docker.sock:/var/run/docker.sock + - portainer_data:/data + + # Mini-QR - QR Code Generator + mini-qr: + image: ghcr.io/lyqht/mini-qr:latest + container_name: mini-qr + ports: + - 8081:8080 + restart: unless-stopped + networks: + - changemaker + + # Ferdium - Multiple messaging app client + ferdium: + image: lscr.io/linuxserver/ferdium:latest + container_name: ferdium-changemaker + security_opt: + - seccomp:unconfined #optional + environment: + - PUID=1000 + - PGID=1000 + - TZ=Etc/UTC + - CUSTOM_PORT=3009 + - CUSTOM_HTTPS_PORT=3006 + volumes: + - ./configs/ferdium:/config + ports: + - 3009:3009 + - 3006:3006 + shm_size: "1gb" + restart: unless-stopped + networks: + - changemaker + + # Apache Answer - Q&A Platform + answer: + image: apache/answer + container_name: answer-changemaker + restart: unless-stopped + environment: + - DB_TYPE=sqlite3 + - PAGINATION_PAGE_SIZE=10 + - LANGUAGE=en-US + - TZ=Etc/UTC + ports: + - "${ANSWER_APP_PORT:-9080}:80" + volumes: + - ./answer-data:/data + networks: + - changemaker + + # NocoDB - Open Source Airtable Alternative + nocodb: + depends_on: + root_db: + condition: service_healthy + environment: + NC_DB: "pg://root_db:5432?u=postgres&p=password&d=root_db" + image: "nocodb/nocodb:latest" + ports: + - "8090:8080" + restart: always + volumes: + - "nc_data:/usr/app/data" + networks: + - changemaker + root_db: + environment: + POSTGRES_DB: root_db + POSTGRES_PASSWORD: password + POSTGRES_USER: postgres + healthcheck: + interval: 10s + retries: 10 + test: "pg_isready -U \"$$POSTGRES_USER\" -d \"$$POSTGRES_DB\"" + timeout: 2s + image: postgres:16.6 + restart: always + volumes: + - "db_data:/var/lib/postgresql/data" + networks: + - changemaker + + # ConvertX - File Conversion Tool + convertx: + image: ghcr.io/c4illin/convertx + container_name: convertx-changemaker + restart: unless-stopped + ports: + - "${CONVERTX_PORT:-3100}:3000" + environment: + - JWT_SECRET=${CONVERTX_JWT_SECRET:-aLongAndSecretStringUsedToSignTheJSONWebToken1234} + volumes: + - ./convertx-data:/app/data + networks: + - changemaker + + # Rocket.Chat - Team Chat Platform + rocketchat: + image: ${ROCKETCHAT_IMAGE:-registry.rocket.chat/rocketchat/rocket.chat}:${ROCKETCHAT_RELEASE:-latest} + container_name: rocketchat-changemaker + restart: unless-stopped + environment: + MONGO_URL: "mongodb://${ROCKETCHAT_MONGODB_HOST:-mongodb-rocketchat}:${ROCKETCHAT_MONGODB_PORT:-27017}/${ROCKETCHAT_MONGODB_DATABASE:-rocketchat}?replicaSet=${ROCKETCHAT_MONGODB_REPLICA_SET:-rs0}" + MONGO_OPLOG_URL: "mongodb://${ROCKETCHAT_MONGODB_HOST:-mongodb-rocketchat}:${ROCKETCHAT_MONGODB_PORT:-27017}/local?replicaSet=${ROCKETCHAT_MONGODB_REPLICA_SET:-rs0}" + ROOT_URL: ${ROCKETCHAT_ROOT_URL:-http://localhost:${ROCKETCHAT_PORT:-3004}} + PORT: ${ROCKETCHAT_CONTAINER_PORT:-3000} + DEPLOY_METHOD: docker + DEPLOY_PLATFORM: ${ROCKETCHAT_DEPLOYMENT_ENVIRONMENT:-changemaker} + ports: + - "${ROCKETCHAT_PORT:-3004}:${ROCKETCHAT_CONTAINER_PORT:-3000}" + depends_on: + - mongodb-rocketchat + healthcheck: + test: ["CMD", "curl", "-f", "http://localhost:${ROCKETCHAT_CONTAINER_PORT:-3000}/api/info"] + interval: 30s + timeout: 10s + retries: 5 + start_period: 60s + networks: + - changemaker + + # MongoDB for Rocket.Chat + mongodb-rocketchat: + image: docker.io/bitnami/mongodb:${ROCKETCHAT_MONGODB_VERSION:-6.0} + container_name: mongodb-rocketchat-changemaker + restart: unless-stopped + volumes: + - mongodb_rocketchat_data:/bitnami/mongodb + environment: + MONGODB_REPLICA_SET_MODE: primary + MONGODB_REPLICA_SET_NAME: ${ROCKETCHAT_MONGODB_REPLICA_SET:-rs0} + MONGODB_PORT_NUMBER: ${ROCKETCHAT_MONGODB_PORT:-27017} + MONGODB_INITIAL_PRIMARY_HOST: ${ROCKETCHAT_MONGODB_HOST:-mongodb-rocketchat} + MONGODB_INITIAL_PRIMARY_PORT_NUMBER: ${ROCKETCHAT_MONGODB_PORT:-27017} + MONGODB_ADVERTISED_HOSTNAME: ${ROCKETCHAT_MONGODB_HOST:-mongodb-rocketchat} + MONGODB_ENABLE_JOURNAL: ${ROCKETCHAT_MONGODB_ENABLE_JOURNAL:-true} + ALLOW_EMPTY_PASSWORD: ${ROCKETCHAT_MONGODB_ALLOW_EMPTY_PASSWORD:-yes} + networks: + - changemaker + +networks: + changemaker: + driver: bridge + gitea: + external: false + +volumes: + listmonk-data: + data: + name: data + mysql: + name: mysql + ollama: + gitea_data: + driver: local + mysql_data: + driver: local + portainer_data: + name: portainer_data_changemaker + redis_excalidraw_data: + driver: local + open-webui: + driver: local + notused: + nocodb_db_data: + driver: local + n8n_data: + driver: local + mongodb_rocketchat_data: + driver: local + db_data: {} + nc_data: {} + + + diff --git a/example.cloudflare.config.yml b/example.cloudflare.config.yml new file mode 100755 index 0000000..ce050f3 --- /dev/null +++ b/example.cloudflare.config.yml @@ -0,0 +1,62 @@ +tunnel: your-tunnel-id-here # e.g. 1234567890abcdef +credentials-file: /path/to/your/.cloudflared/your-tunnel-id.json # e.g. /home/user/.cloudflared/[insert tunnel number].json +ingress: + + - hostname: bnkops.com + service: http://localhost:4007 + + - hostname: homepage.bnkops.com + service: http://localhost:3010 + + - hostname: excalidraw.bnkops.com + service: http://localhost:3333 + + - hostname: listmonk.bnkops.com + service: http://localhost:9000 + + - hostname: monica.bnkops.com + service: http://localhost:8085 + + - hostname: live.bnkops.com + service: http://localhost:4000 + + - hostname: docs.bnkops.com + service: http://localhost:4001 + + - hostname: flatnotes.bnkops.com + service: http://localhost:8089 + + - hostname: code-server.bnkops.com + service: http://localhost:8888 + + - hostname: ollama.bnkops.com + service: http://localhost:11435 + + - hostname: open-webui.bnkops.com + service: http://localhost:3005 + + - hostname: gitea.bnkops.com + service: http://localhost:3030 + + - hostname: mini-qr.bnkops.com + service: http://localhost:8081 + + - hostname: ferdium.bnkops.com + service: http://localhost:3009 + + - hostname: answer.bnkops.com + service: http://localhost:9080 + + - hostname: nocodb.bnkops.com + service: http://localhost:8090 + + - hostname: n8n.bnkops.com + service: http://localhost:5678 + + - hostname: convertx.bnkops.com + service: http://localhost:3100 + + - hostname: rocket.bnkops.com + service: http://localhost:3004 + + - service: http_status:404 diff --git a/gitea/.gitkeep b/gitea/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/local-files/.gitkeep b/local-files/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/mkdocs/.cache/plugin/social/009239887e0066e84decd97010487236.png b/mkdocs/.cache/plugin/social/009239887e0066e84decd97010487236.png new file mode 100644 index 0000000..152b087 Binary files /dev/null and b/mkdocs/.cache/plugin/social/009239887e0066e84decd97010487236.png differ diff --git a/mkdocs/.cache/plugin/social/040e68c3f61db597e9f4d66475e81e44.png b/mkdocs/.cache/plugin/social/040e68c3f61db597e9f4d66475e81e44.png new file mode 100755 index 0000000..2ed2782 Binary files /dev/null and b/mkdocs/.cache/plugin/social/040e68c3f61db597e9f4d66475e81e44.png differ diff --git a/mkdocs/.cache/plugin/social/0a321ae47aa5f19a94bad0a6b3527909.png b/mkdocs/.cache/plugin/social/0a321ae47aa5f19a94bad0a6b3527909.png new file mode 100755 index 0000000..f9a2343 Binary files /dev/null and b/mkdocs/.cache/plugin/social/0a321ae47aa5f19a94bad0a6b3527909.png differ diff --git a/mkdocs/.cache/plugin/social/0e896585c354c04fce391858165f5469.png b/mkdocs/.cache/plugin/social/0e896585c354c04fce391858165f5469.png new file mode 100755 index 0000000..ac444ac Binary files /dev/null and b/mkdocs/.cache/plugin/social/0e896585c354c04fce391858165f5469.png differ diff --git a/mkdocs/.cache/plugin/social/0edcfbe7de0e9c5cdc201bcbf8341a26.png b/mkdocs/.cache/plugin/social/0edcfbe7de0e9c5cdc201bcbf8341a26.png new file mode 100755 index 0000000..589fdfd Binary files /dev/null and b/mkdocs/.cache/plugin/social/0edcfbe7de0e9c5cdc201bcbf8341a26.png differ diff --git a/mkdocs/.cache/plugin/social/11eddd217f8f1dca49338240d04bef34.png b/mkdocs/.cache/plugin/social/11eddd217f8f1dca49338240d04bef34.png new file mode 100644 index 0000000..66dfd68 Binary files /dev/null and b/mkdocs/.cache/plugin/social/11eddd217f8f1dca49338240d04bef34.png differ diff --git a/mkdocs/.cache/plugin/social/16a6b963a052c2a001ff83f3fa3478cb.png b/mkdocs/.cache/plugin/social/16a6b963a052c2a001ff83f3fa3478cb.png new file mode 100755 index 0000000..895d7fc Binary files /dev/null and b/mkdocs/.cache/plugin/social/16a6b963a052c2a001ff83f3fa3478cb.png differ diff --git a/mkdocs/.cache/plugin/social/176adeea182945f42f29f56ea0990118.png b/mkdocs/.cache/plugin/social/176adeea182945f42f29f56ea0990118.png new file mode 100644 index 0000000..a173870 Binary files /dev/null and b/mkdocs/.cache/plugin/social/176adeea182945f42f29f56ea0990118.png differ diff --git a/mkdocs/.cache/plugin/social/188fcd9debf939e06086da96482f3bd3.png b/mkdocs/.cache/plugin/social/188fcd9debf939e06086da96482f3bd3.png new file mode 100755 index 0000000..e3cc5b4 Binary files /dev/null and b/mkdocs/.cache/plugin/social/188fcd9debf939e06086da96482f3bd3.png differ diff --git a/mkdocs/.cache/plugin/social/19b24b921fd022e5d9fc881854a7b1bd.png b/mkdocs/.cache/plugin/social/19b24b921fd022e5d9fc881854a7b1bd.png new file mode 100644 index 0000000..5866cee Binary files /dev/null and b/mkdocs/.cache/plugin/social/19b24b921fd022e5d9fc881854a7b1bd.png differ diff --git a/mkdocs/.cache/plugin/social/1d9e203d87864599ec4c3bc1abcbc238.png b/mkdocs/.cache/plugin/social/1d9e203d87864599ec4c3bc1abcbc238.png new file mode 100644 index 0000000..791cfc2 Binary files /dev/null and b/mkdocs/.cache/plugin/social/1d9e203d87864599ec4c3bc1abcbc238.png differ diff --git a/mkdocs/.cache/plugin/social/1e870e6fa879dd3472820baf8e7e7ee5.png b/mkdocs/.cache/plugin/social/1e870e6fa879dd3472820baf8e7e7ee5.png new file mode 100644 index 0000000..11af4b3 Binary files /dev/null and b/mkdocs/.cache/plugin/social/1e870e6fa879dd3472820baf8e7e7ee5.png differ diff --git a/mkdocs/.cache/plugin/social/229ca28f3385243d05c9e7b267ee9b4a.png b/mkdocs/.cache/plugin/social/229ca28f3385243d05c9e7b267ee9b4a.png new file mode 100755 index 0000000..107639a Binary files /dev/null and b/mkdocs/.cache/plugin/social/229ca28f3385243d05c9e7b267ee9b4a.png differ diff --git a/mkdocs/.cache/plugin/social/241727720f758c95ff442d7681c25ace.png b/mkdocs/.cache/plugin/social/241727720f758c95ff442d7681c25ace.png new file mode 100644 index 0000000..acbd3bf Binary files /dev/null and b/mkdocs/.cache/plugin/social/241727720f758c95ff442d7681c25ace.png differ diff --git a/mkdocs/.cache/plugin/social/2418703e04831f0d28652528991d5122.png b/mkdocs/.cache/plugin/social/2418703e04831f0d28652528991d5122.png new file mode 100644 index 0000000..cc086cf Binary files /dev/null and b/mkdocs/.cache/plugin/social/2418703e04831f0d28652528991d5122.png differ diff --git a/mkdocs/.cache/plugin/social/27f194aac73256c5be0a3b01f2d16c00.png b/mkdocs/.cache/plugin/social/27f194aac73256c5be0a3b01f2d16c00.png new file mode 100644 index 0000000..4fc2509 Binary files /dev/null and b/mkdocs/.cache/plugin/social/27f194aac73256c5be0a3b01f2d16c00.png differ diff --git a/mkdocs/.cache/plugin/social/2950a2eae725369581600a873424afe7.png b/mkdocs/.cache/plugin/social/2950a2eae725369581600a873424afe7.png new file mode 100755 index 0000000..42ddac5 Binary files /dev/null and b/mkdocs/.cache/plugin/social/2950a2eae725369581600a873424afe7.png differ diff --git a/mkdocs/.cache/plugin/social/2a7647a3250b1c891f3e2808c942f534.png b/mkdocs/.cache/plugin/social/2a7647a3250b1c891f3e2808c942f534.png new file mode 100755 index 0000000..1db5a22 Binary files /dev/null and b/mkdocs/.cache/plugin/social/2a7647a3250b1c891f3e2808c942f534.png differ diff --git a/mkdocs/.cache/plugin/social/2d7fb0bf805232ebed711128f98a90ea.png b/mkdocs/.cache/plugin/social/2d7fb0bf805232ebed711128f98a90ea.png new file mode 100644 index 0000000..4c18124 Binary files /dev/null and b/mkdocs/.cache/plugin/social/2d7fb0bf805232ebed711128f98a90ea.png differ diff --git a/mkdocs/.cache/plugin/social/2df2ae0f3b02a685f248ab0733273cd2.png b/mkdocs/.cache/plugin/social/2df2ae0f3b02a685f248ab0733273cd2.png new file mode 100644 index 0000000..1fb6f8e Binary files /dev/null and b/mkdocs/.cache/plugin/social/2df2ae0f3b02a685f248ab0733273cd2.png differ diff --git a/mkdocs/.cache/plugin/social/30a66b2150646e91feeaab2ac672a95e.png b/mkdocs/.cache/plugin/social/30a66b2150646e91feeaab2ac672a95e.png new file mode 100644 index 0000000..6f07486 Binary files /dev/null and b/mkdocs/.cache/plugin/social/30a66b2150646e91feeaab2ac672a95e.png differ diff --git a/mkdocs/.cache/plugin/social/35b539c0b334449b4e2c1c182b089fd0.png b/mkdocs/.cache/plugin/social/35b539c0b334449b4e2c1c182b089fd0.png new file mode 100755 index 0000000..0898cf5 Binary files /dev/null and b/mkdocs/.cache/plugin/social/35b539c0b334449b4e2c1c182b089fd0.png differ diff --git a/mkdocs/.cache/plugin/social/37af91b947563cfd57c7dd3c2326edca.png b/mkdocs/.cache/plugin/social/37af91b947563cfd57c7dd3c2326edca.png new file mode 100755 index 0000000..e1f8651 Binary files /dev/null and b/mkdocs/.cache/plugin/social/37af91b947563cfd57c7dd3c2326edca.png differ diff --git a/mkdocs/.cache/plugin/social/37b5a2b5216b1fb5bb268443cbdb05ad.png b/mkdocs/.cache/plugin/social/37b5a2b5216b1fb5bb268443cbdb05ad.png new file mode 100755 index 0000000..e11b456 Binary files /dev/null and b/mkdocs/.cache/plugin/social/37b5a2b5216b1fb5bb268443cbdb05ad.png differ diff --git a/mkdocs/.cache/plugin/social/3eb26ca7c0d65eff534eef809faabe20.png b/mkdocs/.cache/plugin/social/3eb26ca7c0d65eff534eef809faabe20.png new file mode 100755 index 0000000..98502de Binary files /dev/null and b/mkdocs/.cache/plugin/social/3eb26ca7c0d65eff534eef809faabe20.png differ diff --git a/mkdocs/.cache/plugin/social/41dca0736ac6f6814e7534397b187f12.png b/mkdocs/.cache/plugin/social/41dca0736ac6f6814e7534397b187f12.png new file mode 100644 index 0000000..9b5a872 Binary files /dev/null and b/mkdocs/.cache/plugin/social/41dca0736ac6f6814e7534397b187f12.png differ diff --git a/mkdocs/.cache/plugin/social/423e6a7253801d0933c944bbd0eba4e6.png b/mkdocs/.cache/plugin/social/423e6a7253801d0933c944bbd0eba4e6.png new file mode 100644 index 0000000..c846edb Binary files /dev/null and b/mkdocs/.cache/plugin/social/423e6a7253801d0933c944bbd0eba4e6.png differ diff --git a/mkdocs/.cache/plugin/social/494c04d750a88741f8258d130ae71d1d.png b/mkdocs/.cache/plugin/social/494c04d750a88741f8258d130ae71d1d.png new file mode 100644 index 0000000..56f0c60 Binary files /dev/null and b/mkdocs/.cache/plugin/social/494c04d750a88741f8258d130ae71d1d.png differ diff --git a/mkdocs/.cache/plugin/social/4958348fe1b6bd90b4fd6a89cee05c85.png b/mkdocs/.cache/plugin/social/4958348fe1b6bd90b4fd6a89cee05c85.png new file mode 100644 index 0000000..89440ee Binary files /dev/null and b/mkdocs/.cache/plugin/social/4958348fe1b6bd90b4fd6a89cee05c85.png differ diff --git a/mkdocs/.cache/plugin/social/4b505b493daa2eaa00af1e54385e7460.png b/mkdocs/.cache/plugin/social/4b505b493daa2eaa00af1e54385e7460.png new file mode 100644 index 0000000..096386b Binary files /dev/null and b/mkdocs/.cache/plugin/social/4b505b493daa2eaa00af1e54385e7460.png differ diff --git a/mkdocs/.cache/plugin/social/5007a41ec0dff7b6b554baac7c5a1a49.png b/mkdocs/.cache/plugin/social/5007a41ec0dff7b6b554baac7c5a1a49.png new file mode 100755 index 0000000..1a4a293 Binary files /dev/null and b/mkdocs/.cache/plugin/social/5007a41ec0dff7b6b554baac7c5a1a49.png differ diff --git a/mkdocs/.cache/plugin/social/55d9a82d5c00bbbdf7a28f8b8da13a56.png b/mkdocs/.cache/plugin/social/55d9a82d5c00bbbdf7a28f8b8da13a56.png new file mode 100755 index 0000000..e6ae72f Binary files /dev/null and b/mkdocs/.cache/plugin/social/55d9a82d5c00bbbdf7a28f8b8da13a56.png differ diff --git a/mkdocs/.cache/plugin/social/5718f0d626984f4890c0f9d1aace8bc1.png b/mkdocs/.cache/plugin/social/5718f0d626984f4890c0f9d1aace8bc1.png new file mode 100755 index 0000000..bab058f Binary files /dev/null and b/mkdocs/.cache/plugin/social/5718f0d626984f4890c0f9d1aace8bc1.png differ diff --git a/mkdocs/.cache/plugin/social/5b1f13809b54fb6f1cd9a2f27cb9adb0.png b/mkdocs/.cache/plugin/social/5b1f13809b54fb6f1cd9a2f27cb9adb0.png new file mode 100755 index 0000000..1491952 Binary files /dev/null and b/mkdocs/.cache/plugin/social/5b1f13809b54fb6f1cd9a2f27cb9adb0.png differ diff --git a/mkdocs/.cache/plugin/social/5dd6c2b317236ece0323e3554439dd32.png b/mkdocs/.cache/plugin/social/5dd6c2b317236ece0323e3554439dd32.png new file mode 100755 index 0000000..471e4fc Binary files /dev/null and b/mkdocs/.cache/plugin/social/5dd6c2b317236ece0323e3554439dd32.png differ diff --git a/mkdocs/.cache/plugin/social/5f08470cf12cc91b66285b1aeca00cec.png b/mkdocs/.cache/plugin/social/5f08470cf12cc91b66285b1aeca00cec.png new file mode 100755 index 0000000..ec6b1ff Binary files /dev/null and b/mkdocs/.cache/plugin/social/5f08470cf12cc91b66285b1aeca00cec.png differ diff --git a/mkdocs/.cache/plugin/social/63f8dbcb8417c125d7854f3c5d9e87f9.png b/mkdocs/.cache/plugin/social/63f8dbcb8417c125d7854f3c5d9e87f9.png new file mode 100755 index 0000000..a191ba7 Binary files /dev/null and b/mkdocs/.cache/plugin/social/63f8dbcb8417c125d7854f3c5d9e87f9.png differ diff --git a/mkdocs/.cache/plugin/social/672dab5fa594eb205ad81a9cfaee1731.png b/mkdocs/.cache/plugin/social/672dab5fa594eb205ad81a9cfaee1731.png new file mode 100755 index 0000000..61c02ef Binary files /dev/null and b/mkdocs/.cache/plugin/social/672dab5fa594eb205ad81a9cfaee1731.png differ diff --git a/mkdocs/.cache/plugin/social/6778924bcafde68377d7857fc20fdcf3.png b/mkdocs/.cache/plugin/social/6778924bcafde68377d7857fc20fdcf3.png new file mode 100755 index 0000000..ee326a2 Binary files /dev/null and b/mkdocs/.cache/plugin/social/6778924bcafde68377d7857fc20fdcf3.png differ diff --git a/mkdocs/.cache/plugin/social/6cf0398ab0758cd78bdd96abf2ff3cd8.png b/mkdocs/.cache/plugin/social/6cf0398ab0758cd78bdd96abf2ff3cd8.png new file mode 100755 index 0000000..b02c07d Binary files /dev/null and b/mkdocs/.cache/plugin/social/6cf0398ab0758cd78bdd96abf2ff3cd8.png differ diff --git a/mkdocs/.cache/plugin/social/777fb82c4ad01b9346a253615eec9218.png b/mkdocs/.cache/plugin/social/777fb82c4ad01b9346a253615eec9218.png new file mode 100644 index 0000000..8d66fe4 Binary files /dev/null and b/mkdocs/.cache/plugin/social/777fb82c4ad01b9346a253615eec9218.png differ diff --git a/mkdocs/.cache/plugin/social/78665d31fe89c09c144545f939a794eb.png b/mkdocs/.cache/plugin/social/78665d31fe89c09c144545f939a794eb.png new file mode 100644 index 0000000..a8e1377 Binary files /dev/null and b/mkdocs/.cache/plugin/social/78665d31fe89c09c144545f939a794eb.png differ diff --git a/mkdocs/.cache/plugin/social/7f2e11a8682a970f92863d7eaf490aac.png b/mkdocs/.cache/plugin/social/7f2e11a8682a970f92863d7eaf490aac.png new file mode 100755 index 0000000..49bdae7 Binary files /dev/null and b/mkdocs/.cache/plugin/social/7f2e11a8682a970f92863d7eaf490aac.png differ diff --git a/mkdocs/.cache/plugin/social/80e822786544993c11142461d554a721.png b/mkdocs/.cache/plugin/social/80e822786544993c11142461d554a721.png new file mode 100755 index 0000000..5622ede Binary files /dev/null and b/mkdocs/.cache/plugin/social/80e822786544993c11142461d554a721.png differ diff --git a/mkdocs/.cache/plugin/social/904cfe3c5f74dfcdf5a5ce4e86826278.png b/mkdocs/.cache/plugin/social/904cfe3c5f74dfcdf5a5ce4e86826278.png new file mode 100644 index 0000000..ca1989f Binary files /dev/null and b/mkdocs/.cache/plugin/social/904cfe3c5f74dfcdf5a5ce4e86826278.png differ diff --git a/mkdocs/.cache/plugin/social/920a03af416c939db45c935e42f65545.png b/mkdocs/.cache/plugin/social/920a03af416c939db45c935e42f65545.png new file mode 100644 index 0000000..01a7d92 Binary files /dev/null and b/mkdocs/.cache/plugin/social/920a03af416c939db45c935e42f65545.png differ diff --git a/mkdocs/.cache/plugin/social/934f31e9f5c31dcc4246821299545a66.png b/mkdocs/.cache/plugin/social/934f31e9f5c31dcc4246821299545a66.png new file mode 100755 index 0000000..1f799b9 Binary files /dev/null and b/mkdocs/.cache/plugin/social/934f31e9f5c31dcc4246821299545a66.png differ diff --git a/mkdocs/.cache/plugin/social/9d370af692e8bcf58a481bc714882487.png b/mkdocs/.cache/plugin/social/9d370af692e8bcf58a481bc714882487.png new file mode 100644 index 0000000..ce0a4bd Binary files /dev/null and b/mkdocs/.cache/plugin/social/9d370af692e8bcf58a481bc714882487.png differ diff --git a/mkdocs/.cache/plugin/social/a0a41d7b1efc42f1f54c6b83fd281387.png b/mkdocs/.cache/plugin/social/a0a41d7b1efc42f1f54c6b83fd281387.png new file mode 100644 index 0000000..69768a6 Binary files /dev/null and b/mkdocs/.cache/plugin/social/a0a41d7b1efc42f1f54c6b83fd281387.png differ diff --git a/mkdocs/.cache/plugin/social/a5989e9da2edaf14f83a548b3e6bdbd4.png b/mkdocs/.cache/plugin/social/a5989e9da2edaf14f83a548b3e6bdbd4.png new file mode 100755 index 0000000..4d1c129 Binary files /dev/null and b/mkdocs/.cache/plugin/social/a5989e9da2edaf14f83a548b3e6bdbd4.png differ diff --git a/mkdocs/.cache/plugin/social/aa56a3515e799b91aba84927c88e7b51.png b/mkdocs/.cache/plugin/social/aa56a3515e799b91aba84927c88e7b51.png new file mode 100755 index 0000000..5bbd927 Binary files /dev/null and b/mkdocs/.cache/plugin/social/aa56a3515e799b91aba84927c88e7b51.png differ diff --git a/mkdocs/.cache/plugin/social/abda447ba1bda804518dadb6d0ac6d27.png b/mkdocs/.cache/plugin/social/abda447ba1bda804518dadb6d0ac6d27.png new file mode 100644 index 0000000..bae0666 Binary files /dev/null and b/mkdocs/.cache/plugin/social/abda447ba1bda804518dadb6d0ac6d27.png differ diff --git a/mkdocs/.cache/plugin/social/ac9c8f8d78404702ce28026f01b77f17.png b/mkdocs/.cache/plugin/social/ac9c8f8d78404702ce28026f01b77f17.png new file mode 100755 index 0000000..16dcebc Binary files /dev/null and b/mkdocs/.cache/plugin/social/ac9c8f8d78404702ce28026f01b77f17.png differ diff --git a/mkdocs/.cache/plugin/social/b29aba8403a8046078bdbabe9e21d373.png b/mkdocs/.cache/plugin/social/b29aba8403a8046078bdbabe9e21d373.png new file mode 100755 index 0000000..b33b9e4 Binary files /dev/null and b/mkdocs/.cache/plugin/social/b29aba8403a8046078bdbabe9e21d373.png differ diff --git a/mkdocs/.cache/plugin/social/b3e3e08490f041ba4cc4619e7f84c91d.png b/mkdocs/.cache/plugin/social/b3e3e08490f041ba4cc4619e7f84c91d.png new file mode 100644 index 0000000..a4d8eb5 Binary files /dev/null and b/mkdocs/.cache/plugin/social/b3e3e08490f041ba4cc4619e7f84c91d.png differ diff --git a/mkdocs/.cache/plugin/social/b48d5bb489f3c7226f096b4f425ba317.png b/mkdocs/.cache/plugin/social/b48d5bb489f3c7226f096b4f425ba317.png new file mode 100755 index 0000000..3370d60 Binary files /dev/null and b/mkdocs/.cache/plugin/social/b48d5bb489f3c7226f096b4f425ba317.png differ diff --git a/mkdocs/.cache/plugin/social/b6f6a1b19061b807f8c540be6e0486c4.png b/mkdocs/.cache/plugin/social/b6f6a1b19061b807f8c540be6e0486c4.png new file mode 100644 index 0000000..380d771 Binary files /dev/null and b/mkdocs/.cache/plugin/social/b6f6a1b19061b807f8c540be6e0486c4.png differ diff --git a/mkdocs/.cache/plugin/social/be97cbbce8d4c5c82f17c1eab4a8e94d.png b/mkdocs/.cache/plugin/social/be97cbbce8d4c5c82f17c1eab4a8e94d.png new file mode 100644 index 0000000..29c07ba Binary files /dev/null and b/mkdocs/.cache/plugin/social/be97cbbce8d4c5c82f17c1eab4a8e94d.png differ diff --git a/mkdocs/.cache/plugin/social/c17fb258169c51e14b3b2ba795385f9c.png b/mkdocs/.cache/plugin/social/c17fb258169c51e14b3b2ba795385f9c.png new file mode 100644 index 0000000..9a9d286 Binary files /dev/null and b/mkdocs/.cache/plugin/social/c17fb258169c51e14b3b2ba795385f9c.png differ diff --git a/mkdocs/.cache/plugin/social/c84bc06ff855e647aa3e1b379dee9706.png b/mkdocs/.cache/plugin/social/c84bc06ff855e647aa3e1b379dee9706.png new file mode 100644 index 0000000..a97b66c Binary files /dev/null and b/mkdocs/.cache/plugin/social/c84bc06ff855e647aa3e1b379dee9706.png differ diff --git a/mkdocs/.cache/plugin/social/c8e6da9030156953d6aac02931febf87.png b/mkdocs/.cache/plugin/social/c8e6da9030156953d6aac02931febf87.png new file mode 100755 index 0000000..06fcb67 Binary files /dev/null and b/mkdocs/.cache/plugin/social/c8e6da9030156953d6aac02931febf87.png differ diff --git a/mkdocs/.cache/plugin/social/cb2564930d8b4c0c93ee1edfa0762953.png b/mkdocs/.cache/plugin/social/cb2564930d8b4c0c93ee1edfa0762953.png new file mode 100755 index 0000000..f386332 Binary files /dev/null and b/mkdocs/.cache/plugin/social/cb2564930d8b4c0c93ee1edfa0762953.png differ diff --git a/mkdocs/.cache/plugin/social/cbc6a88dcee9e856430e262b48bd90a5.png b/mkdocs/.cache/plugin/social/cbc6a88dcee9e856430e262b48bd90a5.png new file mode 100644 index 0000000..3758185 Binary files /dev/null and b/mkdocs/.cache/plugin/social/cbc6a88dcee9e856430e262b48bd90a5.png differ diff --git a/mkdocs/.cache/plugin/social/cc299a1246e06377a8506977bf10cbde.png b/mkdocs/.cache/plugin/social/cc299a1246e06377a8506977bf10cbde.png new file mode 100644 index 0000000..d0a620c Binary files /dev/null and b/mkdocs/.cache/plugin/social/cc299a1246e06377a8506977bf10cbde.png differ diff --git a/mkdocs/.cache/plugin/social/cf1c937dc9f577d78d95c2616e99785d.png b/mkdocs/.cache/plugin/social/cf1c937dc9f577d78d95c2616e99785d.png new file mode 100755 index 0000000..657c542 Binary files /dev/null and b/mkdocs/.cache/plugin/social/cf1c937dc9f577d78d95c2616e99785d.png differ diff --git a/mkdocs/.cache/plugin/social/d63b88034941186f62449ebea602ee2a.png b/mkdocs/.cache/plugin/social/d63b88034941186f62449ebea602ee2a.png new file mode 100755 index 0000000..058ff02 Binary files /dev/null and b/mkdocs/.cache/plugin/social/d63b88034941186f62449ebea602ee2a.png differ diff --git a/mkdocs/.cache/plugin/social/d75e90a2e57ad83756cdd27a949b5695.png b/mkdocs/.cache/plugin/social/d75e90a2e57ad83756cdd27a949b5695.png new file mode 100755 index 0000000..ae7a46b Binary files /dev/null and b/mkdocs/.cache/plugin/social/d75e90a2e57ad83756cdd27a949b5695.png differ diff --git a/mkdocs/.cache/plugin/social/da61a748d074752ef6ed43a56c2aa0b2.png b/mkdocs/.cache/plugin/social/da61a748d074752ef6ed43a56c2aa0b2.png new file mode 100755 index 0000000..43bc557 Binary files /dev/null and b/mkdocs/.cache/plugin/social/da61a748d074752ef6ed43a56c2aa0b2.png differ diff --git a/mkdocs/.cache/plugin/social/e155ff4b3f36c92accbb71a89fce8b9f.png b/mkdocs/.cache/plugin/social/e155ff4b3f36c92accbb71a89fce8b9f.png new file mode 100755 index 0000000..950ed00 Binary files /dev/null and b/mkdocs/.cache/plugin/social/e155ff4b3f36c92accbb71a89fce8b9f.png differ diff --git a/mkdocs/.cache/plugin/social/e2fb853b3bae493a41d206f82fb16c2a.png b/mkdocs/.cache/plugin/social/e2fb853b3bae493a41d206f82fb16c2a.png new file mode 100755 index 0000000..1aa55e8 Binary files /dev/null and b/mkdocs/.cache/plugin/social/e2fb853b3bae493a41d206f82fb16c2a.png differ diff --git a/mkdocs/.cache/plugin/social/e7f98271fd92ed15619b20a41e2fa21c.png b/mkdocs/.cache/plugin/social/e7f98271fd92ed15619b20a41e2fa21c.png new file mode 100644 index 0000000..ec27b96 Binary files /dev/null and b/mkdocs/.cache/plugin/social/e7f98271fd92ed15619b20a41e2fa21c.png differ diff --git a/mkdocs/.cache/plugin/social/eba23dd58fe455383a577da9d9987c39.png b/mkdocs/.cache/plugin/social/eba23dd58fe455383a577da9d9987c39.png new file mode 100755 index 0000000..006892b Binary files /dev/null and b/mkdocs/.cache/plugin/social/eba23dd58fe455383a577da9d9987c39.png differ diff --git a/mkdocs/.cache/plugin/social/ec1f75ef6cedda8b904a1cd793269398.png b/mkdocs/.cache/plugin/social/ec1f75ef6cedda8b904a1cd793269398.png new file mode 100755 index 0000000..15ecc3c Binary files /dev/null and b/mkdocs/.cache/plugin/social/ec1f75ef6cedda8b904a1cd793269398.png differ diff --git a/mkdocs/.cache/plugin/social/eff6aaa799e7a43dc242232fa0628610.png b/mkdocs/.cache/plugin/social/eff6aaa799e7a43dc242232fa0628610.png new file mode 100755 index 0000000..72c19bd Binary files /dev/null and b/mkdocs/.cache/plugin/social/eff6aaa799e7a43dc242232fa0628610.png differ diff --git a/mkdocs/.cache/plugin/social/f409c1874f09ad965898ee0ce97fab12.png b/mkdocs/.cache/plugin/social/f409c1874f09ad965898ee0ce97fab12.png new file mode 100755 index 0000000..7ce21a1 Binary files /dev/null and b/mkdocs/.cache/plugin/social/f409c1874f09ad965898ee0ce97fab12.png differ diff --git a/mkdocs/.cache/plugin/social/f5babc9986b37a8bbf9b28f863555008.png b/mkdocs/.cache/plugin/social/f5babc9986b37a8bbf9b28f863555008.png new file mode 100755 index 0000000..90e11a3 Binary files /dev/null and b/mkdocs/.cache/plugin/social/f5babc9986b37a8bbf9b28f863555008.png differ diff --git a/mkdocs/.cache/plugin/social/f7331ec8d67f8e9faf66b42cb99b6c6d.png b/mkdocs/.cache/plugin/social/f7331ec8d67f8e9faf66b42cb99b6c6d.png new file mode 100644 index 0000000..f0c64e7 Binary files /dev/null and b/mkdocs/.cache/plugin/social/f7331ec8d67f8e9faf66b42cb99b6c6d.png differ diff --git a/mkdocs/.cache/plugin/social/f8950c1b6a774ddddd113f37602c71d2.png b/mkdocs/.cache/plugin/social/f8950c1b6a774ddddd113f37602c71d2.png new file mode 100755 index 0000000..bef181f Binary files /dev/null and b/mkdocs/.cache/plugin/social/f8950c1b6a774ddddd113f37602c71d2.png differ diff --git a/mkdocs/.cache/plugin/social/f94c89af2d50604143314c541212d593.png b/mkdocs/.cache/plugin/social/f94c89af2d50604143314c541212d593.png new file mode 100755 index 0000000..b7cb201 Binary files /dev/null and b/mkdocs/.cache/plugin/social/f94c89af2d50604143314c541212d593.png differ diff --git a/mkdocs/.cache/plugin/social/fcf8540cab02c85da602280ceb7cc831.png b/mkdocs/.cache/plugin/social/fcf8540cab02c85da602280ceb7cc831.png new file mode 100644 index 0000000..9a00426 Binary files /dev/null and b/mkdocs/.cache/plugin/social/fcf8540cab02c85da602280ceb7cc831.png differ diff --git a/mkdocs/.cache/plugin/social/fdf2a1b68f1d946f9f4951cc1b9c5c0a.png b/mkdocs/.cache/plugin/social/fdf2a1b68f1d946f9f4951cc1b9c5c0a.png new file mode 100644 index 0000000..732fd7f Binary files /dev/null and b/mkdocs/.cache/plugin/social/fdf2a1b68f1d946f9f4951cc1b9c5c0a.png differ diff --git a/mkdocs/.cache/plugin/social/ff3dd8d0a65387191d988c30176dec99.png b/mkdocs/.cache/plugin/social/ff3dd8d0a65387191d988c30176dec99.png new file mode 100755 index 0000000..a477254 Binary files /dev/null and b/mkdocs/.cache/plugin/social/ff3dd8d0a65387191d988c30176dec99.png differ diff --git a/mkdocs/.cache/plugin/social/fonts/Roboto/Black Italic.ttf b/mkdocs/.cache/plugin/social/fonts/Roboto/Black Italic.ttf new file mode 100755 index 0000000..c71c549 Binary files /dev/null and b/mkdocs/.cache/plugin/social/fonts/Roboto/Black Italic.ttf differ diff --git a/mkdocs/.cache/plugin/social/fonts/Roboto/Black.ttf b/mkdocs/.cache/plugin/social/fonts/Roboto/Black.ttf new file mode 100755 index 0000000..d51221a Binary files /dev/null and b/mkdocs/.cache/plugin/social/fonts/Roboto/Black.ttf differ diff --git a/mkdocs/.cache/plugin/social/fonts/Roboto/Bold Italic.ttf b/mkdocs/.cache/plugin/social/fonts/Roboto/Bold Italic.ttf new file mode 100755 index 0000000..f73d681 Binary files /dev/null and b/mkdocs/.cache/plugin/social/fonts/Roboto/Bold Italic.ttf differ diff --git a/mkdocs/.cache/plugin/social/fonts/Roboto/Bold.ttf b/mkdocs/.cache/plugin/social/fonts/Roboto/Bold.ttf new file mode 100755 index 0000000..9d7cf22 Binary files /dev/null and b/mkdocs/.cache/plugin/social/fonts/Roboto/Bold.ttf differ diff --git a/mkdocs/.cache/plugin/social/fonts/Roboto/Condensed Black Italic.ttf b/mkdocs/.cache/plugin/social/fonts/Roboto/Condensed Black Italic.ttf new file mode 100755 index 0000000..0c31e9f Binary files /dev/null and b/mkdocs/.cache/plugin/social/fonts/Roboto/Condensed Black Italic.ttf differ diff --git a/mkdocs/.cache/plugin/social/fonts/Roboto/Condensed Black.ttf b/mkdocs/.cache/plugin/social/fonts/Roboto/Condensed Black.ttf new file mode 100755 index 0000000..7529d1b Binary files /dev/null and b/mkdocs/.cache/plugin/social/fonts/Roboto/Condensed Black.ttf differ diff --git a/mkdocs/.cache/plugin/social/fonts/Roboto/Condensed Bold Italic.ttf b/mkdocs/.cache/plugin/social/fonts/Roboto/Condensed Bold Italic.ttf new file mode 100755 index 0000000..d269187 Binary files /dev/null and b/mkdocs/.cache/plugin/social/fonts/Roboto/Condensed Bold Italic.ttf differ diff --git a/mkdocs/.cache/plugin/social/fonts/Roboto/Condensed Bold.ttf b/mkdocs/.cache/plugin/social/fonts/Roboto/Condensed Bold.ttf new file mode 100755 index 0000000..c3ccd49 Binary files /dev/null and b/mkdocs/.cache/plugin/social/fonts/Roboto/Condensed Bold.ttf differ diff --git a/mkdocs/.cache/plugin/social/fonts/Roboto/Condensed ExtraBold Italic.ttf b/mkdocs/.cache/plugin/social/fonts/Roboto/Condensed ExtraBold Italic.ttf new file mode 100755 index 0000000..aeff7c2 Binary files /dev/null and b/mkdocs/.cache/plugin/social/fonts/Roboto/Condensed ExtraBold Italic.ttf differ diff --git a/mkdocs/.cache/plugin/social/fonts/Roboto/Condensed ExtraBold.ttf b/mkdocs/.cache/plugin/social/fonts/Roboto/Condensed ExtraBold.ttf new file mode 100755 index 0000000..782442a Binary files /dev/null and b/mkdocs/.cache/plugin/social/fonts/Roboto/Condensed ExtraBold.ttf differ diff --git a/mkdocs/.cache/plugin/social/fonts/Roboto/Condensed ExtraLight Italic.ttf b/mkdocs/.cache/plugin/social/fonts/Roboto/Condensed ExtraLight Italic.ttf new file mode 100755 index 0000000..0f6fe70 Binary files /dev/null and b/mkdocs/.cache/plugin/social/fonts/Roboto/Condensed ExtraLight Italic.ttf differ diff --git a/mkdocs/.cache/plugin/social/fonts/Roboto/Condensed ExtraLight.ttf b/mkdocs/.cache/plugin/social/fonts/Roboto/Condensed ExtraLight.ttf new file mode 100755 index 0000000..16a1560 Binary files /dev/null and b/mkdocs/.cache/plugin/social/fonts/Roboto/Condensed ExtraLight.ttf differ diff --git a/mkdocs/.cache/plugin/social/fonts/Roboto/Condensed Italic.ttf b/mkdocs/.cache/plugin/social/fonts/Roboto/Condensed Italic.ttf new file mode 100755 index 0000000..3b387eb Binary files /dev/null and b/mkdocs/.cache/plugin/social/fonts/Roboto/Condensed Italic.ttf differ diff --git a/mkdocs/.cache/plugin/social/fonts/Roboto/Condensed Light Italic.ttf b/mkdocs/.cache/plugin/social/fonts/Roboto/Condensed Light Italic.ttf new file mode 100755 index 0000000..9f623e0 Binary files /dev/null and b/mkdocs/.cache/plugin/social/fonts/Roboto/Condensed Light Italic.ttf differ diff --git a/mkdocs/.cache/plugin/social/fonts/Roboto/Condensed Light.ttf b/mkdocs/.cache/plugin/social/fonts/Roboto/Condensed Light.ttf new file mode 100755 index 0000000..e70c357 Binary files /dev/null and b/mkdocs/.cache/plugin/social/fonts/Roboto/Condensed Light.ttf differ diff --git a/mkdocs/.cache/plugin/social/fonts/Roboto/Condensed Medium Italic.ttf b/mkdocs/.cache/plugin/social/fonts/Roboto/Condensed Medium Italic.ttf new file mode 100755 index 0000000..80ff64e Binary files /dev/null and b/mkdocs/.cache/plugin/social/fonts/Roboto/Condensed Medium Italic.ttf differ diff --git a/mkdocs/.cache/plugin/social/fonts/Roboto/Condensed Medium.ttf b/mkdocs/.cache/plugin/social/fonts/Roboto/Condensed Medium.ttf new file mode 100755 index 0000000..dd2842b Binary files /dev/null and b/mkdocs/.cache/plugin/social/fonts/Roboto/Condensed Medium.ttf differ diff --git a/mkdocs/.cache/plugin/social/fonts/Roboto/Condensed Regular.ttf b/mkdocs/.cache/plugin/social/fonts/Roboto/Condensed Regular.ttf new file mode 100755 index 0000000..5af42d4 Binary files /dev/null and b/mkdocs/.cache/plugin/social/fonts/Roboto/Condensed Regular.ttf differ diff --git a/mkdocs/.cache/plugin/social/fonts/Roboto/Condensed SemiBold Italic.ttf b/mkdocs/.cache/plugin/social/fonts/Roboto/Condensed SemiBold Italic.ttf new file mode 100755 index 0000000..6cb4656 Binary files /dev/null and b/mkdocs/.cache/plugin/social/fonts/Roboto/Condensed SemiBold Italic.ttf differ diff --git a/mkdocs/.cache/plugin/social/fonts/Roboto/Condensed SemiBold.ttf b/mkdocs/.cache/plugin/social/fonts/Roboto/Condensed SemiBold.ttf new file mode 100755 index 0000000..4297f17 Binary files /dev/null and b/mkdocs/.cache/plugin/social/fonts/Roboto/Condensed SemiBold.ttf differ diff --git a/mkdocs/.cache/plugin/social/fonts/Roboto/Condensed Thin Italic.ttf b/mkdocs/.cache/plugin/social/fonts/Roboto/Condensed Thin Italic.ttf new file mode 100755 index 0000000..e58e966 Binary files /dev/null and b/mkdocs/.cache/plugin/social/fonts/Roboto/Condensed Thin Italic.ttf differ diff --git a/mkdocs/.cache/plugin/social/fonts/Roboto/Condensed Thin.ttf b/mkdocs/.cache/plugin/social/fonts/Roboto/Condensed Thin.ttf new file mode 100755 index 0000000..1ccebcc Binary files /dev/null and b/mkdocs/.cache/plugin/social/fonts/Roboto/Condensed Thin.ttf differ diff --git a/mkdocs/.cache/plugin/social/fonts/Roboto/ExtraBold Italic.ttf b/mkdocs/.cache/plugin/social/fonts/Roboto/ExtraBold Italic.ttf new file mode 100755 index 0000000..a5536f5 Binary files /dev/null and b/mkdocs/.cache/plugin/social/fonts/Roboto/ExtraBold Italic.ttf differ diff --git a/mkdocs/.cache/plugin/social/fonts/Roboto/ExtraBold.ttf b/mkdocs/.cache/plugin/social/fonts/Roboto/ExtraBold.ttf new file mode 100755 index 0000000..7092a88 Binary files /dev/null and b/mkdocs/.cache/plugin/social/fonts/Roboto/ExtraBold.ttf differ diff --git a/mkdocs/.cache/plugin/social/fonts/Roboto/ExtraLight Italic.ttf b/mkdocs/.cache/plugin/social/fonts/Roboto/ExtraLight Italic.ttf new file mode 100755 index 0000000..23dbbef Binary files /dev/null and b/mkdocs/.cache/plugin/social/fonts/Roboto/ExtraLight Italic.ttf differ diff --git a/mkdocs/.cache/plugin/social/fonts/Roboto/ExtraLight.ttf b/mkdocs/.cache/plugin/social/fonts/Roboto/ExtraLight.ttf new file mode 100755 index 0000000..75608c6 Binary files /dev/null and b/mkdocs/.cache/plugin/social/fonts/Roboto/ExtraLight.ttf differ diff --git a/mkdocs/.cache/plugin/social/fonts/Roboto/Italic.ttf b/mkdocs/.cache/plugin/social/fonts/Roboto/Italic.ttf new file mode 100755 index 0000000..978e53a Binary files /dev/null and b/mkdocs/.cache/plugin/social/fonts/Roboto/Italic.ttf differ diff --git a/mkdocs/.cache/plugin/social/fonts/Roboto/Light Italic.ttf b/mkdocs/.cache/plugin/social/fonts/Roboto/Light Italic.ttf new file mode 100755 index 0000000..a6e5047 Binary files /dev/null and b/mkdocs/.cache/plugin/social/fonts/Roboto/Light Italic.ttf differ diff --git a/mkdocs/.cache/plugin/social/fonts/Roboto/Light.ttf b/mkdocs/.cache/plugin/social/fonts/Roboto/Light.ttf new file mode 100755 index 0000000..6fcd5f9 Binary files /dev/null and b/mkdocs/.cache/plugin/social/fonts/Roboto/Light.ttf differ diff --git a/mkdocs/.cache/plugin/social/fonts/Roboto/Medium Italic.ttf b/mkdocs/.cache/plugin/social/fonts/Roboto/Medium Italic.ttf new file mode 100755 index 0000000..ef9ed1b Binary files /dev/null and b/mkdocs/.cache/plugin/social/fonts/Roboto/Medium Italic.ttf differ diff --git a/mkdocs/.cache/plugin/social/fonts/Roboto/Medium.ttf b/mkdocs/.cache/plugin/social/fonts/Roboto/Medium.ttf new file mode 100755 index 0000000..d629e98 Binary files /dev/null and b/mkdocs/.cache/plugin/social/fonts/Roboto/Medium.ttf differ diff --git a/mkdocs/.cache/plugin/social/fonts/Roboto/Regular.ttf b/mkdocs/.cache/plugin/social/fonts/Roboto/Regular.ttf new file mode 100755 index 0000000..bba55f6 Binary files /dev/null and b/mkdocs/.cache/plugin/social/fonts/Roboto/Regular.ttf differ diff --git a/mkdocs/.cache/plugin/social/fonts/Roboto/SemiBold Italic.ttf b/mkdocs/.cache/plugin/social/fonts/Roboto/SemiBold Italic.ttf new file mode 100755 index 0000000..132cca1 Binary files /dev/null and b/mkdocs/.cache/plugin/social/fonts/Roboto/SemiBold Italic.ttf differ diff --git a/mkdocs/.cache/plugin/social/fonts/Roboto/SemiBold.ttf b/mkdocs/.cache/plugin/social/fonts/Roboto/SemiBold.ttf new file mode 100755 index 0000000..3f34834 Binary files /dev/null and b/mkdocs/.cache/plugin/social/fonts/Roboto/SemiBold.ttf differ diff --git a/mkdocs/.cache/plugin/social/fonts/Roboto/SemiCondensed Black Italic.ttf b/mkdocs/.cache/plugin/social/fonts/Roboto/SemiCondensed Black Italic.ttf new file mode 100755 index 0000000..19a5096 Binary files /dev/null and b/mkdocs/.cache/plugin/social/fonts/Roboto/SemiCondensed Black Italic.ttf differ diff --git a/mkdocs/.cache/plugin/social/fonts/Roboto/SemiCondensed Black.ttf b/mkdocs/.cache/plugin/social/fonts/Roboto/SemiCondensed Black.ttf new file mode 100755 index 0000000..8eedb64 Binary files /dev/null and b/mkdocs/.cache/plugin/social/fonts/Roboto/SemiCondensed Black.ttf differ diff --git a/mkdocs/.cache/plugin/social/fonts/Roboto/SemiCondensed Bold Italic.ttf b/mkdocs/.cache/plugin/social/fonts/Roboto/SemiCondensed Bold Italic.ttf new file mode 100755 index 0000000..8604aee Binary files /dev/null and b/mkdocs/.cache/plugin/social/fonts/Roboto/SemiCondensed Bold Italic.ttf differ diff --git a/mkdocs/.cache/plugin/social/fonts/Roboto/SemiCondensed Bold.ttf b/mkdocs/.cache/plugin/social/fonts/Roboto/SemiCondensed Bold.ttf new file mode 100755 index 0000000..98d7b0d Binary files /dev/null and b/mkdocs/.cache/plugin/social/fonts/Roboto/SemiCondensed Bold.ttf differ diff --git a/mkdocs/.cache/plugin/social/fonts/Roboto/SemiCondensed ExtraBold Italic.ttf b/mkdocs/.cache/plugin/social/fonts/Roboto/SemiCondensed ExtraBold Italic.ttf new file mode 100755 index 0000000..b40ce77 Binary files /dev/null and b/mkdocs/.cache/plugin/social/fonts/Roboto/SemiCondensed ExtraBold Italic.ttf differ diff --git a/mkdocs/.cache/plugin/social/fonts/Roboto/SemiCondensed ExtraBold.ttf b/mkdocs/.cache/plugin/social/fonts/Roboto/SemiCondensed ExtraBold.ttf new file mode 100755 index 0000000..36423c3 Binary files /dev/null and b/mkdocs/.cache/plugin/social/fonts/Roboto/SemiCondensed ExtraBold.ttf differ diff --git a/mkdocs/.cache/plugin/social/fonts/Roboto/SemiCondensed ExtraLight Italic.ttf b/mkdocs/.cache/plugin/social/fonts/Roboto/SemiCondensed ExtraLight Italic.ttf new file mode 100755 index 0000000..929a093 Binary files /dev/null and b/mkdocs/.cache/plugin/social/fonts/Roboto/SemiCondensed ExtraLight Italic.ttf differ diff --git a/mkdocs/.cache/plugin/social/fonts/Roboto/SemiCondensed ExtraLight.ttf b/mkdocs/.cache/plugin/social/fonts/Roboto/SemiCondensed ExtraLight.ttf new file mode 100755 index 0000000..e1c25a0 Binary files /dev/null and b/mkdocs/.cache/plugin/social/fonts/Roboto/SemiCondensed ExtraLight.ttf differ diff --git a/mkdocs/.cache/plugin/social/fonts/Roboto/SemiCondensed Italic.ttf b/mkdocs/.cache/plugin/social/fonts/Roboto/SemiCondensed Italic.ttf new file mode 100755 index 0000000..23454ff Binary files /dev/null and b/mkdocs/.cache/plugin/social/fonts/Roboto/SemiCondensed Italic.ttf differ diff --git a/mkdocs/.cache/plugin/social/fonts/Roboto/SemiCondensed Light Italic.ttf b/mkdocs/.cache/plugin/social/fonts/Roboto/SemiCondensed Light Italic.ttf new file mode 100755 index 0000000..c096473 Binary files /dev/null and b/mkdocs/.cache/plugin/social/fonts/Roboto/SemiCondensed Light Italic.ttf differ diff --git a/mkdocs/.cache/plugin/social/fonts/Roboto/SemiCondensed Light.ttf b/mkdocs/.cache/plugin/social/fonts/Roboto/SemiCondensed Light.ttf new file mode 100755 index 0000000..b9aedcd Binary files /dev/null and b/mkdocs/.cache/plugin/social/fonts/Roboto/SemiCondensed Light.ttf differ diff --git a/mkdocs/.cache/plugin/social/fonts/Roboto/SemiCondensed Medium Italic.ttf b/mkdocs/.cache/plugin/social/fonts/Roboto/SemiCondensed Medium Italic.ttf new file mode 100755 index 0000000..ab34b70 Binary files /dev/null and b/mkdocs/.cache/plugin/social/fonts/Roboto/SemiCondensed Medium Italic.ttf differ diff --git a/mkdocs/.cache/plugin/social/fonts/Roboto/SemiCondensed Medium.ttf b/mkdocs/.cache/plugin/social/fonts/Roboto/SemiCondensed Medium.ttf new file mode 100755 index 0000000..e9c34d6 Binary files /dev/null and b/mkdocs/.cache/plugin/social/fonts/Roboto/SemiCondensed Medium.ttf differ diff --git a/mkdocs/.cache/plugin/social/fonts/Roboto/SemiCondensed Regular.ttf b/mkdocs/.cache/plugin/social/fonts/Roboto/SemiCondensed Regular.ttf new file mode 100755 index 0000000..36109ba Binary files /dev/null and b/mkdocs/.cache/plugin/social/fonts/Roboto/SemiCondensed Regular.ttf differ diff --git a/mkdocs/.cache/plugin/social/fonts/Roboto/SemiCondensed SemiBold Italic.ttf b/mkdocs/.cache/plugin/social/fonts/Roboto/SemiCondensed SemiBold Italic.ttf new file mode 100755 index 0000000..e88bc4a Binary files /dev/null and b/mkdocs/.cache/plugin/social/fonts/Roboto/SemiCondensed SemiBold Italic.ttf differ diff --git a/mkdocs/.cache/plugin/social/fonts/Roboto/SemiCondensed SemiBold.ttf b/mkdocs/.cache/plugin/social/fonts/Roboto/SemiCondensed SemiBold.ttf new file mode 100755 index 0000000..6d10b33 Binary files /dev/null and b/mkdocs/.cache/plugin/social/fonts/Roboto/SemiCondensed SemiBold.ttf differ diff --git a/mkdocs/.cache/plugin/social/fonts/Roboto/SemiCondensed Thin Italic.ttf b/mkdocs/.cache/plugin/social/fonts/Roboto/SemiCondensed Thin Italic.ttf new file mode 100755 index 0000000..81afeea Binary files /dev/null and b/mkdocs/.cache/plugin/social/fonts/Roboto/SemiCondensed Thin Italic.ttf differ diff --git a/mkdocs/.cache/plugin/social/fonts/Roboto/SemiCondensed Thin.ttf b/mkdocs/.cache/plugin/social/fonts/Roboto/SemiCondensed Thin.ttf new file mode 100755 index 0000000..8ed8d79 Binary files /dev/null and b/mkdocs/.cache/plugin/social/fonts/Roboto/SemiCondensed Thin.ttf differ diff --git a/mkdocs/.cache/plugin/social/fonts/Roboto/Thin Italic.ttf b/mkdocs/.cache/plugin/social/fonts/Roboto/Thin Italic.ttf new file mode 100755 index 0000000..0381198 Binary files /dev/null and b/mkdocs/.cache/plugin/social/fonts/Roboto/Thin Italic.ttf differ diff --git a/mkdocs/.cache/plugin/social/fonts/Roboto/Thin.ttf b/mkdocs/.cache/plugin/social/fonts/Roboto/Thin.ttf new file mode 100755 index 0000000..6ee97b8 Binary files /dev/null and b/mkdocs/.cache/plugin/social/fonts/Roboto/Thin.ttf differ diff --git a/mkdocs/docs/.obsidian/app.json b/mkdocs/docs/.obsidian/app.json new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/mkdocs/docs/.obsidian/app.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/mkdocs/docs/.obsidian/appearance.json b/mkdocs/docs/.obsidian/appearance.json new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/mkdocs/docs/.obsidian/appearance.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/mkdocs/docs/.obsidian/core-plugins.json b/mkdocs/docs/.obsidian/core-plugins.json new file mode 100644 index 0000000..b977c25 --- /dev/null +++ b/mkdocs/docs/.obsidian/core-plugins.json @@ -0,0 +1,31 @@ +{ + "file-explorer": true, + "global-search": true, + "switcher": true, + "graph": true, + "backlink": true, + "canvas": true, + "outgoing-link": true, + "tag-pane": true, + "properties": false, + "page-preview": true, + "daily-notes": true, + "templates": true, + "note-composer": true, + "command-palette": true, + "slash-command": false, + "editor-status": true, + "bookmarks": true, + "markdown-importer": false, + "zk-prefixer": false, + "random-note": false, + "outline": true, + "word-count": true, + "slides": false, + "audio-recorder": false, + "workspaces": false, + "file-recovery": true, + "publish": false, + "sync": true, + "webviewer": false +} \ No newline at end of file diff --git a/mkdocs/docs/.obsidian/workspace.json b/mkdocs/docs/.obsidian/workspace.json new file mode 100644 index 0000000..01f7d19 --- /dev/null +++ b/mkdocs/docs/.obsidian/workspace.json @@ -0,0 +1,173 @@ +{ + "main": { + "id": "cc8b9bc9300e924f", + "type": "split", + "children": [ + { + "id": "ffae4535d3cb6390", + "type": "tabs", + "children": [ + { + "id": "9a77916c377f10c9", + "type": "leaf", + "state": { + "type": "markdown", + "state": { + "file": "testing.md", + "mode": "source", + "source": false + }, + "icon": "lucide-file", + "title": "testing" + } + } + ] + } + ], + "direction": "vertical" + }, + "left": { + "id": "0888ce71a20e3033", + "type": "split", + "children": [ + { + "id": "ca01f288e6af3ccf", + "type": "tabs", + "children": [ + { + "id": "ad1e497e508614b5", + "type": "leaf", + "state": { + "type": "file-explorer", + "state": { + "sortOrder": "alphabetical", + "autoReveal": false + }, + "icon": "lucide-folder-closed", + "title": "Files" + } + }, + { + "id": "22ccbaa12e9fe452", + "type": "leaf", + "state": { + "type": "search", + "state": { + "query": "", + "matchingCase": false, + "explainSearch": false, + "collapseAll": false, + "extraContext": false, + "sortOrder": "alphabetical" + }, + "icon": "lucide-search", + "title": "Search" + } + }, + { + "id": "6ee8e33cbf1b625c", + "type": "leaf", + "state": { + "type": "bookmarks", + "state": {}, + "icon": "lucide-bookmark", + "title": "Bookmarks" + } + } + ] + } + ], + "direction": "horizontal", + "width": 300 + }, + "right": { + "id": "e8f39a50df63b264", + "type": "split", + "children": [ + { + "id": "e0f2e9d49bf301d5", + "type": "tabs", + "children": [ + { + "id": "745e41038f228e00", + "type": "leaf", + "state": { + "type": "backlink", + "state": { + "file": "testing.md", + "collapseAll": false, + "extraContext": false, + "sortOrder": "alphabetical", + "showSearch": false, + "searchQuery": "", + "backlinkCollapsed": false, + "unlinkedCollapsed": true + }, + "icon": "links-coming-in", + "title": "Backlinks for testing" + } + }, + { + "id": "7b91c5d16a1df1c3", + "type": "leaf", + "state": { + "type": "outgoing-link", + "state": { + "file": "testing.md", + "linksCollapsed": false, + "unlinkedCollapsed": true + }, + "icon": "links-going-out", + "title": "Outgoing links from testing" + } + }, + { + "id": "f284d9f76da70179", + "type": "leaf", + "state": { + "type": "tag", + "state": { + "sortOrder": "frequency", + "useHierarchy": true, + "showSearch": false, + "searchQuery": "" + }, + "icon": "lucide-tags", + "title": "Tags" + } + }, + { + "id": "31e48c2055d36ef0", + "type": "leaf", + "state": { + "type": "outline", + "state": { + "file": "testing.md", + "followCursor": false, + "showSearch": false, + "searchQuery": "" + }, + "icon": "lucide-list", + "title": "Outline of testing" + } + } + ] + } + ], + "direction": "horizontal", + "width": 300, + "collapsed": true + }, + "left-ribbon": { + "hiddenItems": { + "switcher:Open quick switcher": false, + "graph:Open graph view": false, + "canvas:Create new canvas": false, + "daily-notes:Open today's daily note": false, + "templates:Insert template": false, + "command-palette:Open command palette": false + } + }, + "active": "9a77916c377f10c9", + "lastOpenFiles": [] +} \ No newline at end of file diff --git a/mkdocs/docs/apps/answer.md b/mkdocs/docs/apps/answer.md new file mode 100644 index 0000000..583f8e3 --- /dev/null +++ b/mkdocs/docs/apps/answer.md @@ -0,0 +1,61 @@ +# Answer: Q&A Knowledge Base Platform + +Answer is a self-hosted, open-source Q&A platform designed to help teams and communities build a shared knowledge base. Users can ask questions, provide answers, and vote on the best solutions, creating an organized and searchable repository of information. + +## Key Features + +* **Question & Answer Format**: Familiar Stack Overflow-like interface. +* **Voting System**: Users can upvote or downvote questions and answers to highlight the best content. +* **Tagging**: Organize questions with tags for easy filtering and discovery. +* **Search Functionality**: Powerful search to find existing answers quickly. +* **User Reputation**: (Often a feature in Q&A platforms) Users can earn reputation for helpful contributions. +* **Markdown Support**: Write questions and answers using Markdown. +* **Self-Hosted**: Full control over your data and platform. + +## Documentation + +For more detailed information about Answer, visit the [official documentation](https://answer.apache.org/docs/). + +## Getting Started with Answer + +### Accessing Answer +1. **URL**: Access Answer locally via `http://localhost:9080/` (or your configured external URL). +2. **Account Creation/Login**: You will likely need to create an account or log in to participate (ask questions, answer, vote). The first user might be an admin. + +### Basic Usage + +1. **Asking a Question**: + * Look for a button like "Ask Question." + * Write a clear and concise title for your question. + * Provide detailed context and information in the body of the question using Markdown. + * Add relevant tags to help categorize your question. + +2. **Answering a Question**: + * Browse or search for questions you can help with. + * Write your answer in the provided text area, using Markdown for formatting. + * Submit your answer. + +3. **Voting and Commenting**: + * Upvote helpful questions and answers to increase their visibility. + * Downvote incorrect or unhelpful content. + * Leave comments to ask for clarification or provide additional information without writing a full answer. + +4. **Searching for Information**: Use the search bar to find if your question has already been asked and answered. + +5. **Managing Content (Admins/Moderators)**: + * Admins can typically manage users, tags, and content (e.g., edit or delete inappropriate posts). + +## Use Cases within Changemaker + +* **Internal Team Support**: Create a knowledge base for your team to ask and answer questions about processes, tools, or projects. +* **Public FAQs**: Set up a public-facing Q&A site for your campaign or organization where supporters can find answers to common questions. +* **Community Forum**: Foster a community where users can help each other and share knowledge related to your cause or Changemaker itself. +* **Documentation Supplement**: Use it alongside your main MkDocs site to handle dynamic questions that arise from users. + +## Editing the Site + +Answer is a platform for building a Q&A knowledge base. It is not used for editing this main documentation site (the one you are reading). Site editing is done via **Code Server**. + +## Further Information + +* **Answer Official Website & Documentation**: [https://answer.dev/](https://answer.dev/) and [https://answer.dev/docs](https://answer.dev/docs) diff --git a/mkdocs/docs/apps/code-server.md b/mkdocs/docs/apps/code-server.md new file mode 100644 index 0000000..32ccb57 --- /dev/null +++ b/mkdocs/docs/apps/code-server.md @@ -0,0 +1,58 @@ +# Code Server: VS Code in Your Browser + +Code Server brings the powerful and familiar Visual Studio Code experience directly to your web browser. This allows you to develop, edit code, and manage your projects from any device with internet access, without needing to install VS Code locally. + +It's an essential tool within Changemaker for making quick edits to your website content, managing configuration files, or even full-fledged development tasks on the go. + +## Key Features + +* **Full VS Code Experience**: Access almost all features of desktop VS Code, including the editor, terminal, debugger (for supported languages), extensions, themes, and settings. +* **Remote Access**: Code from anywhere, on any device (laptops, tablets, etc.). +* **Workspace Management**: Open and manage your project folders just like in desktop VS Code. +* **Extension Marketplace**: Install and use your favorite VS Code extensions. +* **Integrated Terminal**: Access a terminal directly within the browser interface. +* **Git Integration**: Manage your version control seamlessly. + +## Documentation + +For more detailed information about Code Server, visit the [official repository](https://github.com/coder/code-server). + +## Getting Started with Code Server + +### Accessing Code Server + +1. **URL**: You can access Code Server locally via `http://localhost:8888/` (or your configured external URL if set up). +2. **Login**: You will be prompted for a password. This password can be found in the configuration file located at `configs/code-server/.config/code-server/config.yaml` within your main Changemaker project directory (e.g., `/home/bunker-admin/Changemaker/configs/code-server/.config/code-server/config.yaml`). You might need to access this file directly on your server or through another method for the initial password retrieval. + +### Basic Usage: Editing Your Documentation Site + +A common use case within Changemaker is editing your MkDocs documentation site. + +1. **Open Your Workspace**: + * Once logged into Code Server, use the "File" menu or the Explorer sidebar to "Open Folder...". + * Navigate to and select the root directory of your Changemaker project (e.g., `/home/bunker-admin/Changemaker/` or the path where your Changemaker files are located if different, typically where the `docker-compose.yml` for Changemaker is). + +2. **Navigate to Documentation Files**: + * In the Explorer sidebar, expand the `mkdocs` folder, then the `docs` folder. + * Here you'll find all your Markdown (`.md`) files (like `index.md`, `readme.md`, files within `apps/`, etc.), your site configuration (`mkdocs.yml`), and custom assets (like `stylesheets/extra.css` or files in `overrides/`). + +3. **Edit a File**: + * Click on a Markdown file (e.g., `index.md` or any page you want to change like `apps/code-server.md` itself!). + * The file will open in the editor. Make your changes using standard Markdown syntax. You'll benefit from live preview capabilities if you have the appropriate VS Code extensions installed (e.g., Markdown Preview Enhanced). + +4. **Save Changes**: + * Press `Ctrl+S` (or `Cmd+S` on Mac) to save your changes. + * If your MkDocs development server is running with live reload (e.g., via `mkdocs serve` executed in a terminal, perhaps within Code Server itself or on your host machine), your documentation site should update automatically in your browser. Otherwise, you may need to rebuild/redeploy your MkDocs site. + +### Using the Integrated Terminal + +The integrated terminal is extremely useful for various tasks without leaving Code Server: +* Running Git commands (`git pull`, `git add .`, `git commit -m "docs: update content"`, `git push`). +* Managing your MkDocs site (`mkdocs serve` to start a live-preview server, `mkdocs build` to generate static files). +* Any other shell commands needed for your project. + +To open the terminal: Go to "Terminal" > "New Terminal" in the Code Server menu, or use the shortcut (often `Ctrl+\` or `Ctrl+~`). + +## Further Information + +For more detailed information on Code Server's features, advanced configurations, and troubleshooting, please refer to the [official Code Server Documentation](https://coder.com/docs/code-server). diff --git a/mkdocs/docs/apps/excalidraw.md b/mkdocs/docs/apps/excalidraw.md new file mode 100644 index 0000000..90dc332 --- /dev/null +++ b/mkdocs/docs/apps/excalidraw.md @@ -0,0 +1,62 @@ +# Excalidraw: Collaborative Virtual Whiteboard + +Excalidraw is a virtual collaborative whiteboard tool that lets you easily sketch diagrams with a hand-drawn feel. It's excellent for brainstorming, creating flowcharts, planning project workflows, or mapping out campaign strategies. + +## Key Features + +* **Hand-drawn Feel**: Creates diagrams that look informal and approachable. +* **Real-time Collaboration**: Multiple users can work on the same drawing simultaneously. +* **Simple Interface**: Easy to learn and use, with essential drawing tools. +* **Export Options**: Save your drawings as PNG, SVG, or `.excalidraw` files (for later editing). +* **Library Support**: Create and use libraries of reusable components. +* **Self-Hosted**: As part of Changemaker, your Excalidraw instance is self-hosted, keeping your data private. + +## Documentation + +For more detailed information about Excalidraw, visit the [official repository](https://github.com/excalidraw/excalidraw). + +## Getting Started with Excalidraw + +### Accessing Excalidraw +1. **URL**: Access Excalidraw locally via `http://localhost:3333/` (or your configured external URL). +2. **No Login Required (Typically)**: Excalidraw itself usually doesn't require a login to start drawing or collaborating if someone shares a link with you. + +### Basic Usage + +1. **Start Drawing**: + * The interface presents a canvas and a toolbar with drawing tools (select, rectangle, diamond, ellipse, arrow, line, free-draw, text). + * Select a tool and click/drag on the canvas to create shapes or text. + +2. **Styling Elements**: + * Select an element on the canvas. + * Use the context menu that appears to change properties like color, fill style, stroke width, font size, alignment, etc. + +3. **Connecting Shapes**: Use arrows or lines to connect shapes to create flowcharts or diagrams. + +4. **Collaboration (If needed)**: + * Click on the "Live collaboration" button (often a users icon). + * Start a session. You'll get a unique link to share with others. + * Anyone with the link can join the session and draw in real-time. + +5. **Saving Your Work**: + * **Export**: Click the menu icon (usually top-left) and choose "Export image". You can select format (PNG, SVG), background options, etc. + * **Save to .excalidraw file**: To save your drawing with all its properties for future editing in Excalidraw, choose "Save to file". This will download an `.excalidraw` JSON file. + +6. **Loading a Drawing**: + * Click the menu icon and choose "Open" to load a previously saved `.excalidraw` file. + +## Use Cases within Changemaker + +* **Brainstorming ideas** for campaigns or projects. +* **Creating sitemaps or user flow diagrams** for your website. +* **Designing simple graphics or illustrations** for your documentation or blog posts. +* **Collaboratively planning workflows** with team members. + +## Editing the Site + +Editing of the main Changemaker documentation site (the one you are reading now) is done via **Code Server**, not Excalidraw. Excalidraw is a tool *for creating visual content* that you might then *include* in your documentation (e.g., by exporting an image and adding it to a Markdown file). + +## Further Information + +* **Excalidraw Official Site**: [Excalidraw.com](https://excalidraw.com/) (for general info and the public version) +* **Excalidraw GitHub Repository**: [Excalidraw on GitHub](https://github.com/excalidraw/excalidraw) (for documentation, source code, and community discussions). diff --git a/mkdocs/docs/apps/ferdium.md b/mkdocs/docs/apps/ferdium.md new file mode 100644 index 0000000..45ff15c --- /dev/null +++ b/mkdocs/docs/apps/ferdium.md @@ -0,0 +1,61 @@ +# Ferdium: All-in-One Messaging Application + +Ferdium is a desktop application that allows you to combine all your messaging services into one place. It's a fork of Franz and Ferdi, designed to help you manage multiple chat and communication platforms without needing to switch between numerous browser tabs or apps. + +**Note:** Ferdium is typically a desktop application you install on your computer, not a web service you access via a browser within the Changemaker suite in the same way as other listed web apps. However, if it's been containerized and made accessible via a web interface in your specific Changemaker setup (e.g., via Kasm or a similar VNC/RDP in Docker setup), the access method would be specific to that. + +Assuming it's accessible via a web URL in your Changemaker instance: + +## Key Features (General Ferdium Features) + +* **Service Integration**: Supports a vast number of services (Slack, WhatsApp, Telegram, Discord, Gmail, Messenger, Twitter, and many more). +* **Unified Interface**: Manage all your communication from a single window. +* **Workspaces**: Organize services into different workspaces (e.g., personal, work). +* **Customization**: Themes, notifications, and service-specific settings. +* **Cross-Platform**: Available for Windows, macOS, and Linux (as a desktop app). +* **Open Source**: Community-driven development. + +## Documentation + +For more detailed information about Ferdium, visit the [official repository](https://github.com/ferdium/ferdium-app). + +## Getting Started with Ferdium (Web Access within Changemaker) + +### Accessing Ferdium (If Web-Accessible) +1. **URL**: Access Ferdium locally via `http://localhost:3002/` (or your configured external URL). This URL implies it's running as a web-accessible service in your Docker setup. +2. **Setup/Login**: + * You might be presented with a desktop-like interface within your browser. + * The first step would be to add services (e.g., connect your Slack, WhatsApp accounts). + +### Basic Usage (General Ferdium Workflow) + +1. **Add Services**: + * Look for an option to "Add a new service" or a similar button. + * Browse the list of available services and select the ones you use. + * You will need to log in to each service individually within Ferdium (e.g., enter your Slack credentials, scan a WhatsApp QR code). + +2. **Organize Services**: + * Services will typically appear in a sidebar. + * You can reorder them or group them into workspaces if the feature is prominent in the web version. + +3. **Using Services**: + * Click on a service in the sidebar to open its interface within Ferdium. + * Interact with it as you normally would (send messages, check notifications). + +4. **Manage Notifications**: Configure how you want to receive notifications for each service to avoid being overwhelmed. + +## Use Cases within Changemaker + +* **Centralized Communication**: For community managers or team members who need to monitor and respond across multiple platforms (Discord, Telegram, Slack, email, etc.) without constantly switching browser tabs or apps. +* **Improved Focus**: Reduces distractions by having all communication in one place. + +## Editing the Site + +Ferdium is a messaging application. It is not used for editing this documentation site. Site editing is done via **Code Server**. + +## Further Information + +* **Ferdium Official Website**: [https://ferdium.org/](https://ferdium.org/) +* **Ferdium GitHub**: [https://github.com/ferdium/ferdium-app](https://github.com/ferdium/ferdium-app) (for the desktop app, but may have info relevant to a containerized version if that's what you are running). + +**Important Consideration for Changemaker**: If Ferdium is indeed running as a web-accessible service at `http://localhost:3002/`, its setup and usage might be slightly different from the standard desktop application. The documentation specific to the Docker image or method used to deploy it within Changemaker would be most relevant. diff --git a/mkdocs/docs/apps/flatnotes.md b/mkdocs/docs/apps/flatnotes.md new file mode 100644 index 0000000..f514a8a --- /dev/null +++ b/mkdocs/docs/apps/flatnotes.md @@ -0,0 +1,73 @@ +# Flatnotes: Simple Markdown Note-Taking + +Flatnotes is a straightforward, self-hosted, markdown-based note-taking application. It's designed for simplicity and efficiency, allowing you to quickly capture ideas, draft content, and organize your notes. A key feature in the Changemaker context is its potential to directly feed into your blog or documentation. + +## Key Features + +* **Markdown First**: Write notes using the familiar and versatile Markdown syntax. +* **Live Preview**: (Often a feature) See how your Markdown will render as you type. +* **Tagging/Organization**: Organize notes with tags or a folder-like structure. +* **Search**: Quickly find the information you need within your notes. +* **Automatic Saving**: Reduces the risk of losing work. +* **Simple Interface**: Distraction-free writing environment. +* **Self-Hosted**: Your notes remain private on your server. +* **Potential Blog Integration**: Notes can be easily copied or potentially directly published to your MkDocs site or other blog platforms that use Markdown. + +## Documentation + +For more detailed information about Flatnotes, visit the [official repository](https://github.com/dullage/flatnotes). + +## Getting Started with Flatnotes + +### Accessing Flatnotes +1. **URL**: Access Flatnotes locally via `http://localhost:8089/` (or your configured external URL). +2. **Login**: Flatnotes will have its own authentication. You should have set up credentials during the Changemaker installation or the first time you accessed Flatnotes. + +### Basic Usage + +1. **Creating a New Note**: + * Look for a "New Note" button or similar interface element. + * Give your note a title. + * Start typing your content in Markdown in the main editor pane. + +2. **Writing in Markdown**: + * Use standard Markdown syntax for headings, lists, bold/italic text, links, images, code blocks, etc. + * Example: + ```markdown + # My Awesome Idea + + This is a *brilliant* idea that I need to remember. + + ## Steps + 1. Draft initial thoughts. + 2. Research more. + 3. Write a blog post. + + [Link to relevant site](https://example.com) + ``` + +3. **Saving Notes**: + * Flatnotes typically saves your notes automatically as you type or when you switch to another note. + +4. **Organizing Notes**: + * Explore options for tagging your notes or organizing them into categories/folders if the interface supports it. This helps in managing a large number of notes. + +5. **Searching Notes**: + * Use the search bar to find notes based on keywords in their title or content. + +### Using Flatnotes for Blog/Documentation Content + +Flatnotes is excellent for drafting content that will eventually become part of your MkDocs site: + +1. **Draft Your Article/Page**: Write the full content in Flatnotes, focusing on the text and structure. +2. **Copy Markdown**: Once you're satisfied, select all the text in your note and copy it. +3. **Create/Edit MkDocs File**: + * Go to Code Server. + * Navigate to your `mkdocs/docs/` directory (or a subdirectory like `blog/posts/`). + * Create a new `.md` file or open an existing one. + * Paste the Markdown content you copied from Flatnotes. +4. **Save and Preview**: Save the file in Code Server. If `mkdocs serve` is running, your site will update, and you can preview the new content. + +## Further Information + +For more specific details on Flatnotes features, customization, or troubleshooting, refer to the [official Flatnotes Documentation](https://github.com/Dullage/Flatnotes) (as it's a GitHub-hosted project, the README and repository wiki are the primary sources of documentation). diff --git a/mkdocs/docs/apps/gitea.md b/mkdocs/docs/apps/gitea.md new file mode 100644 index 0000000..3f19120 --- /dev/null +++ b/mkdocs/docs/apps/gitea.md @@ -0,0 +1,72 @@ +# Gitea: Self-Hosted Git Service + +Gitea is a lightweight, self-hosted Git service. It provides a web interface for managing your Git repositories, similar to GitHub or GitLab, but running on your own server. This gives you full control over your code, documents, and version history. + +## Key Features + +* **Repository Management**: Create, manage, and browse Git repositories. +* **Version Control**: Track changes to code, documentation, and other files. +* **Collaboration**: Supports pull requests, issues, and wikis for team collaboration. +* **User Management**: Manage users and organizations with permission controls. +* **Lightweight**: Designed to be efficient and run on modest hardware. +* **Self-Hosted**: Full control over your data and infrastructure. +* **Web Interface**: User-friendly interface for common Git operations. + +## Documentation + +For more detailed information about Gitea, visit the [official documentation](https://docs.gitea.com/). + +## Getting Started with Gitea + +### Accessing Gitea +1. **URL**: Access Gitea locally via `http://localhost:3030/` (or your configured external URL). +2. **Login/Registration**: + * The first time you access Gitea, you might need to go through an initial setup process or register an administrator account. + * For subsequent access, log in with your Gitea credentials. + +### Basic Usage + +1. **Create a Repository**: + * Once logged in, look for a "New Repository" button (often a "+" icon in the header). + * Give your repository a name, description, and choose visibility (public or private). + * You can initialize it with a README, .gitignore, and license if desired. + +2. **Cloning a Repository**: + * On the repository page, find the clone URL (HTTPS or SSH). + * Use this URL with the `git clone` command in your local terminal or within Code Server's terminal: + ```bash + git clone http://localhost:3030/YourUsername/YourRepository.git + ``` + +3. **Making Changes and Pushing**: + * Make changes to files in your cloned repository locally. + * Use standard Git commands to commit and push your changes: + ```bash + git add . + git commit -m "Your commit message" + git push origin main # Or your default branch name + ``` + +4. **Using the Web Interface**: + * **Browse Files**: View files and commit history directly in Gitea. + * **Issues**: Track bugs, feature requests, or tasks. + * **Pull Requests**: If collaborating, use pull requests to review and merge changes. + * **Settings**: Manage repository settings, collaborators, webhooks, etc. + +## Use Cases within Changemaker + +* **Version Control for Documentation**: Store and manage the Markdown files for your MkDocs site in a Gitea repository. This allows you to track changes, revert to previous versions, and collaborate on content. +* **Code Management**: If you are developing any custom code or scripts for your Changemaker instance or related projects. +* **Configuration File Management**: Keep track of important configuration files with version history. +* **Collaborative Content Development**: Teams can work on documents, with changes reviewed via pull requests before merging. + +## Editing the Site + +While Gitea hosts the *source files* (e.g., Markdown files for this documentation), the actual *editing process* for this MkDocs site is typically done using **Code Server**. You would: +1. Clone your documentation repository from Gitea to your local workspace (or open it directly if it's already part of your Changemaker file structure accessible by Code Server). +2. Edit the Markdown files using Code Server. +3. Commit and push your changes back to Gitea using Git commands in the Code Server terminal. + +## Further Information + +* **Gitea Official Documentation**: [https://docs.gitea.io/](https://docs.gitea.io/) diff --git a/mkdocs/docs/apps/homepage.md b/mkdocs/docs/apps/homepage.md new file mode 100644 index 0000000..ee2cede --- /dev/null +++ b/mkdocs/docs/apps/homepage.md @@ -0,0 +1,58 @@ +# Homepage Dashboard: Your Central Hub + +Homepage is your personal, customizable application dashboard. Within Changemaker V5, it acts as the central command center, providing a unified interface to access all integrated services, monitor their status, and keep bookmarks for frequently used internal and external pages. + +## Key Features + +* **Unified Access**: Quickly launch any Changemaker application (Code Server, Flatnotes, Listmonk, NocoDB, etc.) from one place. +* **Service Status Monitoring**: (If configured) See at a glance if your services are online and operational. +* **Customizable Layout**: Organize your dashboard with groups, links, and widgets to fit your workflow. +* **Bookmarks**: Keep important links (both internal Changemaker services and external websites) readily accessible. +* **Themeable**: Customize the look and feel to your preference. +* **Lightweight & Fast**: Loads quickly and efficiently. + +## Getting Started with Homepage + +### Accessing Homepage +1. **URL**: You can typically access Homepage locally via `http://localhost:3010/` (or your configured external URL if set up). +2. **No Login Required (Usually)**: By default, Homepage itself doesn't require a login, but the services it links to (like Code Server or Listmonk) will have their own authentication. + +### Basic Usage + +1. **Exploring the Dashboard**: + * The main view will show configured service groups and individual service links. + * Clicking on a service link (e.g., "Code Server") will open that application in a new tab or the current window, depending on its configuration. + +2. **Understanding the Default Configuration**: + * Changemaker V5 comes with a pre-configured `settings.yaml`, `services.yaml`, and potentially `bookmarks.yaml` for Homepage, located in the `configs/homepage/` directory within your Changemaker project structure. + * These files define what you see on your dashboard. + +3. **Customizing Your Dashboard (Advanced)**: + * To customize Homepage, you'll typically edit its YAML configuration files. This can be done using Code Server. + * **Navigate to Configuration**: In Code Server, open your Changemaker project folder, then navigate to `configs/homepage/`. + * **Edit `services.yaml`**: To add, remove, or modify the services displayed. + *Example: Adding a new service* + ```yaml + # In services.yaml + - My Services: + - My New App: + href: http://localhost:XXXX # URL of your new app + description: Description of my new app + icon: fas fa-rocket # Font Awesome icon + ``` + * **Edit `bookmarks.yaml`**: To add your own bookmarks, organized into groups. + *Example: Adding a bookmark group* + ```yaml + # In bookmarks.yaml + - Development: + - GitHub: + href: https://github.com/ + icon: fab fa-github + ``` + * **Edit `settings.yaml`**: For general settings like page title, background, etc. + * **Edit `widgets.yaml`**: To add dynamic information like weather, search bars, etc. + * **Apply Changes**: After saving changes to these YAML files, you usually need to restart the Homepage Docker container for them to take effect, or Homepage might pick them up automatically depending on its setup. + +## Further Information + +For more detailed information on configuring Homepage, available widgets, and advanced customization options, please refer to the [official Homepage Documentation](https://gethomepage.dev/latest/). diff --git a/mkdocs/docs/apps/index.md b/mkdocs/docs/apps/index.md new file mode 100644 index 0000000..6ea2e7d --- /dev/null +++ b/mkdocs/docs/apps/index.md @@ -0,0 +1,144 @@ +# Changemaker V5 - Apps & Services Documentation + +This document provides an overview of all the applications and services included in the Changemaker V5 productivity suite, along with links to their documentation. + +## Dashboard + +### Homepage +- **Description**: Main dashboard for Changemaker V5 +- **Documentation**: [Homepage Docs](https://gethomepage.dev/) +- **Local Access**: http://localhost:3010/ +- **Details**: Homepage serves as your central command center, providing a unified dashboard to access all Changemaker services from one place. It features customizable layouts, service status monitoring, and bookmarks to frequently used pages, eliminating the need to remember numerous URLs. + +## Essential Tools + +### Code Server +- **Description**: Visual Studio Code in the browser +- **Documentation**: [Code Server Docs](https://coder.com/docs/code-server) +- **Local Access**: http://localhost:8888/ +- **Details**: Code Server brings the power of VS Code to your browser, allowing you to develop and edit code from any device without local installation. This makes it perfect for quick edits to website content, fixing formatting issues, or developing from tablets or borrowed computers. The familiar VS Code interface includes extensions, syntax highlighting, and Git integration. + +### Flatnotes +- **Description**: Simple note-taking app - connected directly to blog +- **Documentation**: [Flatnotes Docs](https://github.com/Dullage/Flatnotes) +- **Local Access**: http://localhost:8089/ +- **Details**: Flatnotes offers distraction-free, markdown-based note-taking with automatic saving and powerful search. Perfect for capturing ideas that can be directly published to your blog without reformatting. Use it for drafting newsletters, documenting processes, or maintaining a knowledge base that's both private and publishable. + +### Listmonk +- **Description**: Self-hosted newsletter and mailing list manager +- **Documentation**: [Listmonk Docs](https://listmonk.app/docs/) +- **Local Access**: http://localhost:9000/ +- **Details**: Listmonk provides complete control over your email campaigns without subscription fees or content restrictions. Create segmented lists, design professional newsletters, track engagement metrics, and manage opt-ins/unsubscribes—all while keeping your audience data private. Perfect for consistent communication with supporters without the censorship risks or costs of commercial platforms. + +### NocoDB +- **Description**: Open Source Airtable Alternative +- **Documentation**: [NocoDB Docs](https://docs.nocodb.com/) +- **Local Access**: http://localhost:8090/ +- **Details**: NocoDB transforms any database into a smart spreadsheet with advanced features like forms, views, and automations. Use it to create volunteer signup systems, event management databases, or campaign tracking tools without subscription costs. Its familiar spreadsheet interface makes it accessible to non-technical users while providing the power of a relational database. + +## Content Creation + +### MkDocs - Material Theme +- **Description**: Static site generator and documentation builder +- **Documentation**: [MkDocs Docs](https://www.mkdocs.org/) +- **Local Access**: http://localhost:4000/ +- **Details**: MkDocs with Material theme transforms simple markdown files into beautiful, professional documentation sites. Ideal for creating campaign websites, project documentation, or public-facing content that loads quickly and ranks well in search engines. The Material theme adds responsive design, dark mode, and advanced navigation features. + +### Excalidraw +- **Description**: Virtual collaborative whiteboard for sketching and drawing +- **Documentation**: [Excalidraw Docs](https://github.com/excalidraw/excalidraw) +- **Local Access**: http://localhost:3333/ +- **Details**: Excalidraw provides a virtual whiteboard for creating diagrams, flowcharts, or sketches with a hand-drawn feel. It's excellent for visual brainstorming, planning project workflows, or mapping out campaign strategies. Multiple people can collaborate in real-time, making it ideal for remote team planning sessions. + +### Gitea +- **Description**: Lightweight self-hosted Git service +- **Documentation**: [Gitea Docs](https://docs.gitea.io/) +- **Local Access**: http://localhost:3030/ +- **Details**: Gitea provides a complete code and document version control system similar to GitHub but fully under your control. Use it to track changes to campaign materials, collaborate on content development, manage website code, or maintain configuration files with full revision history. Multiple contributors can work together without overwriting each other's changes. + +### OpenWebUI +- **Description**: Web interface for Ollama +- **Documentation**: [OpenWebUI Docs](https://docs.openwebui.com/) +- **Local Access**: http://localhost:3005/ +- **Details**: OpenWebUI provides a user-friendly chat interface for interacting with your Ollama AI models. This makes AI accessible to non-technical team members for tasks like drafting responses, generating creative content, or researching topics. The familiar chat format allows anyone to leverage AI assistance without needing to understand the underlying technology. + +## Community & Data + +### Monica CRM +- **Description**: Personal relationship management system +- **Documentation**: [Monica Docs](https://www.monicahq.com/docs) +- **Local Access**: http://localhost:8085/ +- **Details**: Monica CRM helps you maintain meaningful relationships by tracking interactions, important dates, and personal details about contacts. It's perfect for community organizers to remember conversation contexts, follow up appropriately, and nurture connections with supporters. Unlike corporate CRMs, Monica focuses on the human aspects of relationships rather than just sales metrics. + +### Answer +- **Description**: Q&A platform for teams +- **Documentation**: [Answer Docs](https://answer.dev/docs) +- **Local Access**: http://localhost:9080/ +- **Details**: Answer creates a knowledge-sharing community where team members or supporters can ask questions, provide solutions, and vote on the best responses. It builds an organized, searchable knowledge base that grows over time. Use it for internal team support, public FAQs, or gathering community input on initiatives while keeping valuable information accessible rather than buried in email threads. + +### Ferdium +- **Description**: All-in-one messaging application +- **Documentation**: [Ferdium Docs](https://ferdium.org/help) +- **Local Access**: http://localhost:3002/ +- **Details**: Ferdium consolidates all your communication platforms (Slack, Discord, WhatsApp, Telegram, etc.) into a single interface. This allows you to monitor and respond across channels without constantly switching applications. Perfect for community managers who need to maintain presence across multiple platforms without missing messages or getting overwhelmed. + +### Rocket.Chat +- **Description**: Team collaboration platform with chat, channels, and video conferencing +- **Documentation**: [Rocket.Chat Docs](https://docs.rocket.chat/) +- **Local Access**: http://localhost:3004/ +- **Details**: Rocket.Chat provides a complete communication platform for your team or community. Features include real-time chat, channels, direct messaging, file sharing, video calls, and integrations with other services. It's perfect for creating private discussion spaces, coordinating campaigns, or building community engagement. Unlike commercial platforms, you maintain full data sovereignty and control over user privacy. + +## Development + +### Ollama +- **Description**: Local AI model server for running large language models +- **Documentation**: [Ollama Docs](https://ollama.ai/docs) +- **Local Access**: http://localhost:11435/ +- **Details**: Ollama runs powerful AI language models locally on your server, providing AI capabilities without sending sensitive data to third-party services. Use it for content generation, research assistance, or data analysis with complete privacy. Models run on your hardware, giving you full control over what AI can access and ensuring your information stays confidential. + +### Portainer +- **Description**: Docker container management UI +- **Documentation**: [Portainer Docs](https://docs.portainer.io/) +- **Local Access**: https://localhost:9443/ +- **Details**: Portainer simplifies Docker management with a visual interface for controlling containers, images, networks, and volumes. Instead of complex command-line operations, you can start/stop services, view logs, and manage resources through an intuitive UI, making system maintenance accessible to non-technical users. + +### Mini-QR +- **Description**: QR Code Generator +- **Documentation**: [Mini-QR Docs](https://github.com/xbzbing/mini-qr) +- **Local Access**: http://localhost:8081/ +- **Details**: Mini-QR enables you to quickly generate customizable QR codes for any URL, text, or contact information. Perfect for campaign materials, business cards, or event signage. Create codes that link to your digital materials without relying on third-party services that may track usage or expire. + +### ConvertX +- **Description**: Self-hosted file conversion tool +- **Documentation**: [ConvertX GitHub](https://github.com/c4illin/convertx) +- **Local Access**: http://localhost:3100/ +- **Details**: ConvertX provides a simple web interface for converting files between different formats. It supports a wide range of file types including documents, images, audio, and video. This enables you to maintain full control over your file conversions without relying on potentially insecure third-party services. Perfect for converting documents for campaigns, optimizing images for web use, or preparing media files for different platforms. + +### n8n +- **Description**: Workflow automation platform +- **Documentation**: [n8n Docs](https://docs.n8n.io/) +- **Local Access**: http://localhost:5678/ +- **Details**: n8n automates repetitive tasks by connecting your applications and services with visual workflows. You can create automations like sending welcome emails to new supporters, posting social media updates across platforms, or synchronizing contacts between databases—all without coding. This saves hours of manual work and ensures consistent follow-through on processes. + +## Remote Access + +When configured with Cloudflare Tunnels, you can access these services remotely at: + +- Homepage: https://homepage.yourdomain.com +- Excalidraw: https://excalidraw.yourdomain.com +- Listmonk: https://listmonk.yourdomain.com +- Monica CRM: https://monica.yourdomain.com +- MkDocs: https://yourdomain.com +- Flatnotes: https://flatnotes.yourdomain.com +- Code Server: https://code-server.yourdomain.com +- Ollama: https://ollama.yourdomain.com +- OpenWebUI: https://open-web-ui.yourdomain.com +- Gitea: https://gitea.yourdomain.com +- Portainer: https://portainer.yourdomain.com +- Mini QR: https://mini-qr.yourdomain.com +- Ferdium: https://ferdium.yourdomain.com +- Answer: https://answer.yourdomain.com +- NocoDB: https://nocodb.yourdomain.com +- n8n: https://n8n.yourdomain.com +- ConvertX: https://convertx.yourdomain.com +- Rocket.Chat: https://rocket.yourdomain.com diff --git a/mkdocs/docs/apps/listmonk.md b/mkdocs/docs/apps/listmonk.md new file mode 100644 index 0000000..e9e0e13 --- /dev/null +++ b/mkdocs/docs/apps/listmonk.md @@ -0,0 +1,67 @@ +# Listmonk: Self-Hosted Newsletter & Mailing List Manager + +Listmonk is a powerful, self-hosted newsletter and mailing list manager. It gives you complete control over your email campaigns, subscriber data, and messaging without relying on third-party services that might have restrictive terms, high costs, or data privacy concerns. It's ideal for building and engaging with your community. + +## Key Features + +* **Subscriber Management**: Import, organize, and segment your subscriber lists. +* **Campaign Creation**: Design and send email campaigns using rich text or plain Markdown. +* **Templating**: Create reusable email templates for consistent branding. +* **Analytics**: Track campaign performance with metrics like open rates, click-through rates, etc. +* **Double Opt-In**: Ensure compliance and list quality with double opt-in mechanisms. +* **Self-Hosted**: Full ownership of your data and infrastructure. +* **API Access**: Integrate Listmonk with other systems programmatically. +* **Multi-lingual**: Supports multiple languages. + +## Documentation + +For more detailed information about Listmonk, visit the [official documentation](https://listmonk.app/docs/). + +## Getting Started with Listmonk + +### Accessing Listmonk +1. **URL**: Access Listmonk locally via `http://localhost:9000/` (or your configured external URL). +2. **Login**: You will need to log in with the administrator credentials you configured during the Changemaker setup or the first time you accessed Listmonk. + +### Basic Workflow + +1. **Configure Mail Settings (Important First Step)**: + * After logging in for the first time, navigate to **Settings > SMTP**. + * You MUST configure an SMTP server for Listmonk to be able to send emails. This could be a transactional email service (like SendGrid, Mailgun, Amazon SES - some offer free tiers) or your own mail server. + * Enter the SMTP host, port, username, and password for your chosen email provider. + * Send a test email from Listmonk to verify the settings. + +2. **Create a Mailing List**: + * Go to **Lists** and click "New List". + * Give your list a name (e.g., "Monthly Newsletter Subscribers"), a description, and choose its type (public or private). + * Set opt-in preferences (single or double opt-in). + +3. **Import Subscribers**: + * Go to **Subscribers**. + * You can add subscribers manually or import them from a CSV file. + * Ensure you have consent from your subscribers before adding them. + * Map CSV columns to Listmonk fields (email, name, etc.). + +4. **Create an Email Template (Optional but Recommended)**: + * Go to **Templates** and click "New Template". + * Design a reusable HTML or Markdown template for your emails to maintain consistent branding. + * Use template variables (e.g., `{{ .Subscriber.Email }}`, `{{ .Subscriber.Name }}`) to personalize emails. + +5. **Create and Send a Campaign**: + * Go to **Campaigns** and click "New Campaign". + * **Name**: Give your campaign a descriptive name. + * **Subject**: Write a compelling email subject line. + * **Lists**: Select the mailing list(s) to send the campaign to. + * **Content**: Write your email content. You can choose: + * **Rich Text Editor**: A WYSIWYG editor. + * **Plain Text + Markdown**: Write in Markdown for simplicity and version control friendliness. + * **Use a Template**: Select one of your pre-designed templates and fill in the content areas. + * **Send Test Email**: Always send a test email to yourself or a small group to check formatting and links before sending to your entire list. + * **Schedule or Send**: You can schedule the campaign to be sent at a later time or send it immediately. + +6. **Analyze Campaign Performance**: + * After a campaign is sent, go to **Campaigns**, click on the campaign name, and view its statistics (sent, opened, clicked, etc.). + +## Further Information + +For comprehensive details on all Listmonk features, advanced configurations (like bounce handling, API usage), and troubleshooting, please consult the [official Listmonk Documentation](https://listmonk.app/docs/). diff --git a/mkdocs/docs/apps/mkdocs-material.md b/mkdocs/docs/apps/mkdocs-material.md new file mode 100644 index 0000000..c808fbc --- /dev/null +++ b/mkdocs/docs/apps/mkdocs-material.md @@ -0,0 +1,63 @@ +# MkDocs with Material Theme: Your Documentation Powerhouse + +Changemaker V5 utilizes MkDocs with the Material theme to build this very documentation site. MkDocs is a fast, simple, and downright gorgeous static site generator that's geared towards building project documentation with Markdown. + +## Key Features of MkDocs & Material Theme + +* **Simple Markdown Syntax**: Write documentation in plain Markdown files. +* **Fast and Lightweight**: Generates static HTML files that load quickly. +* **Material Design**: A clean, modern, and responsive design out-of-the-box. +* **Highly Customizable**: Extensive configuration options for themes, navigation, plugins, and more. +* **Search Functionality**: Built-in search makes it easy for users to find information. +* **Plugin Ecosystem**: Extend MkDocs with various plugins (e.g., for blog functionality, social cards, diagrams). +* **Live Reload Server**: `mkdocs serve` provides a development server that automatically reloads when you save changes. + +## Documentation + +For more detailed information about MkDocs, visit the [official documentation](https://www.mkdocs.org/). + +## Editing This Site (Your Changemaker Documentation) + +All content for this documentation site is managed as Markdown files within the `mkdocs/docs/` directory of your Changemaker project. + +### How to Edit or Add Content: + +1. **Access Code Server**: As outlined on the homepage and in the Code Server documentation, log into Code Server. Your password is in `configs/code-server/.config/code-server/config.yaml`. +2. **Navigate to the `docs` Directory**: + * In Code Server's file explorer, open your Changemaker project folder (e.g., `/home/bunker-admin/Changemaker/`). + * Go into the `mkdocs/docs/` subdirectory. +3. **Find or Create Your Page**: + * **To edit an existing page**: Navigate to the relevant `.md` file (e.g., `apps/code-server.md` to edit the Code Server page, or `index.md` for the homepage content if not using `home.html` override directly). + * **To create a new page**: Create a new `.md` file in the appropriate location (e.g., `apps/my-new-app.md`). +4. **Write in Markdown**: Use standard Markdown syntax. Refer to the `guides/authoring-content.md` for tips on Markdown and MkDocs Material specific features. +5. **Update Navigation (if adding a new page)**: + * Open `mkdocs/mkdocs.yml`. + * Add your new page to the `nav:` section to make it appear in the site navigation. For example: + ```yaml + nav: + - Home: index.md + - ... + - Applications: + - ... + - My New App: apps/my-new-app.md # Add your new page here + - ... + ``` +6. **Save Your Changes**: Press `Ctrl+S` (or `Cmd+S` on Mac) in Code Server. +7. **Preview Changes**: + * The MkDocs development server (if you've run `mkdocs serve` in a terminal within your `mkdocs` directory) will automatically rebuild the site and your browser should refresh to show the changes. + * The typical URL for the local development server is `http://localhost:8000` or `http://127.0.0.1:8000`. + +### Site Configuration + +The main configuration for the documentation site is in `mkdocs/mkdocs.yml`. Here you can change: +* `site_name`, `site_description`, `site_author` +* Theme features and palette +* Markdown extensions +* Navigation structure (`nav`) +* Plugins + +## Further Information + +* **MkDocs**: [Official MkDocs Documentation](https://www.mkdocs.org/) +* **MkDocs Material Theme**: [Official Material for MkDocs Documentation](https://squidfunk.github.io/mkdocs-material/) +* **Your Site's Authoring Guide**: Check out `guides/authoring-content.md` in your `mkdocs/docs/` directory. diff --git a/mkdocs/docs/apps/monica-crm.md b/mkdocs/docs/apps/monica-crm.md new file mode 100644 index 0000000..8d7ae79 --- /dev/null +++ b/mkdocs/docs/apps/monica-crm.md @@ -0,0 +1,55 @@ +# Monica CRM: Personal Relationship Management + +Monica CRM is a self-hosted, open-source personal relationship management system. It helps you organize and record interactions with your friends, family, and professional contacts, focusing on the human aspects of your relationships rather than just sales metrics like traditional CRMs. + +## Key Features + +* **Contact Management**: Store detailed information about your contacts (important dates, how you met, family members, etc.). +* **Interaction Logging**: Record activities, conversations, and reminders related to your contacts. +* **Reminders**: Set reminders for birthdays, anniversaries, or to get back in touch. +* **Journaling**: Keep a personal journal that can be linked to contacts or events. +* **Data Ownership**: Self-hosted, so you control your data. +* **Focus on Personal Connections**: Designed to strengthen personal relationships. + +## Documentation + +For more detailed information about Monica CRM, visit the [official documentation](https://www.monicahq.com/documentation/). + +## Getting Started with Monica CRM + +### Accessing Monica CRM +1. **URL**: Access Monica CRM locally via `http://localhost:8085/` (or your configured external URL). +2. **Account Creation/Login**: The first time you access Monica, you will need to create an account (email, password). Subsequent visits will require you to log in. + +### Basic Usage + +1. **Adding Contacts**: + * Look for an "Add Contact" or similar button. + * Fill in as much information as you know: name, relationship to you, important dates (birthdays), how you met, contact information, etc. + * You can add notes, family members, and even how they pronounce their name. + +2. **Logging Activities/Interactions**: + * On a contact's page, find options to "Log an activity," "Schedule a reminder," or "Add a note." + * Record details about conversations, meetings, or significant events. + * Set reminders to follow up or for important dates. + +3. **Using the Dashboard**: The dashboard usually provides an overview of upcoming reminders, recent activities, and statistics about your relationships. + +4. **Journaling**: Explore the journaling feature to write personal entries, which can sometimes be linked to specific contacts or events. + +5. **Managing Relationships**: Regularly update contact information and log interactions to keep your relationship history current. + +## Use Cases within Changemaker + +* **Community Organizers**: Keep track of interactions with supporters, volunteers, and community members. +* **Networking**: Manage professional contacts and remember important details about them. +* **Personal Use**: Strengthen relationships with friends and family by remembering important dates and conversations. +* **Campaign Management**: Track interactions with key stakeholders or donors (though for larger scale campaign CRM, a dedicated tool might be more suitable, Monica excels at the *personal* touch). + +## Editing the Site + +Monica CRM is a tool for managing personal relationships. It is not used for editing this documentation site. Site editing is done via **Code Server**. + +## Further Information + +* **Monica CRM Official Website & Documentation**: [https://www.monicahq.com/](https://www.monicahq.com/) and [https://www.monicahq.com/docs](https://www.monicahq.com/docs) diff --git a/mkdocs/docs/apps/n8n.md b/mkdocs/docs/apps/n8n.md new file mode 100644 index 0000000..b2ca6c8 --- /dev/null +++ b/mkdocs/docs/apps/n8n.md @@ -0,0 +1,66 @@ +# n8n: Automate Your Workflows + +n8n is a powerful workflow automation platform that allows you to connect different services and systems together without needing complex programming skills. Within Changemaker V5, it enables you to create automated processes that save time and ensure consistency across your operations. + +## Key Features + +* **Visual Workflow Builder**: Create automation flows using an intuitive drag-and-drop interface. +* **Pre-built Integrations**: Connect to hundreds of services including email, social media, databases, and more. +* **Custom Functionality**: Create your own nodes for custom integrations when needed. +* **Scheduling**: Run workflows on schedules or trigger them based on events. +* **Error Handling**: Configure what happens when steps fail, with options to retry or alert. +* **Self-hosted**: Keep your automation data and credentials completely under your control. +* **Credential Management**: Securely store and reuse authentication details for various services. + +## Documentation + +For more detailed information about n8n, visit the [official documentation](https://docs.n8n.io/). + +## Getting Started with n8n + +### Accessing n8n +1. **URL**: You can access n8n locally via `http://localhost:5678/` (or your configured external URL if set up). +2. **Authentication**: The first time you access n8n, you'll need to set up an account with admin credentials. + +### Basic Usage + +1. **Creating Your First Workflow**: + * Click the "+" button in the top right to create a new workflow. + * Add a trigger node (e.g., "Schedule" for time-based triggers or "Webhook" for event-based triggers). + * Connect additional nodes for the actions you want to perform. + * Save your workflow and activate it using the toggle at the top of the editor. + +2. **Example Workflow: Automatic Welcome Emails** + * Start with a "Webhook" node that triggers when a new contact is added to your system. + * Connect to an "Email" node configured to send your welcome message. + * Optionally, add a "Slack" or "Rocket.Chat" node to notify your team about the new contact. + +3. **Common Use Cases**: + * **Content Publishing**: Automatically post blog updates to social media channels. + * **Data Synchronization**: Keep contacts in sync between different systems. + * **Event Management**: Send reminders before events and follow-ups afterward. + * **Monitoring**: Get notifications when important metrics change or thresholds are reached. + * **Form Processing**: Automatically handle form submissions with confirmation emails and data storage. + +### Integration with Other Changemaker Services + +n8n works particularly well with other services in your Changemaker environment: + +* **NocoDB**: Connect to your databases to automate record creation, updates, or data processing. +* **Listmonk**: Trigger email campaigns based on events or schedules. +* **Gitea**: Automate responses to code changes or issue creation. +* **Monica CRM**: Update contact records automatically when interactions occur. +* **Rocket.Chat**: Send automated notifications to team channels. + +## Advanced Features + +* **Error Handling**: Configure error workflows and retries for increased reliability. +* **Splitting and Merging**: Process multiple items in parallel and then combine results. +* **Expressions**: Use JavaScript expressions for dynamic data manipulation. +* **Webhooks**: Create endpoints that can receive data from external services. +* **Function Nodes**: Write custom JavaScript code for complex data transformations. +* **Cron Jobs**: Schedule workflows to run at specific intervals. + +## Further Information + +For more detailed information on creating complex workflows, available integrations, and best practices, please refer to the [official n8n Documentation](https://docs.n8n.io/). diff --git a/mkdocs/docs/apps/nocodb.md b/mkdocs/docs/apps/nocodb.md new file mode 100644 index 0000000..78770d3 --- /dev/null +++ b/mkdocs/docs/apps/nocodb.md @@ -0,0 +1,72 @@ +# NocoDB: Open Source Airtable Alternative + +NocoDB is a powerful open-source alternative to services like Airtable. It allows you to turn various types of SQL databases (like MySQL, PostgreSQL, SQL Server, SQLite) into a smart spreadsheet interface. This makes data management, collaboration, and even building simple applications much more accessible without extensive coding. + +## Key Features + +* **Spreadsheet Interface**: View and manage your database tables like a spreadsheet. +* **Multiple View Types**: Beyond grids, create Kanban boards, forms, galleries, and calendar views from your data. +* **Connect to Existing Databases**: Bring your existing SQL databases into NocoDB or create new ones from scratch. +* **API Access**: NocoDB automatically generates REST APIs for your tables, enabling integration with other applications and services. +* **Collaboration**: Share bases and tables with team members with granular permission controls. +* **App Store / Integrations**: Extend functionality with built-in or third-party apps and integrations. +* **Self-Hosted**: Maintain full control over your data and infrastructure. +* **No-Code/Low-Code**: Build simple applications and workflows with minimal to no coding. + +## Documentation + +For more detailed information about NocoDB, visit the [official documentation](https://docs.nocodb.com/). + +## Getting Started with NocoDB + +### Accessing NocoDB +1. **URL**: Access NocoDB locally via `http://localhost:8090/` (or your configured external URL). +2. **Initial Setup / Login**: + * The first time you access NocoDB, you might be guided through a setup process to create an initial super admin user. + * For subsequent access, you'll log in with these credentials. + +### Basic Workflow + +1. **Understanding the Interface**: + * **Workspace/Projects (or Bases)**: NocoDB organizes data into projects or bases, similar to Airtable bases. Each project can contain multiple tables. + * **Tables**: These are your database tables, displayed in a spreadsheet-like grid by default. + * **Views**: For each table, you can create multiple views (Grid, Form, Kanban, Gallery, Calendar) to visualize and interact with the data in different ways. + +2. **Creating a New Project/Base**: + * Look for an option like "New Project" or "Create Base". + * You might be asked to connect to an existing database or create a new one (often SQLite by default for ease of use if not connecting to an external DB). + +3. **Creating a Table**: + * Within a project, create new tables. + * Define columns (fields) for your table, specifying the data type for each (e.g., Text, Number, Date, Email, Select, Attachment, Formula, Link to Another Record). + +4. **Adding and Editing Data**: + * Click into cells in the grid view to add or edit data, just like a spreadsheet. + * Use forms (if you create a form view) for more structured data entry. + +5. **Creating Different Views**: + * For any table, click on the view switcher (often near the table name) and select "Create View". + * Choose the view type (e.g., Kanban). + * Configure the view (e.g., for Kanban, select the single-select field that will define the columns/stacks). + +6. **Linking Tables (Relational Data)**: + * Use the "Link to Another Record" field type to create relationships between tables (e.g., link a `Tasks` table to a `Projects` table). + * This allows you to look up and display related data across tables. + +7. **Using Formulas**: + * Create formula fields to compute values based on other fields in the same table, similar to spreadsheet formulas. + +8. **Exploring APIs**: + * NocoDB automatically provides REST API endpoints for your tables. Look for an "API Docs" or similar section to explore these APIs, which can be used to integrate NocoDB data with other applications (e.g., your website, automation scripts). + +## Use Cases within Changemaker + +* **Content Management**: Manage structured content for your website or blog (e.g., a list of events, resources, testimonials). +* **Contact Management/CRM**: Keep track of contacts, leads, or supporters. +* **Project Management**: Track tasks, projects, and deadlines. +* **Inventory Management**: If applicable to your campaign or project. +* **Data Collection**: Use NocoDB forms to collect information. + +## Further Information + +NocoDB is a feature-rich platform. For detailed guides, tutorials, API documentation, and advanced usage, refer to the [official NocoDB Documentation](https://docs.nocodb.com/). diff --git a/mkdocs/docs/apps/ollama.md b/mkdocs/docs/apps/ollama.md new file mode 100644 index 0000000..3d0e333 --- /dev/null +++ b/mkdocs/docs/apps/ollama.md @@ -0,0 +1,72 @@ +# Ollama: Local AI Model Server + +Ollama is a tool that allows you to run large language models (LLMs) locally on your own server or computer. It simplifies the process of downloading, setting up, and interacting with powerful open-source AI models, providing AI capabilities without relying on third-party cloud services and ensuring data privacy. + +## Key Features + +* **Run LLMs Locally**: Host and run various open-source large language models (like Llama, Gemma, Mistral, etc.) on your own hardware. +* **Simple CLI**: Easy-to-use command-line interface for downloading models (`ollama pull`), running them (`ollama run`), and managing them (`ollama list`). +* **API Server**: Ollama serves models through a local API, allowing other applications (like OpenWebUI) to interact with them. +* **Data Privacy**: Since models run locally, your data doesn't leave your server when you interact with them. +* **Growing Model Library**: Access a growing library of popular open-source models. +* **Customization**: Create custom model files (Modelfiles) to tailor model behavior. + +## Documentation + +For more detailed information about Ollama, visit the [official repository](https://github.com/ollama/ollama). + +## Getting Started with Ollama (within Changemaker) + +Ollama itself is primarily a command-line tool and an API server. You typically interact with it via a terminal or through a UI like OpenWebUI. + +### Managing Ollama via Terminal (e.g., in Code Server) + +1. **Access a Terminal**: + * Open the integrated terminal in Code Server. + * Alternatively, SSH directly into your Changemaker server. + +2. **Common Ollama Commands**: + * **List Downloaded Models**: See which models you currently have. + ```bash + docker exec -it ollama-changemaker ollama list + ``` + *(The `docker exec -it ollama-changemaker` part is necessary if Ollama is running in a Docker container named `ollama-changemaker`, which is common. If Ollama is installed directly on the host, you'd just run `ollama list`.)* + + * **Pull (Download) a New Model**: Download a model from the Ollama library. Replace `gemma:2b` with the desired model name and tag. + ```bash + docker exec -it ollama-changemaker ollama pull gemma:2b + ``` + (Example: `ollama pull llama3`, `ollama pull mistral`) + + * **Run a Model (Interactive Chat in Terminal)**: Chat directly with a model in the terminal. + ```bash + docker exec -it ollama-changemaker ollama run gemma:2b + ``` + (Press `Ctrl+D` or type `/bye` to exit the chat.) + + * **Remove a Model**: Delete a downloaded model to free up space. + ```bash + docker exec -it ollama-changemaker ollama rm gemma:2b + ``` + +### Interacting with Ollama via OpenWebUI + +For a more user-friendly chat experience, use OpenWebUI, which connects to your Ollama service. See the `apps/openwebui.md` documentation for details. + +## Use Cases within Changemaker + +* **Powering OpenWebUI**: Ollama is the backend engine that OpenWebUI uses to provide its chat interface. +* **AI-Assisted Content Creation**: Generate text, summaries, ideas, or code snippets with privacy. +* **Custom AI Applications**: Developers can build custom applications that leverage the Ollama API for various AI tasks. +* **Offline AI Capabilities**: Use AI models even without an active internet connection (once models are downloaded). + +## Editing the Site + +Ollama is an AI model server. It is not used for editing this documentation site. Site editing is done via **Code Server**. + +## Further Information + +* **Ollama Official Website**: [https://ollama.ai/](https://ollama.ai/) +* **Ollama Documentation**: [https://ollama.ai/docs](https://ollama.ai/docs) +* **Ollama GitHub**: [https://github.com/ollama/ollama](https://github.com/ollama/ollama) +* The existing `ollama.md` at the root of the `docs` folder in your project might also contain specific setup notes for your Changemaker instance. diff --git a/mkdocs/docs/apps/openwebui.md b/mkdocs/docs/apps/openwebui.md new file mode 100644 index 0000000..7ee7bbe --- /dev/null +++ b/mkdocs/docs/apps/openwebui.md @@ -0,0 +1,53 @@ +# OpenWebUI: Chat Interface for Ollama + +OpenWebUI provides a user-friendly, web-based chat interface for interacting with local AI models run by Ollama. It makes leveraging the power of large language models (LLMs) accessible to users who may not be comfortable with command-line interfaces, offering a familiar chat experience. + +## Key Features + +* **Chat Interface**: Intuitive, ChatGPT-like interface for interacting with Ollama models. +* **Model Selection**: Easily switch between different AI models you have downloaded via Ollama. +* **Conversation History**: Keeps track of your chats. +* **Responsive Design**: Usable on various devices. +* **Self-Hosted**: Runs locally as part of your Changemaker suite, ensuring data privacy. +* **Markdown Support**: Renders model responses that include Markdown for better formatting. + +## Documentation + +For more detailed information about OpenWebUI, visit the [official documentation](https://docs.openwebui.com/). + +## Getting Started with OpenWebUI + +### Prerequisites +* **Ollama Must Be Running**: OpenWebUI is an interface *for* Ollama. Ensure your Ollama service is running and you have downloaded some models (e.g., `ollama pull llama3`). + +### Accessing OpenWebUI +1. **URL**: Access OpenWebUI locally via `http://localhost:3005/` (or your configured external URL). +2. **Account Creation (First Time)**: The first time you access OpenWebUI, you'll likely need to sign up or create an admin account for the interface itself. + +### Basic Usage + +1. **Log In**: Sign in with your OpenWebUI credentials. +2. **Select a Model**: + * There should be an option (often a dropdown menu) to select which Ollama model you want to chat with. This list will populate based on the models you have pulled using the Ollama service. + * If you don't see any models, you may need to go to a terminal (e.g., in Code Server or directly on your server) and run `ollama list` to see available models or `ollama pull ` (e.g., `ollama pull gemma:2b`) to download a new one. +3. **Start Chatting**: + * Type your prompt or question into the message box at the bottom of the screen and press Enter or click the send button. + * The selected Ollama model will process your input and generate a response, which will appear in the chat window. +4. **Manage Conversations**: You can typically start new chats or revisit previous conversations from a sidebar. + +## Use Cases within Changemaker + +* **Content Generation**: Draft blog posts, newsletter content, social media updates, or documentation. +* **Brainstorming**: Generate ideas for campaigns, projects, or problem-solving. +* **Research Assistance**: Ask questions and get summaries on various topics (ensure you verify information from LLMs). +* **Drafting Responses**: Help formulate replies to emails or messages. +* **Learning & Exploration**: Experiment with different AI models and their capabilities. + +## Editing the Site + +OpenWebUI is a tool for interacting with AI models. It is not used for editing this documentation site. Site editing is done via **Code Server**. + +## Further Information + +* **OpenWebUI Official Documentation/GitHub**: [https://docs.openwebui.com/](https://docs.openwebui.com/) or their GitHub repository (often linked from the UI itself). +* **Ollama Documentation**: [https://ollama.ai/docs](https://ollama.ai/docs) (for information on managing Ollama and downloading models). diff --git a/mkdocs/docs/apps/portainer.md b/mkdocs/docs/apps/portainer.md new file mode 100644 index 0000000..7ada0d4 --- /dev/null +++ b/mkdocs/docs/apps/portainer.md @@ -0,0 +1,69 @@ +# Portainer: Docker Container Management UI + +Portainer is a lightweight management UI that allows you to easily manage your Docker environments (or other container orchestrators like Kubernetes). Changemaker V5 runs its applications as Docker containers, and Portainer provides a visual interface to see, manage, and troubleshoot these containers. + +## Key Features + +* **Container Management**: View, start, stop, restart, remove, and inspect Docker containers. +* **Image Management**: Pull, remove, and inspect Docker images. +* **Volume Management**: Manage Docker volumes used for persistent storage. +* **Network Management**: Manage Docker networks. +* **Stacks/Compose**: Deploy and manage multi-container applications defined in Docker Compose files (stacks). +* **Logs & Stats**: View container logs and resource usage statistics (CPU, memory). +* **User-Friendly Interface**: Simplifies Docker management for users who may not be comfortable with the command line. +* **Multi-Environment Support**: Can manage multiple Docker hosts or Kubernetes clusters (though in Changemaker, it's typically managing the local Docker environment). + +## Documentation + +For more detailed information about Portainer, visit the [official documentation](https://docs.portainer.io/). + +## Getting Started with Portainer + +### Accessing Portainer +1. **URL**: Access Portainer locally via `http://localhost:9002/` (or your configured external URL). +2. **Initial Setup/Login**: + * The first time you access Portainer, you will need to set up an administrator account (username and password). + * You will then connect Portainer to the Docker environment it should manage. For Changemaker, this is usually the local Docker socket. + +### Basic Usage + +1. **Dashboard**: The main dashboard provides an overview of your Docker environment (number of containers, volumes, images, etc.). + +2. **Containers List**: + * Navigate to "Containers" from the sidebar. + * You'll see a list of all running and stopped containers (e.g., `code-server`, `flatnotes`, `listmonk`, etc., that make up Changemaker). + * **Actions**: For each container, you can perform actions like: + * **Logs**: View real-time logs. + * **Inspect**: See detailed configuration and state. + * **Stats**: View resource usage. + * **Console**: Connect to the container's terminal (if supported by the container). + * **Stop/Start/Restart/Remove**. + +3. **Images List**: + * Navigate to "Images" to see all Docker images pulled to your server. + * You can pull new images from Docker Hub or other registries, or remove unused images. + +4. **Volumes List**: + * Navigate to "Volumes" to see Docker volumes, which are used by Changemaker apps to store persistent data (e.g., your notes in Flatnotes, your Listmonk database). + +5. **Stacks (Docker Compose)**: + * Navigate to "Stacks." + * Changemaker itself is likely deployed as a stack using its `docker-compose.yml` file. You might see it listed here. + * You can add new stacks (deploy other Docker Compose applications) or manage existing ones. + +## Use Cases within Changemaker + +* **Monitoring Application Status**: Quickly see if all Changemaker application containers are running. +* **Viewing Logs**: Troubleshoot issues by checking the logs of specific application containers. +* **Restarting Applications**: If an application becomes unresponsive, you can try restarting its container via Portainer. +* **Resource Management**: Check CPU and memory usage of containers if you suspect performance issues. +* **Advanced Management**: For users comfortable with Docker, Portainer provides an easier interface for tasks that would otherwise require command-line operations. + +## Editing the Site + +Portainer is for managing the Docker containers that run the applications. It is not used for editing this documentation site. Site editing is done via **Code Server**. + +## Further Information + +* **Portainer Official Website**: [https://www.portainer.io/](https://www.portainer.io/) +* **Portainer Documentation**: [https://docs.portainer.io/](https://docs.portainer.io/) diff --git a/mkdocs/docs/apps/rocketchat.md b/mkdocs/docs/apps/rocketchat.md new file mode 100644 index 0000000..8411779 --- /dev/null +++ b/mkdocs/docs/apps/rocketchat.md @@ -0,0 +1,65 @@ +# Rocket.Chat: Team & Community Collaboration Platform + +Rocket.Chat is a powerful, open-source team collaboration platform. It offers a wide range of communication tools, including real-time chat, channels, direct messaging, video conferencing, and file sharing. It's designed for teams and communities to communicate and collaborate effectively in a self-hosted environment. + +## Key Features + +* **Real-time Chat**: Public channels, private groups, and direct messages. +* **File Sharing**: Share documents, images, and other files. +* **Voice and Video Conferencing**: Integrated audio and video calls. +* **Guest Access**: Allow external users to participate in specific channels. +* **Integrations**: Connect with other tools and services through bots and APIs. +* **Customization**: Themes, permissions, and extensive administrative controls. +* **Self-Hosted**: Full data sovereignty and control over user privacy. +* **Mobile and Desktop Apps**: Access Rocket.Chat from various devices. + +## Documentation + +For more detailed information about Rocket.Chat, visit the [official documentation](https://docs.rocket.chat/). + +## Getting Started with Rocket.Chat + +### Accessing Rocket.Chat +1. **URL**: Access Rocket.Chat locally via `http://localhost:3004/` (or your configured external URL). +2. **Account Registration/Login**: + * The first time you access it, you or an administrator will need to set up an admin account and configure the server. + * Users will then need to register for an account or be invited by an admin. + +### Basic Usage + +1. **Interface Overview**: + * **Channels/Rooms**: The main area for discussions. Channels can be public or private. + * **Direct Messages**: For one-on-one conversations. + * **User List**: See who is online and available. + * **Search**: Find messages, users, or channels. + +2. **Joining Channels**: + * Browse the directory of public channels or be invited to private ones. + +3. **Sending Messages**: + * Type your message in the input box at the bottom of a channel or direct message. + * Use Markdown for formatting, emojis, and @mentions to notify users. + +4. **Starting a Video/Audio Call**: Look for the call icons within a channel or direct message to start a voice or video call. + +5. **Managing Your Profile**: Update your profile picture, status, and notification preferences. + +6. **Administration (For Admins)**: + * Access the administration panel to manage users, permissions, channels, integrations, and server settings. + +## Use Cases within Changemaker + +* **Internal Team Communication**: A central place for your campaign team or organization members to chat, share files, and coordinate efforts. +* **Community Building**: Create a private or public chat community for your supporters or users. +* **Project Collaboration**: Dedicate channels to specific projects or tasks. +* **Support Channel**: Offer a real-time support channel for your users or community members. +* **Alternative to Slack/Discord**: A self-hosted option providing similar functionality with more control. + +## Editing the Site + +Rocket.Chat is a communication platform. It is not used for editing this documentation site. Site editing is done via **Code Server**. + +## Further Information + +* **Rocket.Chat Official Website**: [https://www.rocket.chat/](https://www.rocket.chat/) +* **Rocket.Chat Documentation**: [https://docs.rocket.chat/](https://docs.rocket.chat/) diff --git a/mkdocs/docs/blog/index.md b/mkdocs/docs/blog/index.md new file mode 100755 index 0000000..c58f16c --- /dev/null +++ b/mkdocs/docs/blog/index.md @@ -0,0 +1,2 @@ +# Blog + diff --git a/mkdocs/docs/blog/posts/First Post.md b/mkdocs/docs/blog/posts/First Post.md new file mode 100755 index 0000000..05bbaf6 --- /dev/null +++ b/mkdocs/docs/blog/posts/First Post.md @@ -0,0 +1,9 @@ +--- +date: + created: 2025-03-06 +--- + + +# Testing + +### hello world mk \ No newline at end of file diff --git a/mkdocs/docs/guides/authoring-content.md b/mkdocs/docs/guides/authoring-content.md new file mode 100644 index 0000000..3052ba6 --- /dev/null +++ b/mkdocs/docs/guides/authoring-content.md @@ -0,0 +1,210 @@ +# Authoring Content with Markdown and MkDocs Material + +This guide provides a brief overview of writing content using Markdown and leveraging the styling capabilities of the MkDocs Material theme for your Changemaker documentation site. + +## Markdown Basics + +Markdown is a lightweight markup language with plain-text formatting syntax. It's designed to be easy to read and write. + +### Headings +```markdown +# Heading 1 +## Heading 2 +### Heading 3 +``` + +### Emphasis +```markdown +*Italic text* or _Italic text_ +**Bold text** or __Bold text__ +~~Strikethrough text~~ +``` + +### Lists + +**Ordered List:** +```markdown +1. First item +2. Second item +3. Third item +``` + +**Unordered List:** +```markdown +- Item A +- Item B + - Sub-item B1 + - Sub-item B2 +* Item C +``` + +### Links +```markdown +[Link Text](https://www.example.com) +[Link with Title](https://www.example.com "An example link") +[Relative Link to another page](../apps/code-server.md) +``` + +### Images +```markdown +![Alt text for image](/assets/images/changemaker.png "Optional Image Title") +``` +*Place your images in the `mkdocs/docs/assets/images/` directory (or create it if it doesn't exist) and reference them accordingly.* + +### Code Blocks + +**Inline Code:** +Use backticks: `this is inline code`. + +**Fenced Code Blocks (Recommended for multi-line code):** +Specify the language for syntax highlighting. + +````markdown +```python +def hello_world(): + print("Hello, world!") +``` + +```html +

Hello

+``` +```` + +### Blockquotes +```markdown +> This is a blockquote. +> It can span multiple lines. +``` + +### Horizontal Rule +```markdown +--- +*** +``` + +### Tables +```markdown +| Header 1 | Header 2 | Header 3 | +| :------- | :------: | -------: | +| Align L | Center | Align R | +| Cell 1 | Cell 2 | Cell 3 | +``` + +## MkDocs Material Theme Features + +MkDocs Material provides many enhancements and custom syntax options on top of standard Markdown. + +### Admonitions (Call-outs) + +These are great for highlighting information. + +```markdown +!!! note + This is a note. + +!!! tip "Optional Title" + Here's a helpful tip! + +!!! warning + Be careful with this action. + +!!! danger "Critical Alert" + This is a critical warning. + +!!! abstract "Summary" + This is an abstract or summary. +``` + +Supported types include: `note`, `abstract`, `info`, `tip`, `success`, `question`, `warning`, `failure`, `danger`, `bug`, `example`, `quote`. + +### Code Blocks with Titles and Line Numbers + +Your `mkdocs.yml` is configured for `pymdownx.highlight` which supports this. + +````markdown +```python title="my_script.py" linenums="1" +print("Hello from Python") +``` +```` + +### Emojis + +Your `mkdocs.yml` has `pymdownx.emoji` enabled. + +```markdown +:smile: :rocket: :warning: +``` +See the [MkDocs Material Emoji List](https://squidfunk.github.io/mkdocs-material/reference/icons-emojis/#search-for-emojis) for available emojis. + +### Footnotes + +Your `mkdocs.yml` has `footnotes` enabled. + +```markdown +This is some text with a footnote.[^1] + +[^1]: This is the footnote definition. +``` + +### Content Tabs + +Group related content under tabs. + +````markdown +=== "Tab 1 Title" + Content for tab 1 (can be Markdown) + +=== "Tab 2 Title" + Content for tab 2 + + ```python + # Code blocks work here too + print("Hello from Tab 2") + ``` +```` + +### Task Lists +```markdown +- [x] Completed task +- [ ] Incomplete task +- [ ] Another task +``` + +### Styling with Attributes (`attr_list`) + +You can add CSS classes or IDs to elements. + +```markdown +This is a paragraph with a custom class. +{: .my-custom-class } + +## A Heading with an ID {#custom-heading-id} +``` +This is useful for applying custom CSS from your `extra.css` file. + +### Buttons + +MkDocs Material has a nice way to create buttons from links: + +```markdown +[This is a button link](https://example.com){ .md-button } +[Primary button](https://example.com){ .md-button .md-button--primary } +[Another button](another-page.md){ .md-button } +``` + +## Editing Workflow + +1. **Use Code Server**: Access Code Server from your Changemaker dashboard. +2. **Navigate**: Open the `mkdocs/docs/` directory. +3. **Create or Edit**: Create new `.md` files or edit existing ones. +4. **Save**: Save your changes (`Ctrl+S` or `Cmd+S`). +5. **Preview**: + * If you have `mkdocs serve` running (either locally on your machine if developing there, or in a terminal within Code Server pointing to the `mkdocs` directory), your documentation site (usually at `http://localhost:8000` or `http://127.0.0.1:8000`) will auto-reload. + * Alternatively, you can use VS Code extensions like "Markdown Preview Enhanced" within Code Server for a live preview pane. + +## Further Reading + +* [MkDocs Material Reference](https://squidfunk.github.io/mkdocs-material/reference/): The official documentation for all features. +* [Markdown Guide](https://www.markdownguide.org/basic-syntax/): For general Markdown syntax. + +This guide should give you a solid start. Explore the MkDocs Material documentation for even more advanced features like diagrams, math formulas, and more complex page layouts. diff --git a/mkdocs/docs/guides/index.md b/mkdocs/docs/guides/index.md new file mode 100644 index 0000000..184e182 --- /dev/null +++ b/mkdocs/docs/guides/index.md @@ -0,0 +1,3 @@ +# Guides + +The following guides to properly configure your site. \ No newline at end of file diff --git a/mkdocs/docs/guides/ollama-vscode.md b/mkdocs/docs/guides/ollama-vscode.md new file mode 100644 index 0000000..9c5a8cc --- /dev/null +++ b/mkdocs/docs/guides/ollama-vscode.md @@ -0,0 +1,84 @@ +# Using Ollama Models in VS Code (Code-Server) + +You can integrate Ollama models with your VS Code environment (code-server) in several ways: + +## Option 1: Install a VS Code Extension + +The easiest approach is to install a VS Code extension that connects to Ollama: + +1. In [code-server](http://localhost:8888) (your VS Code interface), open the Extensions panel +2. Search for "Continue" or "Ollama" and install an extension like "Continue" or "Ollama Chat" +3. Configure the extension to connect to Ollama using the internal Docker network URL: + ``` + http://ollama-changemaker:11434 + ``` + +## Option 2: Use the API Directly from the VS Code Terminal + +Since the Docker CLI isn't available inside the code-server container, we can interact with the Ollama API directly using curl: + +```bash +# List available models +curl http://ollama-changemaker:11434/api/tags + +# Generate text with a model +curl -X POST http://ollama-changemaker:11434/api/generate -d '{ + "model": "llama3", + "prompt": "Write a function to calculate Fibonacci numbers" +}' + +# Pull a new model +curl -X POST http://ollama-changemaker:11434/api/pull -d '{ + "name": "mistral:7b" +}' +``` + +## Option 3: Write Code That Uses the Ollama API + +You can write scripts that connect to Ollama's API. For example, in Python: + +```python +import requests + +def ask_ollama(prompt, model="llama3"): + response = requests.post( + "http://ollama-changemaker:11434/api/generate", + json={"model": model, "prompt": prompt} + ) + return response.json()["response"] + +# Example usage +result = ask_ollama("What is the capital of France?") +print(result) + +# List available models +def list_models(): + response = requests.get("http://ollama-changemaker:11434/api/tags") + models = response.json()["models"] + return [model["name"] for model in models] + +# Pull a new model +def pull_model(model_name): + response = requests.post( + "http://ollama-changemaker:11434/api/pull", + json={"name": model_name} + ) + # This will take time for large models + return response.status_code +``` + +## From Your Host Machine's Terminal (Not VS Code) + +If you want to use Docker commands, you'll need to run them from your host machine's terminal, not from inside VS Code: + +```bash +# List available models +docker exec -it ollama-changemaker ollama list + +# Pull models +docker exec -it ollama-changemaker ollama pull llama3 +docker exec -it ollama-changemaker ollama pull mistral:7b +docker exec -it ollama-changemaker ollama pull codellama +``` + +The key is using the Docker network hostname `ollama-changemaker` with port `11434` as your connection point, which should be accessible from your code-server container since they're on the same network. \ No newline at end of file diff --git a/mkdocs/docs/images/cat.png b/mkdocs/docs/images/cat.png new file mode 100644 index 0000000..a470eea Binary files /dev/null and b/mkdocs/docs/images/cat.png differ diff --git a/mkdocs/docs/images/changemkaerv5.gif b/mkdocs/docs/images/changemkaerv5.gif new file mode 100644 index 0000000..0bde37e Binary files /dev/null and b/mkdocs/docs/images/changemkaerv5.gif differ diff --git a/mkdocs/docs/index.md b/mkdocs/docs/index.md new file mode 100755 index 0000000..2cb26da --- /dev/null +++ b/mkdocs/docs/index.md @@ -0,0 +1,8 @@ +--- +title: Welcome to Change Maker +template: home.html +hide: + - navigation + - toc +--- + diff --git a/mkdocs/docs/notes/.gitkeep b/mkdocs/docs/notes/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/mkdocs/docs/overrides/home.html b/mkdocs/docs/overrides/home.html new file mode 100644 index 0000000..9e2f8ad --- /dev/null +++ b/mkdocs/docs/overrides/home.html @@ -0,0 +1,211 @@ +{% extends "main.html" %} + +{% block content %} + +
+ +
+ +
+

Welcome to Changemaker V5

+

A self-hosted, open-source platform for digital campaigns.

+

Changemaker V5 is a battle-tested, lightweight, self-hosted productivity suite that empowers you to build secure websites, blogs, newsletters, and forms. With 100% locally hosted AI and automation systems, it helps you manage a community of collaborators—from personal projects to full-fledged campaigns—granting you complete control, inherent security, and true freedom of speech for your content.

+

Build your power, don't rent it.

+ Explore Applications + + code Code + +
+ +
+

Quick Start

+

Familiar with the terminal, git, and Docker? Get Changemaker up and running in minutes:

+
+
# Clone the repository
+git clone https://gitea.bnkhome.org/bnkops/Changemaker.git
+cd Changemaker
+
+ +
+
# Run the config.sh script
+./config.sh
+
+ +
+
# Start all services
+docker compose up -d
+
+ +

That's it! After services start (which may take a few minutes on first run), visit http://localhost:3011 to get started.

+

Access Homepage (only works with if Changemaker installed) +

Important: Make sure to visit https://localhost:9444 immediately to configure Portainer before the installation process times out. See the Portainer documentation for details.

+ Detailed Installation Guide +
+ +
+

What is Changemaker?

+

Changemaker V5 is a curated set of free & open source tools that has been pre-configured into a platform for the express intent of running a digital campaign. It empowers you to deploy secure, locally-built websites, blogs, newsletters, & forms – from personal projects to full-fledged campaigns.

+
+ +
+

Why Changemaker?

+

Changemaker V5 is a project undertaken by The Bunker Operations, a community building organization, headquartered in Edmonton, Alberta, Canada, to provide our community a digital campaign alternative to mainstream American systems. It intends to be a plug-and-play web server platform so we can transition our friends, allies, and comrades off of corporate systems.

+
+ +
+

Core Applications & Services

+

Changemaker V5 comes packed with a suite of powerful, self-hosted tools. Click on any app to learn more about its features and how to use it.

+
+
+
+

dashboardHomepage

+

Main dashboard for Changemaker V5. Your central command center for all services.

+
+ Learn More +
+ +
+
+

codeCode Server

+

Visual Studio Code in your browser. Develop and edit code from any device.

+
+ Learn More +
+ +
+
+

edit_noteFlatnotes

+

Simple, markdown-based note-taking, directly connected to your blog.

+
+ Learn More +
+ +
+
+

mailListmonk

+

Self-hosted newsletter and mailing list manager for full control over campaigns.

+
+ Learn More +
+ +
+
+

table_chartNocoDB

+

Open Source Airtable Alternative. Turn any database into a smart spreadsheet.

+
+ Learn More +
+ +
+
+

question_answerAnswer

+

Self-hosted Q&A platform for teams to share knowledge internally.

+
+ Learn More +
+ +
+
+

drawExcalidraw

+

Virtual whiteboard for sketching and collaborative diagramming.

+
+ Learn More +
+ +
+
+

appsFerdium

+

All-in-one desktop app that helps you organize multiple social media services in one place.

+
+ Learn More +
+ +
+
+

sourceGitea

+

Lightweight, self-hosted Git service for managing repositories and collaboration.

+
+ Learn More +
+ +
+
+

articleMkDocs Material

+

Create beautiful documentation sites with Markdown (like this one!).

+
+ Learn More +
+ +
+
+

peopleMonica CRM

+

Personal relationship management system to organize interactions with your contacts.

+
+ Learn More +
+ +
+
+

integration_instructionsn8n

+

Workflow automation tool that connects various apps and services together.

+
+ Learn More +
+ +
+
+

smart_toyOllama

+

Run open-source large language models locally for AI-powered assistance.

+
+ Learn More +
+ +
+
+

chatOpenWebUI

+

Web interface for interacting with your Ollama AI models.

+
+ Learn More +
+ +
+
+

sailingPortainer

+

Container management platform that simplifies deploying and managing Docker environments.

+
+ Learn More +
+ +
+
+

forumRocket.Chat

+

Self-hosted team communication platform with real-time chat and collaboration.

+
+ Learn More +
+
+
+ +
+

Development Pathway

+

Changemaker is continuously evolving. Here are some identified wants for development:

+
    +
  • Internal integrations for asset management (e.g., shared plain file locations).
  • +
  • Database connections for automation systems (e.g., manuals for NocoDB & n8n).
  • +
  • Enhanced manuals and landing site for the whole system.
  • +
  • Comprehensive training materials.
  • +
+

Stay tuned for updates and new features! For more details, check the full development pathway.

+
+ +{% endblock %} + +{% block tabs %} + {{ super() }} +{% endblock %} \ No newline at end of file diff --git a/mkdocs/docs/overrides/main.html b/mkdocs/docs/overrides/main.html new file mode 100644 index 0000000..db9be4d --- /dev/null +++ b/mkdocs/docs/overrides/main.html @@ -0,0 +1,4 @@ +{% extends "base.html" %} {% block extrahead %} {% endblock %} {% block announce %} + +Changemaker Archive. Learn more +{% endblock %} {% block scripts %} {{ super() }} {% endblock %} \ No newline at end of file diff --git a/mkdocs/docs/quick-commands.md b/mkdocs/docs/quick-commands.md new file mode 100644 index 0000000..a1e71ae --- /dev/null +++ b/mkdocs/docs/quick-commands.md @@ -0,0 +1,23 @@ +# Quick Commands + +## Build Site + +``` +# navigate to mkdocs directory +mkdocs build +``` + +## Ollama + +Pull a model into the ollama environment: + +``` +# Replace action and model with your own... +docker exec -it ollama-changemaker ollama [action] [model] +``` + + + + + + diff --git a/mkdocs/docs/readme.md b/mkdocs/docs/readme.md new file mode 100755 index 0000000..e3fb8cc --- /dev/null +++ b/mkdocs/docs/readme.md @@ -0,0 +1,372 @@ +# Changemaker V5 + +![changemakergif](images/changemkaerv5.gif) + +--- + +Changemaker V5 is a battle-tested, lightweight, self-hosted productivity suite which empowers you to deploy secure, locally-built websites, blogs, newsletters, & forms – from personal projects to full-fledged campaigns – granting you complete control, inherent security, and true freedom of speech. + +It is a project undertaken by The Bunker Operations, headquarted in Edmonton, Alberta, Canada, as to provide our community a digital campaign alternative to mainstream American systems. + +![build your power](assets/images/buildyourpower.png) + +## Contents + +- [Prerequisites](#prerequisites) +- [Quick Start](#quick-start) +- [Detailed Installation](#detailed-installation) + - [1. Install Docker and Docker Compose](#1-install-docker-and-docker-compose) + - [2. Clone the Repository](#2-clone-the-repository) + - [3. Configure Your Environment](#3-configure-your-environment) + - [4. Start the Services](#4-start-the-services) + - [5. Run Post-Installation Tasks](#5-run-post-installation-tasks) +- [Local Service Ports](#local-service-ports) +- [Cloudflare Tunnel Setup](#cloudflare-tunnel-setup) + - [Install Cloudflared on Ubuntu 24.04](#install-cloudflared-on-ubuntu-2404) + - [Configure Your Cloudflare Tunnel](#configure-your-cloudflare-tunnel) + - [Create a Cloudflare System Service](#create-a-cloudflare-system-service) + - [Add CNAME Records](#add-cname-records) +- [Website Build and Deployment Workflow](#website-build-and-deployment-workflow) +- [Accessing Your Services](#accessing-your-services) +- [Troubleshooting](#troubleshooting) + +--- +## Development Pathway + +Changemaker's identified wants for development: + +- Internal integrations for assset management i.e. shared plain file locations +- Database connections for automation systems i.e. manauls for Nocodb & n8n on connecting services +- Manual & landing site for the whole system i.e. upgrading bnkops.com +- Trainings and manuals across the board + +Idenitfied Feature Requests: + +- Event Management: Looking at [hi.ewvents](https://hi.events/) +- Scheduling: Looking at [rally](https://rallly.co/) +- Support and user chat: looking at [chatwoot](https://github.com/chatwoot/chatwoot) +- Mass community chat: looking at [thelounge](https://thelounge.chat/) +- Team chat and project management: looking at [rocket chat](https://github.com/RocketChat/Rocket.Chat) ✔️ + +Bugs: + +- Readme needs a full flow redo - ✅ next up +- Config script needs to be updated for nocodb for a simpler string / set the string - :white_check_mark: +- Gitea DNS application access bypass not properly setting - ✅ bypass needing manual setup / need to explore api more +- Portainer not serving to http - 🤔 portainer to be limited to local access +- nocodb setup upping odd - ✅ password needs no special characters +- ferdium port mismatch - ✅ was a cloudflare port setting missmatch + +## Prerequisites + +- A Linux server (Ubuntu 22.04/24.04 recommended) +- Docker & Docker Compose +- Internet connection +- (Optional) Root or sudo access +- (Optional) A domain name for remote access +- (Optional) Cloudflare account for tunnel setup + +## Quick Start for Local Dev + +Review all off the applications [here](apps.md) + +If you're familiar with Docker and want to get started quickly: + +```bash +# Clone the repository +git clone https://gitea.bnkhome.org/bnkops/Changemaker.git +cd changemaker +``` + +See [Setting Up Cloudflare Credentials](#setting-up-cloudflare-credentials) for how to get cloudflare credentials for config.sh. + +```bash +# Use default configuration for local development. +# To configure for remote deployment with Cloudflare, first make the script executable: +chmod +x config.sh + +# Then run the configuration script. You will need your Cloudflare details. +./config.sh +``` + +``` +# Start all services +docker compose up -d +``` + +**First time installation can take several miniutes** + +On a 1GB internet connection, instal time is approximately 5 minutes. + +### ⚠️ Configure Portainer Immediately 🦊 + +Portainer has a timed build process that needs to be completed on successful build. Proceed to configure the service by visiting https://localhost:9444 + +Gitea has a install process that you should complete immediately after connecting system to dns and domain services. + +### On Successful Build, Vist [Local Homepage](http://localhost:3011) +The [local homepage - http://localhost:3011](http://localhost:3011) is configured with all of the services you can access securely locally. + +To access services outside of network, configure a VPN, Tailscale, or continue to Cloudflare publishing documentation. + +## Local Service Ports + +When running Changemaker locally, you can access the services at the following ports on your server: + +| Service | Local Port | Local URL | +|--------------|------------|------------------------------------------| +| Root/Website (Nginx) | 4001 | [http://localhost:4001](http://localhost:4001) | +| Homepage (local) | 3011 | [http://locahost:3011](http://localhost:3011) | +| Homepage | 3010 | [http://localhost:3010](http://localhost:3010) | +| Excalidraw | 3333 | [http://localhost:3333](http://localhost:3333) | +| Listmonk | 9000 | [http://localhost:9000](http://localhost:9000) | +| Monica CRM | 8085 | [http://localhost:8085](http://localhost:8085) | +| MkDocs | 4000 | [http://localhost:4000](http://localhost:4000) | +| Flatnotes | 8089 | [http://localhost:8089](http://localhost:8089) | +| Code Server | 8888 | [http://localhost:8888](http://localhost:8888) | +| Ollama | 11435 | [http://localhost:11435](http://localhost:11435) | +| OpenWebUI | 3005 | [http://localhost:3005](http://localhost:3005) | +| Gitea | 3030 | [http://localhost:3030](http://localhost:3030) | +| Portainer | 8005 | [https://localhost:9444](https://localhost:9444) | +| Mini QR | 8081 | [http://localhost:8081](http://localhost:8081) | +| Ferdium | 3009 | [http://localhost:3009](http://localhost:3009) | +| Answer | 9080 | [http://localhost:9080](http://localhost:9080) | +| NocoDB | 8090 | [http://localhost:8090](http://localhost:8090) | +| n8n | 5678 | [http://localhost:5678](http://localhost:5678) | +| ConvertX | 3100 | [http://localhost:3100](http://localhost:3100) | +| Rocket.Chat | 3004 | [http://localhost:3004](http://localhost:3004) | + +### Ubuntu OS & Build Outs + +You can deploy Changemaker on any OS using Docker however we also provide several full Ubuntu build-outs. These scripts can speed up your deployment immensely and Changemaker is developed on a like system: + +1. **[build.server](https://gitea.bnkhome.org/bnkops/scripts/src/branch/main/build.server.md)** - this build-out is a lightweight deployment aimed for dedicated server machines. It is focused on entry level users who would build on a dedicated machine. +2. **[build.homelab](https://gitea.bnkhome.org/bnkops/scripts/src/branch/main/build.homelab.md)** - this build-out is full-some development focused build-out that The Bunker Operations uses for our day-to-day operations. + +Configuration and services scripts for futher developing the system can be found at the [scripts](https://gitea.bnkhome.org/bnkops/scripts) repo. + +### 1. Install Docker and Docker Compose + +Install Docker and Docker Compose on your system if they're not already installed: + +[Install Docker & Docker Compose](https://gitea.bnkhome.org/bnkops/scripts/src/branch/main/build.homelab.md#dockerhttpswwwdockercom) + +Verify that Docker and Docker Compose are installed correctly: + +```bash +docker --version +docker compose version +``` + +### 2. Clone the Repository + +```bash +git clone https://github.com/your-org/changemaker-v5.git +cd changemaker-v5 +``` + +### 2. Configure Your Environment + +#### Setting Up Cloudflare Credentials + +To use the configuration script, you'll need to collect several Cloudflare credentials: + +!!! info "Required Cloudflare Information" + You'll need three important pieces of information from your Cloudflare account: + - API Token with proper permissions + - Zone ID for your domain + - Tunnel ID + +##### 1. Create an API Token + +1. Go to your [Cloudflare Dashboard](https://dash.cloudflare.com/) → Profile → API Tokens +2. Click "Create Token" +3. Choose one of these options: + - Use the "Edit zone DNS" template + - Create a custom token with these permissions: + * Zone:DNS:Edit + * Access:Apps:Edit +4. Restrict the token to only your specific zone/domain +5. Generate and copy the token + +##### 2. Get your Zone ID + +1. Go to your domain's overview page in the Cloudflare dashboard +2. The Zone ID is displayed on the right sidebar +3. It looks like: `023e105f4ecef8ad9ca31a8372d0c353` + +##### 3. Get your Tunnel ID + +1. If you've already created a tunnel, you can find the ID: + - Go to Cloudflare Zero Trust dashboard → Access → Tunnels + - Click on your tunnel + - The Tunnel ID is in the URL: `https://dash.teams.cloudflare.com/xxx/network/tunnels/xxxx` + - It looks like: `6ff42ae2-765d-4adf-8112-31c55c1551ef` + +!!! tip "Keep Your Credentials Secure" + Store these credentials securely. Never commit them to public repositories or share them in unsecured communications. + +You have two options: + +**Option A: Use the configuration wizard (recommended)** + +```bash +# Make the script executable +chmod +x config.sh + +# Run the configuration wizard +./config.sh +``` + +**Option B: Configure manually** +```bash +# Edit the .env file with your settings +nano .env +``` + +### 4. Start the Services + +```bash +# Pull and start all containers in detached mode +docker compose up -d +``` + +!!! warning "Configure Portainer" + + Portainer has a timed build process. Make sure to immediatly configure the service at https://localhost:9444 following successful build. + + +All services can now be accessed through on local machine. If deploying to public, it is recommended to **configure portainer** and then continue configuration for all other services once tunnel is established. Then use the public links for configuration of services. For online deployment with Cloudflare, continue to next steps. + +### 4. Cloudflare Tunnel Setup + +For secure remote access to your services, you can set up a Cloudflare Tunnel. + +### Install Cloudflared on Ubuntu 24.04 + +[Cloudflared Installation Guide](https://gitea.bnkhome.org/bnkops/scripts/src/branch/main/build.homelab.md#cloudflaredhttpsdeveloperscloudflarecomcloudflare-oneconnectionsconnect-networks) + +### Configure Your Cloudflare Tunnel + +You can use our [Cloudflare Configuration Guide](https://gitea.bnkhome.org/bnkops/scripts/src/branch/main/config.cloudflare.homelab.md) however remember to copy the values of the [example config](example.cloudflare.config.yml) for this deployment. + +### Create a Cloudflare System Service + +[Cloudflare Service Setup Guide](https://gitea.bnkhome.org/bnkops/scripts/src/branch/main/service.cloudflared.md) + +### Add CNAME Records + +After setting up your Cloudflare Tunnel, you need to add CNAME records for your services. You can do this manually in the Cloudflare DNS panel or with using the following script: `add-cname-records.sh` + +```bash +# Make the script executable +chmod +x add-cname-records.sh + +# Run the script to add CNAME records +./add-cname-records.sh +``` + +This script will add CNAME records for all Changemaker services to your Cloudflare DNS. + +It will also set up a Cloudflare Access Application for all services execpt for your website and gitea. This is a extra layer of security that we do recommend for your deployment. It will automatically allow any emails with from the root domain that you set in the `config.sh` process. For example, if you set your root domain to `example.com` your access rule will allow emails ending with @example.com thorugh. You can update your access settings in the Cloudflare Zero Trust dashboard. + +!!! warning "Cloudflare Zero Trust" + + To ensure that system is secure, we highly recommend setting up some level of access control using Cloudflare Zero Trust. The `add-cname-records.sh` will do this automatically however the user is encouraged to familiarize themselves with Cloudflares Zero Trust access system. + +## Website Build and Deployment Workflow + +Changemaker uses MkDocs to create your website content, which is then served by an Nginx server. To update your website, you need to: + +1. **Edit your content** using either the Code Server or locally on your machine +2. **Build the static site files** +3. **Let the Nginx server (mkdocs-site-server) serve the built site** + +### Building Your Website + +You can build your website in two ways: + +#### Option 1: Using Code Server (recommended for remote deployments) +1. Access Code Server at http://localhost:8888 or https://code-server.yourdomain.com +2. Navigate to the mkdocs directory `/home/coder/mkdocs/` +3. Open a terminal in Code Server +4. Run the build command: + ```bash + cd /home/coder/mkdocs + mkdocs build + ``` + +#### Option 2: Locally on your machine +1. Navigate to the mkdocs directory in your project: + ```bash + cd /home/bunker-admin/Changemaker/mkdocs + ``` +2. Run the build command: + ```bash + mkdocs build + ``` + +After building, the static site files will be generated in the `mkdocs/site` directory, which is automatically mounted to the Nginx server (mkdocs-site-server). Your website will be immediately available at: +- Locally: http://localhost:4001 +- With Cloudflare: https://yourdomain.com + +### Development vs Production + +- During **development**, you can use the MkDocs live server at port 4000, which automatically rebuilds when you make changes +- For **production**, build your site as described above and let the Nginx server at port 4001 serve the static files + +## Accessing Your Services + +The **Homepage** acts as a central dashboard for all your Changemaker services. You can access it at: + +- Locally: http://localhost:3011 or http://your-server-ip:3011 +- With Cloudflare: https://homepage.yourdomain.com + +The Homepage will display links to all your deployed services, making it easy to navigate your Changemaker ecosystem. + +After installation and cloudflare deployment you can also access individual services at the following URLs: + +- Website: https://yourdomain.com +- Homepage: https://homepage.yourdomain.com +- Live Preview: https://live.yourdomain.com +- Excalidraw: https://excalidraw.yourdomain.com +- Listmonk: https://listmonk.yourdomain.com +- Monica CRM: https://monica.yourdomain.com +- MkDocs: https://yourdomain.com +- Flatnotes: https://flatnotes.yourdomain.com +- Code Server: https://code-server.yourdomain.com +- Ollama: https://ollama.yourdomain.com +- OpenWebUI: https://open-web-ui.yourdomain.com +- Gitea: https://gitea.yourdomain.com +- Portainer: https://portainer.yourdomain.com +- Mini QR: https://mini-qr.yourdomain.com +- Ferdium: https://ferdium.yourdomain.com +- Answer: https://answer.yourdomain.com +- NocoDB: https://nocodb.yourdomain.com +- n8n: https://n8n.yourdomain.com +- ConvertX: https://convertx.yourdomain.com +- Rocket.Chat: https://rocket.yourdomain.com + +## Troubleshooting + +If you encounter issues: + +1. Check the Docker logs: + ```bash + docker compose logs + ``` + +2. Verify service status: + ```bash + docker compose ps + ``` + +3. Ensure your Cloudflare Tunnel is running: + ```bash + sudo systemctl status cloudflared + ``` + +4. Check CNAME records in your Cloudflare dashboard. + + +For additional help, please file an issue on our GitHub repository. \ No newline at end of file diff --git a/mkdocs/docs/stylesheets/extra.css b/mkdocs/docs/stylesheets/extra.css new file mode 100644 index 0000000..973ed0a --- /dev/null +++ b/mkdocs/docs/stylesheets/extra.css @@ -0,0 +1,315 @@ +.login-button { + display: inline-block; + padding: 2px 10px; + margin-left: auto; /* Push the button to the right */ + margin-right: 10px; + background-color: #1565c0; /* Use a solid, high-contrast color */ + color: #fff; /* Ensure text is white */ + text-decoration: none; + border-radius: 4px; + font-weight: bold; + transition: background-color 0.2s ease; + font-size: 0.9em; + vertical-align: middle; +} + +.login-button:hover { + background-color: #003c8f; /* Darker shade for hover */ + text-decoration: none; +} + +.git-code-button { + display: inline-block; + background: #30363d; + color: white !important; + padding: 0.6rem 1.2rem; + border-radius: 20px; + text-decoration: none; + font-size: 0.95rem; + font-weight: bold; + margin-left: 1rem; + transition: all 0.3s ease; + box-shadow: 0 2px 5px rgba(0,0,0,0.2); +} + +.git-code-button:hover { + background: #444d56; + transform: translateY(-2px); + box-shadow: 0 4px 8px rgba(0,0,0,0.3); + text-decoration: none; +} + +.git-code-button .material-icons { + font-size: 1rem; + vertical-align: middle; + margin-right: 4px; +} + +/* Styles for the new home page design */ +:root { + --bnk-dark-bg: #1e2127; /* Existing */ + --bnk-yellow: #ffd700; /* Existing */ + --bnk-text: rgba(255, 255, 255, 0.95); /* Existing */ + --bnk-accent: #9f70ff; /* Existing */ + --bnk-yellow-transparent: rgba(255, 215, 0, 0.2); +} + +.hero-section { + text-align: center; + padding: 3rem 1rem; + margin-bottom: 2rem; +} + +.hero-section h1 { + color: var(--bnk-yellow); + font-size: 2.8rem; + margin-bottom: 0.75rem; + font-weight: 700; +} + +.hero-section .subtitle { + font-size: 1.4rem; + color: var(--bnk-text); + margin-bottom: 2.5rem; + max-width: 700px; + margin-left: auto; + margin-right: auto; + line-height: 1.5; +} + +.hero-section .cta-button { + display: inline-block; + background: var(--bnk-accent); + color: white !important; + padding: 0.8rem 1.8rem; + border-radius: 5px; + text-decoration: none; + font-size: 1.1rem; + font-weight: bold; + transition: background 0.3s ease, transform 0.2s ease; +} + +.hero-section .cta-button:hover { + background: #8656e5; + transform: translateY(-2px); + text-decoration: none; +} + +.quick-start-section { + background: rgba(40, 44, 52, 0.5); /* Similar to info-section */ + border: 1px solid rgba(var(--md-code-fg-color--rgb), 0.12); /* Consistent border */ + border-radius: 8px; /* Rounded corners */ + padding: 2rem; + margin: 2.5rem auto; + max-width: 850px; /* Consistent max-width */ + text-align: left; /* Align text to the left */ +} + +.quick-start-section h2 { + color: var(--bnk-yellow); /* Consistent heading color */ + margin-top: 0; + margin-bottom: 1.5rem; + font-size: 1.8rem; /* Consistent heading size */ + border-bottom: 2px solid var(--bnk-accent); /* Accent border */ + padding-bottom: 0.5rem; +} + +.quick-start-section p { + line-height: 1.7; + font-size: 1.05rem; + color: var(--bnk-text); /* Consistent text color */ + margin-bottom: 1rem; +} + +.quick-start-section .code-container { + background: rgba(0, 0, 0, 0.6); /* Darker background for code */ + border-radius: 8px; + padding: 1rem; + margin: 1.5rem 0; + font-family: 'Fira Code', monospace; /* Monospace font for code */ + color: #e0e0e0; /* Light text color for code */ + border: 1px solid rgba(var(--md-code-fg-color--rgb), 0.1); +} + +.quick-start-section .code-container pre { + margin: 0; + white-space: pre-wrap; + word-break: break-all; + background: transparent !important; /* Ensure pre background is transparent */ + padding: 0; /* Remove padding from pre if container handles it */ +} + +.quick-start-section .code-container code { + font-family: 'Fira Code', monospace; /* Ensure code tag also uses monospace */ + color: #e0e0e0; /* Consistent code text color */ + background: transparent !important; /* Ensure code background is transparent */ + font-size: 0.95rem; /* Slightly smaller font for code block */ +} + +.quick-start-section .quick-note { + font-size: 0.9rem; + color: rgba(255, 255, 255, 0.7); /* Subtler text color for the note */ + margin-top: 1rem; + margin-bottom: 1.5rem; +} + +.quick-start-section .button { + display: inline-block; + background: var(--bnk-accent); + color: white !important; + padding: 0.7rem 1.4rem; + border-radius: 5px; + text-decoration: none; + font-weight: bold; + transition: background 0.3s ease; +} + +.quick-start-section .button:hover { + background: #8656e5; + text-decoration: none; +} + +.info-section { + background: rgba(40, 44, 52, 0.5); + border: 1px solid rgba(var(--md-code-fg-color--rgb), 0.12); + border-radius: 8px; + padding: 2rem; + margin: 2.5rem auto; + max-width: 850px; +} + +.info-section h2 { + color: var(--bnk-yellow); + margin-top: 0; + margin-bottom: 1.5rem; + font-size: 1.8rem; + border-bottom: 2px solid var(--bnk-accent); + padding-bottom: 0.5rem; +} + +.info-section p, .info-section ul { + line-height: 1.7; + font-size: 1.05rem; + color: var(--bnk-text); /* Or var(--md-default-fg-color) for theme consistency */ +} + +.info-section ul { + padding-left: 20px; +} +.info-section ul li { + margin-bottom: 0.5rem; +} + +.info-section .code-block { + background: rgba(0, 0, 0, 0.6); + border-radius: 8px; + padding: 1rem; + margin: 1.5rem 0; + font-family: 'Fira Code', monospace; /* Or var(--md-code-font-family) */ + color: #e0e0e0; /* Or var(--md-code-fg-color) */ + border: 1px solid rgba(var(--md-code-fg-color--rgb), 0.1); +} +.info-section .code-block pre { + margin: 0; + white-space: pre-wrap; + word-break: break-all; +} + +.apps-grid-container { + max-width: 1200px; + margin: 2.5rem auto; + padding: 0 1rem; +} + +.apps-grid-container h2 { + color: var(--bnk-yellow); + font-size: 2rem; + text-align: center; + margin-bottom: 1rem; +} + +.apps-grid { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); + gap: 2rem; +} + +.app-card { + background: var(--md-typeset-table-color); + border: 1px solid rgba(var(--md-code-fg-color--rgb), 0.12); + border-radius: 8px; + padding: 1.75rem; + display: flex; + flex-direction: column; + justify-content: space-between; + transition: transform 0.3s ease, box-shadow 0.3s ease; + box-shadow: 0 2px 5px rgba(0,0,0,0.1); +} + +.app-card:hover { + transform: translateY(-6px); + box-shadow: 0 12px 24px rgba(0,0,0,0.15), 0 0 15px var(--bnk-yellow-transparent); +} + +.app-card h3 { + color: var(--bnk-yellow); + margin-top: 0; + margin-bottom: 1rem; + font-size: 1.4rem; + display: flex; + align-items: center; +} +.app-card h3 .material-icons { + margin-right: 0.75rem; + color: var(--bnk-accent); +} + +.app-card p { + font-size: 1rem; + color: var(--md-default-fg-color); + flex-grow: 1; + margin-bottom: 1.25rem; + line-height: 1.6; +} + +.app-card .button { + display: inline-block; + background: var(--bnk-accent); + color: white !important; + padding: 0.7rem 1.4rem; + border-radius: 5px; + text-decoration: none; + font-weight: bold; + margin-top: 1rem; + transition: background 0.3s ease; + align-self: flex-start; +} + +.app-card .button:hover { + background: #8656e5; + text-decoration: none; +} + +@media (max-width: 768px) { + .hero-section h1 { + font-size: 2.2rem; + } + .hero-section .subtitle { + font-size: 1.2rem; + } + .info-section h2 { + font-size: 1.5rem; + } + .apps-grid-container h2 { + font-size: 1.7rem; + } + .apps-grid { + grid-template-columns: 1fr; + } + .app-card h3 { + font-size: 1.25rem; + } + .app-card p { + font-size: 0.95rem; + } +} diff --git a/mkdocs/mkdocs.yml b/mkdocs/mkdocs.yml new file mode 100755 index 0000000..9611e9f --- /dev/null +++ b/mkdocs/mkdocs.yml @@ -0,0 +1,77 @@ +site_name: Changemaker Documentation +site_description: Demo site for Changemaker +site_url: http://betteredmonton.org +site_author: Bunker Ops +docs_dir: docs +site_dir: site + +theme: + name: material + custom_dir: docs/overrides + palette: + scheme: slate + primary: deep purple + accent: amber + features: + - navigation.tracking + - navigation.indexes + - navigation.collapse + - navigation.path + - content.code.copy + - navigation.top + - navigation.tabs # Added for top-level navigation tabs + +extra_css: + - stylesheets/extra.css + - https://fonts.googleapis.com/icon?family=Material+Icons + +markdown_extensions: + - pymdownx.highlight: + anchor_linenums: true + - pymdownx.superfences + - admonition + - pymdownx.details + - attr_list + - md_in_html + - pymdownx.emoji # Simplified emoji config + - footnotes + - toc: + permalink: true + # The specific slugify line was removed to avoid previous tool error, + # you may need to add back your preferred slugify option: + # slugify: !!python/name:pymdownx.slugs.uslugify + +copyright: Copyright © 2024 The Bunker Operations - Built with Change Maker + +plugins: + - social + - search + - blog + # - tags # Consider adding if you use tags for your blog or docs + +nav: + - Home: index.md + - Get Started: readme.md + - Applications: + - Overview: apps/index.md + - Homepage Dashboard: apps/homepage.md + - Code Server: apps/code-server.md + - Flatnotes: apps/flatnotes.md + - Listmonk: apps/listmonk.md + - NocoDB: apps/nocodb.md + - MkDocs Material: apps/mkdocs-material.md + - Excalidraw: apps/excalidraw.md + - Gitea: apps/gitea.md + - OpenWebUI: apps/openwebui.md + - Monica CRM: apps/monica-crm.md + - Answer: apps/answer.md + - Ferdium: apps/ferdium.md + - Rocket.Chat: apps/rocketchat.md + - Portainer (Docker UI): apps/portainer.md + - n8n (Workflow Automation): apps/n8n.md + - Guides: + - Overview: guides/index.md + - Authoring Content: guides/authoring-content.md + - Using Ollama in VS Code: guides/ollama-vscode.md + - Quick Commands: quick-commands.md + diff --git a/mkdocs/site/404.html b/mkdocs/site/404.html new file mode 100644 index 0000000..f782721 --- /dev/null +++ b/mkdocs/site/404.html @@ -0,0 +1,1017 @@ + + + + + + + + + + + + + + + + + + + + + + + Changemaker Documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+ + + +
+ + + + +
+ + +
+ +
+ + + + + + + + + +
+
+ + + +
+
+
+ + + + + + + +
+
+
+ + + +
+
+
+ + + +
+
+
+ + + +
+
+ +

404 - Not found

+ +
+
+ + + +
+ + + +
+ +
+ + +
+ +
+
+
+
+ + + + + + + + + + + + \ No newline at end of file diff --git a/mkdocs/site/apps/answer/index.html b/mkdocs/site/apps/answer/index.html new file mode 100644 index 0000000..9e0f20e --- /dev/null +++ b/mkdocs/site/apps/answer/index.html @@ -0,0 +1,1357 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Answer - Changemaker Documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + +
+ + +
+ +
+ + + + + + + + + +
+
+ + + +
+
+
+ + + + + + + +
+
+
+ + + +
+ +
+ + + +
+
+ + + + + +

Answer: Q&A Knowledge Base Platform

+

Answer is a self-hosted, open-source Q&A platform designed to help teams and communities build a shared knowledge base. Users can ask questions, provide answers, and vote on the best solutions, creating an organized and searchable repository of information.

+

Key Features

+
    +
  • Question & Answer Format: Familiar Stack Overflow-like interface.
  • +
  • Voting System: Users can upvote or downvote questions and answers to highlight the best content.
  • +
  • Tagging: Organize questions with tags for easy filtering and discovery.
  • +
  • Search Functionality: Powerful search to find existing answers quickly.
  • +
  • User Reputation: (Often a feature in Q&A platforms) Users can earn reputation for helpful contributions.
  • +
  • Markdown Support: Write questions and answers using Markdown.
  • +
  • Self-Hosted: Full control over your data and platform.
  • +
+

Documentation

+

For more detailed information about Answer, visit the official documentation.

+

Getting Started with Answer

+

Accessing Answer

+
    +
  1. URL: Access Answer locally via http://localhost:9080/ (or your configured external URL).
  2. +
  3. Account Creation/Login: You will likely need to create an account or log in to participate (ask questions, answer, vote). The first user might be an admin.
  4. +
+

Basic Usage

+
    +
  1. +

    Asking a Question:

    +
      +
    • Look for a button like "Ask Question."
    • +
    • Write a clear and concise title for your question.
    • +
    • Provide detailed context and information in the body of the question using Markdown.
    • +
    • Add relevant tags to help categorize your question.
    • +
    +
  2. +
  3. +

    Answering a Question:

    +
      +
    • Browse or search for questions you can help with.
    • +
    • Write your answer in the provided text area, using Markdown for formatting.
    • +
    • Submit your answer.
    • +
    +
  4. +
  5. +

    Voting and Commenting:

    +
      +
    • Upvote helpful questions and answers to increase their visibility.
    • +
    • Downvote incorrect or unhelpful content.
    • +
    • Leave comments to ask for clarification or provide additional information without writing a full answer.
    • +
    +
  6. +
  7. +

    Searching for Information: Use the search bar to find if your question has already been asked and answered.

    +
  8. +
  9. +

    Managing Content (Admins/Moderators):

    +
      +
    • Admins can typically manage users, tags, and content (e.g., edit or delete inappropriate posts).
    • +
    +
  10. +
+

Use Cases within Changemaker

+
    +
  • Internal Team Support: Create a knowledge base for your team to ask and answer questions about processes, tools, or projects.
  • +
  • Public FAQs: Set up a public-facing Q&A site for your campaign or organization where supporters can find answers to common questions.
  • +
  • Community Forum: Foster a community where users can help each other and share knowledge related to your cause or Changemaker itself.
  • +
  • Documentation Supplement: Use it alongside your main MkDocs site to handle dynamic questions that arise from users.
  • +
+

Editing the Site

+

Answer is a platform for building a Q&A knowledge base. It is not used for editing this main documentation site (the one you are reading). Site editing is done via Code Server.

+

Further Information

+ + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + +
+ +
+ + +
+ +
+
+
+
+ + + + + + + + + + + + \ No newline at end of file diff --git a/mkdocs/site/apps/code-server/index.html b/mkdocs/site/apps/code-server/index.html new file mode 100644 index 0000000..ecde8bf --- /dev/null +++ b/mkdocs/site/apps/code-server/index.html @@ -0,0 +1,1329 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Code Server - Changemaker Documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + +
+ + +
+ +
+ + + + + + + + + +
+
+ + + +
+
+
+ + + + + + + +
+
+
+ + + + + + + +
+
+ + + + + +

Code Server: VS Code in Your Browser

+

Code Server brings the powerful and familiar Visual Studio Code experience directly to your web browser. This allows you to develop, edit code, and manage your projects from any device with internet access, without needing to install VS Code locally.

+

It's an essential tool within Changemaker for making quick edits to your website content, managing configuration files, or even full-fledged development tasks on the go.

+

Key Features

+
    +
  • Full VS Code Experience: Access almost all features of desktop VS Code, including the editor, terminal, debugger (for supported languages), extensions, themes, and settings.
  • +
  • Remote Access: Code from anywhere, on any device (laptops, tablets, etc.).
  • +
  • Workspace Management: Open and manage your project folders just like in desktop VS Code.
  • +
  • Extension Marketplace: Install and use your favorite VS Code extensions.
  • +
  • Integrated Terminal: Access a terminal directly within the browser interface.
  • +
  • Git Integration: Manage your version control seamlessly.
  • +
+

Documentation

+

For more detailed information about Code Server, visit the official repository.

+

Getting Started with Code Server

+

Accessing Code Server

+
    +
  1. URL: You can access Code Server locally via http://localhost:8888/ (or your configured external URL if set up).
  2. +
  3. Login: You will be prompted for a password. This password can be found in the configuration file located at configs/code-server/.config/code-server/config.yaml within your main Changemaker project directory (e.g., /home/bunker-admin/Changemaker/configs/code-server/.config/code-server/config.yaml). You might need to access this file directly on your server or through another method for the initial password retrieval.
  4. +
+

Basic Usage: Editing Your Documentation Site

+

A common use case within Changemaker is editing your MkDocs documentation site.

+
    +
  1. +

    Open Your Workspace:

    +
      +
    • Once logged into Code Server, use the "File" menu or the Explorer sidebar to "Open Folder...".
    • +
    • Navigate to and select the root directory of your Changemaker project (e.g., /home/bunker-admin/Changemaker/ or the path where your Changemaker files are located if different, typically where the docker-compose.yml for Changemaker is).
    • +
    +
  2. +
  3. +

    Navigate to Documentation Files:

    +
      +
    • In the Explorer sidebar, expand the mkdocs folder, then the docs folder.
    • +
    • Here you'll find all your Markdown (.md) files (like index.md, readme.md, files within apps/, etc.), your site configuration (mkdocs.yml), and custom assets (like stylesheets/extra.css or files in overrides/).
    • +
    +
  4. +
  5. +

    Edit a File:

    +
      +
    • Click on a Markdown file (e.g., index.md or any page you want to change like apps/code-server.md itself!).
    • +
    • The file will open in the editor. Make your changes using standard Markdown syntax. You'll benefit from live preview capabilities if you have the appropriate VS Code extensions installed (e.g., Markdown Preview Enhanced).
    • +
    +
  6. +
  7. +

    Save Changes:

    +
      +
    • Press Ctrl+S (or Cmd+S on Mac) to save your changes.
    • +
    • If your MkDocs development server is running with live reload (e.g., via mkdocs serve executed in a terminal, perhaps within Code Server itself or on your host machine), your documentation site should update automatically in your browser. Otherwise, you may need to rebuild/redeploy your MkDocs site.
    • +
    +
  8. +
+

Using the Integrated Terminal

+

The integrated terminal is extremely useful for various tasks without leaving Code Server: +* Running Git commands (git pull, git add ., git commit -m "docs: update content", git push). +* Managing your MkDocs site (mkdocs serve to start a live-preview server, mkdocs build to generate static files). +* Any other shell commands needed for your project.

+

To open the terminal: Go to "Terminal" > "New Terminal" in the Code Server menu, or use the shortcut (often Ctrl+\ or Ctrl+~).

+

Further Information

+

For more detailed information on Code Server's features, advanced configurations, and troubleshooting, please refer to the official Code Server Documentation.

+ + + + + + + + + + + + + + + + +
+
+ + + +
+ + + +
+ +
+ + +
+ +
+
+
+
+ + + + + + + + + + + + \ No newline at end of file diff --git a/mkdocs/site/apps/excalidraw/index.html b/mkdocs/site/apps/excalidraw/index.html new file mode 100644 index 0000000..4755746 --- /dev/null +++ b/mkdocs/site/apps/excalidraw/index.html @@ -0,0 +1,1361 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Excalidraw - Changemaker Documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + +
+ + +
+ +
+ + + + + + + + + +
+
+ + + +
+
+
+ + + + + + + +
+
+
+ + + + + + + +
+
+ + + + + +

Excalidraw: Collaborative Virtual Whiteboard

+

Excalidraw is a virtual collaborative whiteboard tool that lets you easily sketch diagrams with a hand-drawn feel. It's excellent for brainstorming, creating flowcharts, planning project workflows, or mapping out campaign strategies.

+

Key Features

+
    +
  • Hand-drawn Feel: Creates diagrams that look informal and approachable.
  • +
  • Real-time Collaboration: Multiple users can work on the same drawing simultaneously.
  • +
  • Simple Interface: Easy to learn and use, with essential drawing tools.
  • +
  • Export Options: Save your drawings as PNG, SVG, or .excalidraw files (for later editing).
  • +
  • Library Support: Create and use libraries of reusable components.
  • +
  • Self-Hosted: As part of Changemaker, your Excalidraw instance is self-hosted, keeping your data private.
  • +
+

Documentation

+

For more detailed information about Excalidraw, visit the official repository.

+

Getting Started with Excalidraw

+

Accessing Excalidraw

+
    +
  1. URL: Access Excalidraw locally via http://localhost:3333/ (or your configured external URL).
  2. +
  3. No Login Required (Typically): Excalidraw itself usually doesn't require a login to start drawing or collaborating if someone shares a link with you.
  4. +
+

Basic Usage

+
    +
  1. +

    Start Drawing:

    +
      +
    • The interface presents a canvas and a toolbar with drawing tools (select, rectangle, diamond, ellipse, arrow, line, free-draw, text).
    • +
    • Select a tool and click/drag on the canvas to create shapes or text.
    • +
    +
  2. +
  3. +

    Styling Elements:

    +
      +
    • Select an element on the canvas.
    • +
    • Use the context menu that appears to change properties like color, fill style, stroke width, font size, alignment, etc.
    • +
    +
  4. +
  5. +

    Connecting Shapes: Use arrows or lines to connect shapes to create flowcharts or diagrams.

    +
  6. +
  7. +

    Collaboration (If needed):

    +
      +
    • Click on the "Live collaboration" button (often a users icon).
    • +
    • Start a session. You'll get a unique link to share with others.
    • +
    • Anyone with the link can join the session and draw in real-time.
    • +
    +
  8. +
  9. +

    Saving Your Work:

    +
      +
    • Export: Click the menu icon (usually top-left) and choose "Export image". You can select format (PNG, SVG), background options, etc.
    • +
    • Save to .excalidraw file: To save your drawing with all its properties for future editing in Excalidraw, choose "Save to file". This will download an .excalidraw JSON file.
    • +
    +
  10. +
  11. +

    Loading a Drawing:

    +
      +
    • Click the menu icon and choose "Open" to load a previously saved .excalidraw file.
    • +
    +
  12. +
+

Use Cases within Changemaker

+
    +
  • Brainstorming ideas for campaigns or projects.
  • +
  • Creating sitemaps or user flow diagrams for your website.
  • +
  • Designing simple graphics or illustrations for your documentation or blog posts.
  • +
  • Collaboratively planning workflows with team members.
  • +
+

Editing the Site

+

Editing of the main Changemaker documentation site (the one you are reading now) is done via Code Server, not Excalidraw. Excalidraw is a tool for creating visual content that you might then include in your documentation (e.g., by exporting an image and adding it to a Markdown file).

+

Further Information

+
    +
  • Excalidraw Official Site: Excalidraw.com (for general info and the public version)
  • +
  • Excalidraw GitHub Repository: Excalidraw on GitHub (for documentation, source code, and community discussions).
  • +
+ + + + + + + + + + + + + + + + +
+
+ + + +
+ + + +
+ +
+ + +
+ +
+
+
+
+ + + + + + + + + + + + \ No newline at end of file diff --git a/mkdocs/site/apps/ferdium/index.html b/mkdocs/site/apps/ferdium/index.html new file mode 100644 index 0000000..011545b --- /dev/null +++ b/mkdocs/site/apps/ferdium/index.html @@ -0,0 +1,1353 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Ferdium - Changemaker Documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + +
+ + +
+ +
+ + + + + + + + + +
+
+ + + +
+
+
+ + + + + + + +
+
+
+ + + + + + + +
+
+ + + + + +

Ferdium: All-in-One Messaging Application

+

Ferdium is a desktop application that allows you to combine all your messaging services into one place. It's a fork of Franz and Ferdi, designed to help you manage multiple chat and communication platforms without needing to switch between numerous browser tabs or apps.

+

Note: Ferdium is typically a desktop application you install on your computer, not a web service you access via a browser within the Changemaker suite in the same way as other listed web apps. However, if it's been containerized and made accessible via a web interface in your specific Changemaker setup (e.g., via Kasm or a similar VNC/RDP in Docker setup), the access method would be specific to that.

+

Assuming it's accessible via a web URL in your Changemaker instance:

+

Key Features (General Ferdium Features)

+
    +
  • Service Integration: Supports a vast number of services (Slack, WhatsApp, Telegram, Discord, Gmail, Messenger, Twitter, and many more).
  • +
  • Unified Interface: Manage all your communication from a single window.
  • +
  • Workspaces: Organize services into different workspaces (e.g., personal, work).
  • +
  • Customization: Themes, notifications, and service-specific settings.
  • +
  • Cross-Platform: Available for Windows, macOS, and Linux (as a desktop app).
  • +
  • Open Source: Community-driven development.
  • +
+

Documentation

+

For more detailed information about Ferdium, visit the official repository.

+

Getting Started with Ferdium (Web Access within Changemaker)

+

Accessing Ferdium (If Web-Accessible)

+
    +
  1. URL: Access Ferdium locally via http://localhost:3002/ (or your configured external URL). This URL implies it's running as a web-accessible service in your Docker setup.
  2. +
  3. Setup/Login:
      +
    • You might be presented with a desktop-like interface within your browser.
    • +
    • The first step would be to add services (e.g., connect your Slack, WhatsApp accounts).
    • +
    +
  4. +
+

Basic Usage (General Ferdium Workflow)

+
    +
  1. +

    Add Services:

    +
      +
    • Look for an option to "Add a new service" or a similar button.
    • +
    • Browse the list of available services and select the ones you use.
    • +
    • You will need to log in to each service individually within Ferdium (e.g., enter your Slack credentials, scan a WhatsApp QR code).
    • +
    +
  2. +
  3. +

    Organize Services:

    +
      +
    • Services will typically appear in a sidebar.
    • +
    • You can reorder them or group them into workspaces if the feature is prominent in the web version.
    • +
    +
  4. +
  5. +

    Using Services:

    +
      +
    • Click on a service in the sidebar to open its interface within Ferdium.
    • +
    • Interact with it as you normally would (send messages, check notifications).
    • +
    +
  6. +
  7. +

    Manage Notifications: Configure how you want to receive notifications for each service to avoid being overwhelmed.

    +
  8. +
+

Use Cases within Changemaker

+
    +
  • Centralized Communication: For community managers or team members who need to monitor and respond across multiple platforms (Discord, Telegram, Slack, email, etc.) without constantly switching browser tabs or apps.
  • +
  • Improved Focus: Reduces distractions by having all communication in one place.
  • +
+

Editing the Site

+

Ferdium is a messaging application. It is not used for editing this documentation site. Site editing is done via Code Server.

+

Further Information

+ +

Important Consideration for Changemaker: If Ferdium is indeed running as a web-accessible service at http://localhost:3002/, its setup and usage might be slightly different from the standard desktop application. The documentation specific to the Docker image or method used to deploy it within Changemaker would be most relevant.

+ + + + + + + + + + + + + + + + +
+
+ + + +
+ + + +
+ +
+ + +
+ +
+
+
+
+ + + + + + + + + + + + \ No newline at end of file diff --git a/mkdocs/site/apps/flatnotes/index.html b/mkdocs/site/apps/flatnotes/index.html new file mode 100644 index 0000000..fbffde1 --- /dev/null +++ b/mkdocs/site/apps/flatnotes/index.html @@ -0,0 +1,1353 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Flatnotes - Changemaker Documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + +
+ + +
+ +
+ + + + + + + + + +
+
+ + + +
+
+
+ + + + + + + +
+
+
+ + + + + + + +
+
+ + + + + +

Flatnotes: Simple Markdown Note-Taking

+

Flatnotes is a straightforward, self-hosted, markdown-based note-taking application. It's designed for simplicity and efficiency, allowing you to quickly capture ideas, draft content, and organize your notes. A key feature in the Changemaker context is its potential to directly feed into your blog or documentation.

+

Key Features

+
    +
  • Markdown First: Write notes using the familiar and versatile Markdown syntax.
  • +
  • Live Preview: (Often a feature) See how your Markdown will render as you type.
  • +
  • Tagging/Organization: Organize notes with tags or a folder-like structure.
  • +
  • Search: Quickly find the information you need within your notes.
  • +
  • Automatic Saving: Reduces the risk of losing work.
  • +
  • Simple Interface: Distraction-free writing environment.
  • +
  • Self-Hosted: Your notes remain private on your server.
  • +
  • Potential Blog Integration: Notes can be easily copied or potentially directly published to your MkDocs site or other blog platforms that use Markdown.
  • +
+

Documentation

+

For more detailed information about Flatnotes, visit the official repository.

+

Getting Started with Flatnotes

+

Accessing Flatnotes

+
    +
  1. URL: Access Flatnotes locally via http://localhost:8089/ (or your configured external URL).
  2. +
  3. Login: Flatnotes will have its own authentication. You should have set up credentials during the Changemaker installation or the first time you accessed Flatnotes.
  4. +
+

Basic Usage

+
    +
  1. +

    Creating a New Note:

    +
      +
    • Look for a "New Note" button or similar interface element.
    • +
    • Give your note a title.
    • +
    • Start typing your content in Markdown in the main editor pane.
    • +
    +
  2. +
  3. +

    Writing in Markdown:

    +
      +
    • Use standard Markdown syntax for headings, lists, bold/italic text, links, images, code blocks, etc.
    • +
    • Example: +
      # My Awesome Idea
      +
      +This is a *brilliant* idea that I need to remember.
      +
      +## Steps
      +1. Draft initial thoughts.
      +2. Research more.
      +3. Write a blog post.
      +
      +[Link to relevant site](https://example.com)
      +
    • +
    +
  4. +
  5. +

    Saving Notes:

    +
      +
    • Flatnotes typically saves your notes automatically as you type or when you switch to another note.
    • +
    +
  6. +
  7. +

    Organizing Notes:

    +
      +
    • Explore options for tagging your notes or organizing them into categories/folders if the interface supports it. This helps in managing a large number of notes.
    • +
    +
  8. +
  9. +

    Searching Notes:

    +
      +
    • Use the search bar to find notes based on keywords in their title or content.
    • +
    +
  10. +
+

Using Flatnotes for Blog/Documentation Content

+

Flatnotes is excellent for drafting content that will eventually become part of your MkDocs site:

+
    +
  1. Draft Your Article/Page: Write the full content in Flatnotes, focusing on the text and structure.
  2. +
  3. Copy Markdown: Once you're satisfied, select all the text in your note and copy it.
  4. +
  5. Create/Edit MkDocs File:
      +
    • Go to Code Server.
    • +
    • Navigate to your mkdocs/docs/ directory (or a subdirectory like blog/posts/).
    • +
    • Create a new .md file or open an existing one.
    • +
    • Paste the Markdown content you copied from Flatnotes.
    • +
    +
  6. +
  7. Save and Preview: Save the file in Code Server. If mkdocs serve is running, your site will update, and you can preview the new content.
  8. +
+

Further Information

+

For more specific details on Flatnotes features, customization, or troubleshooting, refer to the official Flatnotes Documentation (as it's a GitHub-hosted project, the README and repository wiki are the primary sources of documentation).

+ + + + + + + + + + + + + + + + +
+
+ + + +
+ + + +
+ +
+ + +
+ +
+
+
+
+ + + + + + + + + + + + \ No newline at end of file diff --git a/mkdocs/site/apps/gitea/index.html b/mkdocs/site/apps/gitea/index.html new file mode 100644 index 0000000..53f3bef --- /dev/null +++ b/mkdocs/site/apps/gitea/index.html @@ -0,0 +1,1367 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Gitea - Changemaker Documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + +
+ + +
+ +
+ + + + + + + + + +
+
+ + + +
+
+
+ + + + + + + +
+
+
+ + + +
+ +
+ + + +
+
+ + + + + +

Gitea: Self-Hosted Git Service

+

Gitea is a lightweight, self-hosted Git service. It provides a web interface for managing your Git repositories, similar to GitHub or GitLab, but running on your own server. This gives you full control over your code, documents, and version history.

+

Key Features

+
    +
  • Repository Management: Create, manage, and browse Git repositories.
  • +
  • Version Control: Track changes to code, documentation, and other files.
  • +
  • Collaboration: Supports pull requests, issues, and wikis for team collaboration.
  • +
  • User Management: Manage users and organizations with permission controls.
  • +
  • Lightweight: Designed to be efficient and run on modest hardware.
  • +
  • Self-Hosted: Full control over your data and infrastructure.
  • +
  • Web Interface: User-friendly interface for common Git operations.
  • +
+

Documentation

+

For more detailed information about Gitea, visit the official documentation.

+

Getting Started with Gitea

+

Accessing Gitea

+
    +
  1. URL: Access Gitea locally via http://localhost:3030/ (or your configured external URL).
  2. +
  3. Login/Registration:
      +
    • The first time you access Gitea, you might need to go through an initial setup process or register an administrator account.
    • +
    • For subsequent access, log in with your Gitea credentials.
    • +
    +
  4. +
+

Basic Usage

+
    +
  1. +

    Create a Repository:

    +
      +
    • Once logged in, look for a "New Repository" button (often a "+" icon in the header).
    • +
    • Give your repository a name, description, and choose visibility (public or private).
    • +
    • You can initialize it with a README, .gitignore, and license if desired.
    • +
    +
  2. +
  3. +

    Cloning a Repository:

    +
      +
    • On the repository page, find the clone URL (HTTPS or SSH).
    • +
    • Use this URL with the git clone command in your local terminal or within Code Server's terminal: +
      git clone http://localhost:3030/YourUsername/YourRepository.git
      +
    • +
    +
  4. +
  5. +

    Making Changes and Pushing:

    +
      +
    • Make changes to files in your cloned repository locally.
    • +
    • Use standard Git commands to commit and push your changes: +
      git add .
      +git commit -m "Your commit message"
      +git push origin main # Or your default branch name
      +
    • +
    +
  6. +
  7. +

    Using the Web Interface:

    +
      +
    • Browse Files: View files and commit history directly in Gitea.
    • +
    • Issues: Track bugs, feature requests, or tasks.
    • +
    • Pull Requests: If collaborating, use pull requests to review and merge changes.
    • +
    • Settings: Manage repository settings, collaborators, webhooks, etc.
    • +
    +
  8. +
+

Use Cases within Changemaker

+
    +
  • Version Control for Documentation: Store and manage the Markdown files for your MkDocs site in a Gitea repository. This allows you to track changes, revert to previous versions, and collaborate on content.
  • +
  • Code Management: If you are developing any custom code or scripts for your Changemaker instance or related projects.
  • +
  • Configuration File Management: Keep track of important configuration files with version history.
  • +
  • Collaborative Content Development: Teams can work on documents, with changes reviewed via pull requests before merging.
  • +
+

Editing the Site

+

While Gitea hosts the source files (e.g., Markdown files for this documentation), the actual editing process for this MkDocs site is typically done using Code Server. You would: +1. Clone your documentation repository from Gitea to your local workspace (or open it directly if it's already part of your Changemaker file structure accessible by Code Server). +2. Edit the Markdown files using Code Server. +3. Commit and push your changes back to Gitea using Git commands in the Code Server terminal.

+

Further Information

+ + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + +
+ +
+ + +
+ +
+
+
+
+ + + + + + + + + + + + \ No newline at end of file diff --git a/mkdocs/site/apps/homepage/index.html b/mkdocs/site/apps/homepage/index.html new file mode 100644 index 0000000..83734af --- /dev/null +++ b/mkdocs/site/apps/homepage/index.html @@ -0,0 +1,1296 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Homepage Dashboard - Changemaker Documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + +
+ + +
+ +
+ + + + + + + + + +
+
+ + + +
+
+
+ + + + + + + +
+
+
+ + + +
+
+
+ + + +
+
+
+ + + +
+
+ + + + + +

Homepage Dashboard: Your Central Hub

+

Homepage is your personal, customizable application dashboard. Within Changemaker V5, it acts as the central command center, providing a unified interface to access all integrated services, monitor their status, and keep bookmarks for frequently used internal and external pages.

+

Key Features

+
    +
  • Unified Access: Quickly launch any Changemaker application (Code Server, Flatnotes, Listmonk, NocoDB, etc.) from one place.
  • +
  • Service Status Monitoring: (If configured) See at a glance if your services are online and operational.
  • +
  • Customizable Layout: Organize your dashboard with groups, links, and widgets to fit your workflow.
  • +
  • Bookmarks: Keep important links (both internal Changemaker services and external websites) readily accessible.
  • +
  • Themeable: Customize the look and feel to your preference.
  • +
  • Lightweight & Fast: Loads quickly and efficiently.
  • +
+

Getting Started with Homepage

+

Accessing Homepage

+
    +
  1. URL: You can typically access Homepage locally via http://localhost:3010/ (or your configured external URL if set up).
  2. +
  3. No Login Required (Usually): By default, Homepage itself doesn't require a login, but the services it links to (like Code Server or Listmonk) will have their own authentication.
  4. +
+

Basic Usage

+
    +
  1. +

    Exploring the Dashboard:

    +
      +
    • The main view will show configured service groups and individual service links.
    • +
    • Clicking on a service link (e.g., "Code Server") will open that application in a new tab or the current window, depending on its configuration.
    • +
    +
  2. +
  3. +

    Understanding the Default Configuration:

    +
      +
    • Changemaker V5 comes with a pre-configured settings.yaml, services.yaml, and potentially bookmarks.yaml for Homepage, located in the configs/homepage/ directory within your Changemaker project structure.
    • +
    • These files define what you see on your dashboard.
    • +
    +
  4. +
  5. +

    Customizing Your Dashboard (Advanced):

    +
      +
    • To customize Homepage, you'll typically edit its YAML configuration files. This can be done using Code Server.
    • +
    • Navigate to Configuration: In Code Server, open your Changemaker project folder, then navigate to configs/homepage/.
    • +
    • Edit services.yaml: To add, remove, or modify the services displayed. + Example: Adding a new service +
      # In services.yaml
      +- My Services:
      +  - My New App:
      +      href: http://localhost:XXXX # URL of your new app
      +      description: Description of my new app
      +      icon: fas fa-rocket # Font Awesome icon
      +
    • +
    • Edit bookmarks.yaml: To add your own bookmarks, organized into groups. + Example: Adding a bookmark group +
      # In bookmarks.yaml
      +- Development:
      +  - GitHub:
      +      href: https://github.com/
      +      icon: fab fa-github
      +
    • +
    • Edit settings.yaml: For general settings like page title, background, etc.
    • +
    • Edit widgets.yaml: To add dynamic information like weather, search bars, etc.
    • +
    • Apply Changes: After saving changes to these YAML files, you usually need to restart the Homepage Docker container for them to take effect, or Homepage might pick them up automatically depending on its setup.
    • +
    +
  6. +
+

Further Information

+

For more detailed information on configuring Homepage, available widgets, and advanced customization options, please refer to the official Homepage Documentation.

+ + + + + + + + + + + + + + + + +
+
+ + + +
+ + + +
+ +
+ + +
+ +
+
+
+
+ + + + + + + + + + + + \ No newline at end of file diff --git a/mkdocs/site/apps/index.html b/mkdocs/site/apps/index.html new file mode 100644 index 0000000..800f8aa --- /dev/null +++ b/mkdocs/site/apps/index.html @@ -0,0 +1,1490 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Overview - Changemaker Documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + +
+ + +
+ +
+ + + + + + + + + +
+
+ + + +
+
+
+ + + + + + + +
+
+
+ + + +
+
+
+ + + +
+
+
+ + + +
+
+ + + + + +

Changemaker V5 - Apps & Services Documentation

+

This document provides an overview of all the applications and services included in the Changemaker V5 productivity suite, along with links to their documentation.

+

Dashboard

+

Homepage

+
    +
  • Description: Main dashboard for Changemaker V5
  • +
  • Documentation: Homepage Docs
  • +
  • Local Access: http://localhost:3010/
  • +
  • Details: Homepage serves as your central command center, providing a unified dashboard to access all Changemaker services from one place. It features customizable layouts, service status monitoring, and bookmarks to frequently used pages, eliminating the need to remember numerous URLs.
  • +
+

Essential Tools

+

Code Server

+
    +
  • Description: Visual Studio Code in the browser
  • +
  • Documentation: Code Server Docs
  • +
  • Local Access: http://localhost:8888/
  • +
  • Details: Code Server brings the power of VS Code to your browser, allowing you to develop and edit code from any device without local installation. This makes it perfect for quick edits to website content, fixing formatting issues, or developing from tablets or borrowed computers. The familiar VS Code interface includes extensions, syntax highlighting, and Git integration.
  • +
+

Flatnotes

+
    +
  • Description: Simple note-taking app - connected directly to blog
  • +
  • Documentation: Flatnotes Docs
  • +
  • Local Access: http://localhost:8089/
  • +
  • Details: Flatnotes offers distraction-free, markdown-based note-taking with automatic saving and powerful search. Perfect for capturing ideas that can be directly published to your blog without reformatting. Use it for drafting newsletters, documenting processes, or maintaining a knowledge base that's both private and publishable.
  • +
+

Listmonk

+
    +
  • Description: Self-hosted newsletter and mailing list manager
  • +
  • Documentation: Listmonk Docs
  • +
  • Local Access: http://localhost:9000/
  • +
  • Details: Listmonk provides complete control over your email campaigns without subscription fees or content restrictions. Create segmented lists, design professional newsletters, track engagement metrics, and manage opt-ins/unsubscribes—all while keeping your audience data private. Perfect for consistent communication with supporters without the censorship risks or costs of commercial platforms.
  • +
+

NocoDB

+
    +
  • Description: Open Source Airtable Alternative
  • +
  • Documentation: NocoDB Docs
  • +
  • Local Access: http://localhost:8090/
  • +
  • Details: NocoDB transforms any database into a smart spreadsheet with advanced features like forms, views, and automations. Use it to create volunteer signup systems, event management databases, or campaign tracking tools without subscription costs. Its familiar spreadsheet interface makes it accessible to non-technical users while providing the power of a relational database.
  • +
+

Content Creation

+

MkDocs - Material Theme

+
    +
  • Description: Static site generator and documentation builder
  • +
  • Documentation: MkDocs Docs
  • +
  • Local Access: http://localhost:4000/
  • +
  • Details: MkDocs with Material theme transforms simple markdown files into beautiful, professional documentation sites. Ideal for creating campaign websites, project documentation, or public-facing content that loads quickly and ranks well in search engines. The Material theme adds responsive design, dark mode, and advanced navigation features.
  • +
+

Excalidraw

+
    +
  • Description: Virtual collaborative whiteboard for sketching and drawing
  • +
  • Documentation: Excalidraw Docs
  • +
  • Local Access: http://localhost:3333/
  • +
  • Details: Excalidraw provides a virtual whiteboard for creating diagrams, flowcharts, or sketches with a hand-drawn feel. It's excellent for visual brainstorming, planning project workflows, or mapping out campaign strategies. Multiple people can collaborate in real-time, making it ideal for remote team planning sessions.
  • +
+

Gitea

+
    +
  • Description: Lightweight self-hosted Git service
  • +
  • Documentation: Gitea Docs
  • +
  • Local Access: http://localhost:3030/
  • +
  • Details: Gitea provides a complete code and document version control system similar to GitHub but fully under your control. Use it to track changes to campaign materials, collaborate on content development, manage website code, or maintain configuration files with full revision history. Multiple contributors can work together without overwriting each other's changes.
  • +
+

OpenWebUI

+
    +
  • Description: Web interface for Ollama
  • +
  • Documentation: OpenWebUI Docs
  • +
  • Local Access: http://localhost:3005/
  • +
  • Details: OpenWebUI provides a user-friendly chat interface for interacting with your Ollama AI models. This makes AI accessible to non-technical team members for tasks like drafting responses, generating creative content, or researching topics. The familiar chat format allows anyone to leverage AI assistance without needing to understand the underlying technology.
  • +
+

Community & Data

+

Monica CRM

+
    +
  • Description: Personal relationship management system
  • +
  • Documentation: Monica Docs
  • +
  • Local Access: http://localhost:8085/
  • +
  • Details: Monica CRM helps you maintain meaningful relationships by tracking interactions, important dates, and personal details about contacts. It's perfect for community organizers to remember conversation contexts, follow up appropriately, and nurture connections with supporters. Unlike corporate CRMs, Monica focuses on the human aspects of relationships rather than just sales metrics.
  • +
+

Answer

+
    +
  • Description: Q&A platform for teams
  • +
  • Documentation: Answer Docs
  • +
  • Local Access: http://localhost:9080/
  • +
  • Details: Answer creates a knowledge-sharing community where team members or supporters can ask questions, provide solutions, and vote on the best responses. It builds an organized, searchable knowledge base that grows over time. Use it for internal team support, public FAQs, or gathering community input on initiatives while keeping valuable information accessible rather than buried in email threads.
  • +
+

Ferdium

+
    +
  • Description: All-in-one messaging application
  • +
  • Documentation: Ferdium Docs
  • +
  • Local Access: http://localhost:3002/
  • +
  • Details: Ferdium consolidates all your communication platforms (Slack, Discord, WhatsApp, Telegram, etc.) into a single interface. This allows you to monitor and respond across channels without constantly switching applications. Perfect for community managers who need to maintain presence across multiple platforms without missing messages or getting overwhelmed.
  • +
+

Rocket.Chat

+
    +
  • Description: Team collaboration platform with chat, channels, and video conferencing
  • +
  • Documentation: Rocket.Chat Docs
  • +
  • Local Access: http://localhost:3004/
  • +
  • Details: Rocket.Chat provides a complete communication platform for your team or community. Features include real-time chat, channels, direct messaging, file sharing, video calls, and integrations with other services. It's perfect for creating private discussion spaces, coordinating campaigns, or building community engagement. Unlike commercial platforms, you maintain full data sovereignty and control over user privacy.
  • +
+

Development

+

Ollama

+
    +
  • Description: Local AI model server for running large language models
  • +
  • Documentation: Ollama Docs
  • +
  • Local Access: http://localhost:11435/
  • +
  • Details: Ollama runs powerful AI language models locally on your server, providing AI capabilities without sending sensitive data to third-party services. Use it for content generation, research assistance, or data analysis with complete privacy. Models run on your hardware, giving you full control over what AI can access and ensuring your information stays confidential.
  • +
+

Portainer

+
    +
  • Description: Docker container management UI
  • +
  • Documentation: Portainer Docs
  • +
  • Local Access: https://localhost:9443/
  • +
  • Details: Portainer simplifies Docker management with a visual interface for controlling containers, images, networks, and volumes. Instead of complex command-line operations, you can start/stop services, view logs, and manage resources through an intuitive UI, making system maintenance accessible to non-technical users.
  • +
+

Mini-QR

+
    +
  • Description: QR Code Generator
  • +
  • Documentation: Mini-QR Docs
  • +
  • Local Access: http://localhost:8081/
  • +
  • Details: Mini-QR enables you to quickly generate customizable QR codes for any URL, text, or contact information. Perfect for campaign materials, business cards, or event signage. Create codes that link to your digital materials without relying on third-party services that may track usage or expire.
  • +
+

ConvertX

+
    +
  • Description: Self-hosted file conversion tool
  • +
  • Documentation: ConvertX GitHub
  • +
  • Local Access: http://localhost:3100/
  • +
  • Details: ConvertX provides a simple web interface for converting files between different formats. It supports a wide range of file types including documents, images, audio, and video. This enables you to maintain full control over your file conversions without relying on potentially insecure third-party services. Perfect for converting documents for campaigns, optimizing images for web use, or preparing media files for different platforms.
  • +
+

n8n

+
    +
  • Description: Workflow automation platform
  • +
  • Documentation: n8n Docs
  • +
  • Local Access: http://localhost:5678/
  • +
  • Details: n8n automates repetitive tasks by connecting your applications and services with visual workflows. You can create automations like sending welcome emails to new supporters, posting social media updates across platforms, or synchronizing contacts between databases—all without coding. This saves hours of manual work and ensures consistent follow-through on processes.
  • +
+

Remote Access

+

When configured with Cloudflare Tunnels, you can access these services remotely at:

+
    +
  • Homepage: https://homepage.yourdomain.com
  • +
  • Excalidraw: https://excalidraw.yourdomain.com
  • +
  • Listmonk: https://listmonk.yourdomain.com
  • +
  • Monica CRM: https://monica.yourdomain.com
  • +
  • MkDocs: https://yourdomain.com
  • +
  • Flatnotes: https://flatnotes.yourdomain.com
  • +
  • Code Server: https://code-server.yourdomain.com
  • +
  • Ollama: https://ollama.yourdomain.com
  • +
  • OpenWebUI: https://open-web-ui.yourdomain.com
  • +
  • Gitea: https://gitea.yourdomain.com
  • +
  • Portainer: https://portainer.yourdomain.com
  • +
  • Mini QR: https://mini-qr.yourdomain.com
  • +
  • Ferdium: https://ferdium.yourdomain.com
  • +
  • Answer: https://answer.yourdomain.com
  • +
  • NocoDB: https://nocodb.yourdomain.com
  • +
  • n8n: https://n8n.yourdomain.com
  • +
  • ConvertX: https://convertx.yourdomain.com
  • +
  • Rocket.Chat: https://rocket.yourdomain.com
  • +
+ + + + + + + + + + + + + + + + +
+
+ + + +
+ + + +
+ +
+ + +
+ +
+
+
+
+ + + + + + + + + + + + \ No newline at end of file diff --git a/mkdocs/site/apps/listmonk/index.html b/mkdocs/site/apps/listmonk/index.html new file mode 100644 index 0000000..722deaf --- /dev/null +++ b/mkdocs/site/apps/listmonk/index.html @@ -0,0 +1,1334 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Listmonk - Changemaker Documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + +
+ + +
+ +
+ + + + + + + + + +
+
+ + + +
+
+
+ + + + + + + +
+
+
+ + + +
+
+
+ + + +
+
+
+ + + +
+
+ + + + + +

Listmonk: Self-Hosted Newsletter & Mailing List Manager

+

Listmonk is a powerful, self-hosted newsletter and mailing list manager. It gives you complete control over your email campaigns, subscriber data, and messaging without relying on third-party services that might have restrictive terms, high costs, or data privacy concerns. It's ideal for building and engaging with your community.

+

Key Features

+
    +
  • Subscriber Management: Import, organize, and segment your subscriber lists.
  • +
  • Campaign Creation: Design and send email campaigns using rich text or plain Markdown.
  • +
  • Templating: Create reusable email templates for consistent branding.
  • +
  • Analytics: Track campaign performance with metrics like open rates, click-through rates, etc.
  • +
  • Double Opt-In: Ensure compliance and list quality with double opt-in mechanisms.
  • +
  • Self-Hosted: Full ownership of your data and infrastructure.
  • +
  • API Access: Integrate Listmonk with other systems programmatically.
  • +
  • Multi-lingual: Supports multiple languages.
  • +
+

Documentation

+

For more detailed information about Listmonk, visit the official documentation.

+

Getting Started with Listmonk

+

Accessing Listmonk

+
    +
  1. URL: Access Listmonk locally via http://localhost:9000/ (or your configured external URL).
  2. +
  3. Login: You will need to log in with the administrator credentials you configured during the Changemaker setup or the first time you accessed Listmonk.
  4. +
+

Basic Workflow

+
    +
  1. +

    Configure Mail Settings (Important First Step):

    +
      +
    • After logging in for the first time, navigate to Settings > SMTP.
    • +
    • You MUST configure an SMTP server for Listmonk to be able to send emails. This could be a transactional email service (like SendGrid, Mailgun, Amazon SES - some offer free tiers) or your own mail server.
    • +
    • Enter the SMTP host, port, username, and password for your chosen email provider.
    • +
    • Send a test email from Listmonk to verify the settings.
    • +
    +
  2. +
  3. +

    Create a Mailing List:

    +
      +
    • Go to Lists and click "New List".
    • +
    • Give your list a name (e.g., "Monthly Newsletter Subscribers"), a description, and choose its type (public or private).
    • +
    • Set opt-in preferences (single or double opt-in).
    • +
    +
  4. +
  5. +

    Import Subscribers:

    +
      +
    • Go to Subscribers.
    • +
    • You can add subscribers manually or import them from a CSV file.
    • +
    • Ensure you have consent from your subscribers before adding them.
    • +
    • Map CSV columns to Listmonk fields (email, name, etc.).
    • +
    +
  6. +
  7. +

    Create an Email Template (Optional but Recommended):

    +
      +
    • Go to Templates and click "New Template".
    • +
    • Design a reusable HTML or Markdown template for your emails to maintain consistent branding.
    • +
    • Use template variables (e.g., {{ .Subscriber.Email }}, {{ .Subscriber.Name }}) to personalize emails.
    • +
    +
  8. +
  9. +

    Create and Send a Campaign:

    +
      +
    • Go to Campaigns and click "New Campaign".
    • +
    • Name: Give your campaign a descriptive name.
    • +
    • Subject: Write a compelling email subject line.
    • +
    • Lists: Select the mailing list(s) to send the campaign to.
    • +
    • Content: Write your email content. You can choose:
        +
      • Rich Text Editor: A WYSIWYG editor.
      • +
      • Plain Text + Markdown: Write in Markdown for simplicity and version control friendliness.
      • +
      • Use a Template: Select one of your pre-designed templates and fill in the content areas.
      • +
      +
    • +
    • Send Test Email: Always send a test email to yourself or a small group to check formatting and links before sending to your entire list.
    • +
    • Schedule or Send: You can schedule the campaign to be sent at a later time or send it immediately.
    • +
    +
  10. +
  11. +

    Analyze Campaign Performance:

    +
      +
    • After a campaign is sent, go to Campaigns, click on the campaign name, and view its statistics (sent, opened, clicked, etc.).
    • +
    +
  12. +
+

Further Information

+

For comprehensive details on all Listmonk features, advanced configurations (like bounce handling, API usage), and troubleshooting, please consult the official Listmonk Documentation.

+ + + + + + + + + + + + + + + + +
+
+ + + +
+ + + +
+ +
+ + +
+ +
+
+
+
+ + + + + + + + + + + + \ No newline at end of file diff --git a/mkdocs/site/apps/mkdocs-material/index.html b/mkdocs/site/apps/mkdocs-material/index.html new file mode 100644 index 0000000..15711ca --- /dev/null +++ b/mkdocs/site/apps/mkdocs-material/index.html @@ -0,0 +1,1314 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + MkDocs Material - Changemaker Documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + +
+ + +
+ +
+ + + + + + + + + +
+
+ + + +
+
+
+ + + + + + + +
+
+
+ + + + + + + +
+
+ + + + + +

MkDocs with Material Theme: Your Documentation Powerhouse

+

Changemaker V5 utilizes MkDocs with the Material theme to build this very documentation site. MkDocs is a fast, simple, and downright gorgeous static site generator that's geared towards building project documentation with Markdown.

+

Key Features of MkDocs & Material Theme

+
    +
  • Simple Markdown Syntax: Write documentation in plain Markdown files.
  • +
  • Fast and Lightweight: Generates static HTML files that load quickly.
  • +
  • Material Design: A clean, modern, and responsive design out-of-the-box.
  • +
  • Highly Customizable: Extensive configuration options for themes, navigation, plugins, and more.
  • +
  • Search Functionality: Built-in search makes it easy for users to find information.
  • +
  • Plugin Ecosystem: Extend MkDocs with various plugins (e.g., for blog functionality, social cards, diagrams).
  • +
  • Live Reload Server: mkdocs serve provides a development server that automatically reloads when you save changes.
  • +
+

Documentation

+

For more detailed information about MkDocs, visit the official documentation.

+

Editing This Site (Your Changemaker Documentation)

+

All content for this documentation site is managed as Markdown files within the mkdocs/docs/ directory of your Changemaker project.

+

How to Edit or Add Content:

+
    +
  1. Access Code Server: As outlined on the homepage and in the Code Server documentation, log into Code Server. Your password is in configs/code-server/.config/code-server/config.yaml.
  2. +
  3. Navigate to the docs Directory:
      +
    • In Code Server's file explorer, open your Changemaker project folder (e.g., /home/bunker-admin/Changemaker/).
    • +
    • Go into the mkdocs/docs/ subdirectory.
    • +
    +
  4. +
  5. Find or Create Your Page:
      +
    • To edit an existing page: Navigate to the relevant .md file (e.g., apps/code-server.md to edit the Code Server page, or index.md for the homepage content if not using home.html override directly).
    • +
    • To create a new page: Create a new .md file in the appropriate location (e.g., apps/my-new-app.md).
    • +
    +
  6. +
  7. Write in Markdown: Use standard Markdown syntax. Refer to the guides/authoring-content.md for tips on Markdown and MkDocs Material specific features.
  8. +
  9. Update Navigation (if adding a new page):
      +
    • Open mkdocs/mkdocs.yml.
    • +
    • Add your new page to the nav: section to make it appear in the site navigation. For example: +
      nav:
      +  - Home: index.md
      +  - ...
      +  - Applications:
      +    - ...
      +    - My New App: apps/my-new-app.md # Add your new page here
      +  - ...
      +
    • +
    +
  10. +
  11. Save Your Changes: Press Ctrl+S (or Cmd+S on Mac) in Code Server.
  12. +
  13. Preview Changes:
      +
    • The MkDocs development server (if you've run mkdocs serve in a terminal within your mkdocs directory) will automatically rebuild the site and your browser should refresh to show the changes.
    • +
    • The typical URL for the local development server is http://localhost:8000 or http://127.0.0.1:8000.
    • +
    +
  14. +
+

Site Configuration

+

The main configuration for the documentation site is in mkdocs/mkdocs.yml. Here you can change: +* site_name, site_description, site_author +* Theme features and palette +* Markdown extensions +* Navigation structure (nav) +* Plugins

+

Further Information

+ + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + +
+ +
+ + +
+ +
+
+
+
+ + + + + + + + + + + + \ No newline at end of file diff --git a/mkdocs/site/apps/monica-crm/index.html b/mkdocs/site/apps/monica-crm/index.html new file mode 100644 index 0000000..8df8abb --- /dev/null +++ b/mkdocs/site/apps/monica-crm/index.html @@ -0,0 +1,1347 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Monica CRM - Changemaker Documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + +
+ + +
+ +
+ + + + + + + + + +
+
+ + + +
+
+
+ + + + + + + +
+
+
+ + + + + + + +
+
+ + + + + +

Monica CRM: Personal Relationship Management

+

Monica CRM is a self-hosted, open-source personal relationship management system. It helps you organize and record interactions with your friends, family, and professional contacts, focusing on the human aspects of your relationships rather than just sales metrics like traditional CRMs.

+

Key Features

+
    +
  • Contact Management: Store detailed information about your contacts (important dates, how you met, family members, etc.).
  • +
  • Interaction Logging: Record activities, conversations, and reminders related to your contacts.
  • +
  • Reminders: Set reminders for birthdays, anniversaries, or to get back in touch.
  • +
  • Journaling: Keep a personal journal that can be linked to contacts or events.
  • +
  • Data Ownership: Self-hosted, so you control your data.
  • +
  • Focus on Personal Connections: Designed to strengthen personal relationships.
  • +
+

Documentation

+

For more detailed information about Monica CRM, visit the official documentation.

+

Getting Started with Monica CRM

+

Accessing Monica CRM

+
    +
  1. URL: Access Monica CRM locally via http://localhost:8085/ (or your configured external URL).
  2. +
  3. Account Creation/Login: The first time you access Monica, you will need to create an account (email, password). Subsequent visits will require you to log in.
  4. +
+

Basic Usage

+
    +
  1. +

    Adding Contacts:

    +
      +
    • Look for an "Add Contact" or similar button.
    • +
    • Fill in as much information as you know: name, relationship to you, important dates (birthdays), how you met, contact information, etc.
    • +
    • You can add notes, family members, and even how they pronounce their name.
    • +
    +
  2. +
  3. +

    Logging Activities/Interactions:

    +
      +
    • On a contact's page, find options to "Log an activity," "Schedule a reminder," or "Add a note."
    • +
    • Record details about conversations, meetings, or significant events.
    • +
    • Set reminders to follow up or for important dates.
    • +
    +
  4. +
  5. +

    Using the Dashboard: The dashboard usually provides an overview of upcoming reminders, recent activities, and statistics about your relationships.

    +
  6. +
  7. +

    Journaling: Explore the journaling feature to write personal entries, which can sometimes be linked to specific contacts or events.

    +
  8. +
  9. +

    Managing Relationships: Regularly update contact information and log interactions to keep your relationship history current.

    +
  10. +
+

Use Cases within Changemaker

+
    +
  • Community Organizers: Keep track of interactions with supporters, volunteers, and community members.
  • +
  • Networking: Manage professional contacts and remember important details about them.
  • +
  • Personal Use: Strengthen relationships with friends and family by remembering important dates and conversations.
  • +
  • Campaign Management: Track interactions with key stakeholders or donors (though for larger scale campaign CRM, a dedicated tool might be more suitable, Monica excels at the personal touch).
  • +
+

Editing the Site

+

Monica CRM is a tool for managing personal relationships. It is not used for editing this documentation site. Site editing is done via Code Server.

+

Further Information

+ + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + +
+ +
+ + +
+ +
+
+
+
+ + + + + + + + + + + + \ No newline at end of file diff --git a/mkdocs/site/apps/n8n/index.html b/mkdocs/site/apps/n8n/index.html new file mode 100644 index 0000000..eea683a --- /dev/null +++ b/mkdocs/site/apps/n8n/index.html @@ -0,0 +1,1353 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + n8n (Workflow Automation) - Changemaker Documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + +
+ + +
+ +
+ + + + + + + + + +
+
+ + + +
+
+
+ + + + + + + +
+
+
+ + + + + + + +
+
+ + + + + +

n8n: Automate Your Workflows

+

n8n is a powerful workflow automation platform that allows you to connect different services and systems together without needing complex programming skills. Within Changemaker V5, it enables you to create automated processes that save time and ensure consistency across your operations.

+

Key Features

+
    +
  • Visual Workflow Builder: Create automation flows using an intuitive drag-and-drop interface.
  • +
  • Pre-built Integrations: Connect to hundreds of services including email, social media, databases, and more.
  • +
  • Custom Functionality: Create your own nodes for custom integrations when needed.
  • +
  • Scheduling: Run workflows on schedules or trigger them based on events.
  • +
  • Error Handling: Configure what happens when steps fail, with options to retry or alert.
  • +
  • Self-hosted: Keep your automation data and credentials completely under your control.
  • +
  • Credential Management: Securely store and reuse authentication details for various services.
  • +
+

Documentation

+

For more detailed information about n8n, visit the official documentation.

+

Getting Started with n8n

+

Accessing n8n

+
    +
  1. URL: You can access n8n locally via http://localhost:5678/ (or your configured external URL if set up).
  2. +
  3. Authentication: The first time you access n8n, you'll need to set up an account with admin credentials.
  4. +
+

Basic Usage

+
    +
  1. Creating Your First Workflow:
  2. +
  3. Click the "+" button in the top right to create a new workflow.
  4. +
  5. Add a trigger node (e.g., "Schedule" for time-based triggers or "Webhook" for event-based triggers).
  6. +
  7. Connect additional nodes for the actions you want to perform.
  8. +
  9. +

    Save your workflow and activate it using the toggle at the top of the editor.

    +
  10. +
  11. +

    Example Workflow: Automatic Welcome Emails

    +
  12. +
  13. Start with a "Webhook" node that triggers when a new contact is added to your system.
  14. +
  15. Connect to an "Email" node configured to send your welcome message.
  16. +
  17. +

    Optionally, add a "Slack" or "Rocket.Chat" node to notify your team about the new contact.

    +
  18. +
  19. +

    Common Use Cases:

    +
  20. +
  21. Content Publishing: Automatically post blog updates to social media channels.
  22. +
  23. Data Synchronization: Keep contacts in sync between different systems.
  24. +
  25. Event Management: Send reminders before events and follow-ups afterward.
  26. +
  27. Monitoring: Get notifications when important metrics change or thresholds are reached.
  28. +
  29. Form Processing: Automatically handle form submissions with confirmation emails and data storage.
  30. +
+

Integration with Other Changemaker Services

+

n8n works particularly well with other services in your Changemaker environment:

+
    +
  • NocoDB: Connect to your databases to automate record creation, updates, or data processing.
  • +
  • Listmonk: Trigger email campaigns based on events or schedules.
  • +
  • Gitea: Automate responses to code changes or issue creation.
  • +
  • Monica CRM: Update contact records automatically when interactions occur.
  • +
  • Rocket.Chat: Send automated notifications to team channels.
  • +
+

Advanced Features

+
    +
  • Error Handling: Configure error workflows and retries for increased reliability.
  • +
  • Splitting and Merging: Process multiple items in parallel and then combine results.
  • +
  • Expressions: Use JavaScript expressions for dynamic data manipulation.
  • +
  • Webhooks: Create endpoints that can receive data from external services.
  • +
  • Function Nodes: Write custom JavaScript code for complex data transformations.
  • +
  • Cron Jobs: Schedule workflows to run at specific intervals.
  • +
+

Further Information

+

For more detailed information on creating complex workflows, available integrations, and best practices, please refer to the official n8n Documentation.

+ + + + + + + + + + + + + + + + +
+
+ + + +
+ + + +
+ +
+ + +
+ +
+
+
+
+ + + + + + + + + + + + \ No newline at end of file diff --git a/mkdocs/site/apps/nocodb/index.html b/mkdocs/site/apps/nocodb/index.html new file mode 100644 index 0000000..8db588c --- /dev/null +++ b/mkdocs/site/apps/nocodb/index.html @@ -0,0 +1,1363 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + NocoDB - Changemaker Documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + +
+ + +
+ +
+ + + + + + + + + +
+
+ + + +
+
+
+ + + + + + + +
+
+
+ + + +
+
+ +
+
+ + + +
+
+ + + + + +

NocoDB: Open Source Airtable Alternative

+

NocoDB is a powerful open-source alternative to services like Airtable. It allows you to turn various types of SQL databases (like MySQL, PostgreSQL, SQL Server, SQLite) into a smart spreadsheet interface. This makes data management, collaboration, and even building simple applications much more accessible without extensive coding.

+

Key Features

+
    +
  • Spreadsheet Interface: View and manage your database tables like a spreadsheet.
  • +
  • Multiple View Types: Beyond grids, create Kanban boards, forms, galleries, and calendar views from your data.
  • +
  • Connect to Existing Databases: Bring your existing SQL databases into NocoDB or create new ones from scratch.
  • +
  • API Access: NocoDB automatically generates REST APIs for your tables, enabling integration with other applications and services.
  • +
  • Collaboration: Share bases and tables with team members with granular permission controls.
  • +
  • App Store / Integrations: Extend functionality with built-in or third-party apps and integrations.
  • +
  • Self-Hosted: Maintain full control over your data and infrastructure.
  • +
  • No-Code/Low-Code: Build simple applications and workflows with minimal to no coding.
  • +
+

Documentation

+

For more detailed information about NocoDB, visit the official documentation.

+

Getting Started with NocoDB

+

Accessing NocoDB

+
    +
  1. URL: Access NocoDB locally via http://localhost:8090/ (or your configured external URL).
  2. +
  3. Initial Setup / Login:
      +
    • The first time you access NocoDB, you might be guided through a setup process to create an initial super admin user.
    • +
    • For subsequent access, you'll log in with these credentials.
    • +
    +
  4. +
+

Basic Workflow

+
    +
  1. +

    Understanding the Interface:

    +
      +
    • Workspace/Projects (or Bases): NocoDB organizes data into projects or bases, similar to Airtable bases. Each project can contain multiple tables.
    • +
    • Tables: These are your database tables, displayed in a spreadsheet-like grid by default.
    • +
    • Views: For each table, you can create multiple views (Grid, Form, Kanban, Gallery, Calendar) to visualize and interact with the data in different ways.
    • +
    +
  2. +
  3. +

    Creating a New Project/Base:

    +
      +
    • Look for an option like "New Project" or "Create Base".
    • +
    • You might be asked to connect to an existing database or create a new one (often SQLite by default for ease of use if not connecting to an external DB).
    • +
    +
  4. +
  5. +

    Creating a Table:

    +
      +
    • Within a project, create new tables.
    • +
    • Define columns (fields) for your table, specifying the data type for each (e.g., Text, Number, Date, Email, Select, Attachment, Formula, Link to Another Record).
    • +
    +
  6. +
  7. +

    Adding and Editing Data:

    +
      +
    • Click into cells in the grid view to add or edit data, just like a spreadsheet.
    • +
    • Use forms (if you create a form view) for more structured data entry.
    • +
    +
  8. +
  9. +

    Creating Different Views:

    +
      +
    • For any table, click on the view switcher (often near the table name) and select "Create View".
    • +
    • Choose the view type (e.g., Kanban).
    • +
    • Configure the view (e.g., for Kanban, select the single-select field that will define the columns/stacks).
    • +
    +
  10. +
  11. +

    Linking Tables (Relational Data):

    +
      +
    • Use the "Link to Another Record" field type to create relationships between tables (e.g., link a Tasks table to a Projects table).
    • +
    • This allows you to look up and display related data across tables.
    • +
    +
  12. +
  13. +

    Using Formulas:

    +
      +
    • Create formula fields to compute values based on other fields in the same table, similar to spreadsheet formulas.
    • +
    +
  14. +
  15. +

    Exploring APIs:

    +
      +
    • NocoDB automatically provides REST API endpoints for your tables. Look for an "API Docs" or similar section to explore these APIs, which can be used to integrate NocoDB data with other applications (e.g., your website, automation scripts).
    • +
    +
  16. +
+

Use Cases within Changemaker

+
    +
  • Content Management: Manage structured content for your website or blog (e.g., a list of events, resources, testimonials).
  • +
  • Contact Management/CRM: Keep track of contacts, leads, or supporters.
  • +
  • Project Management: Track tasks, projects, and deadlines.
  • +
  • Inventory Management: If applicable to your campaign or project.
  • +
  • Data Collection: Use NocoDB forms to collect information.
  • +
+

Further Information

+

NocoDB is a feature-rich platform. For detailed guides, tutorials, API documentation, and advanced usage, refer to the official NocoDB Documentation.

+ + + + + + + + + + + + + + + + +
+
+ + + +
+ + + +
+ +
+ + +
+ +
+
+
+
+ + + + + + + + + + + + \ No newline at end of file diff --git a/mkdocs/site/apps/ollama/index.html b/mkdocs/site/apps/ollama/index.html new file mode 100644 index 0000000..a46d21b --- /dev/null +++ b/mkdocs/site/apps/ollama/index.html @@ -0,0 +1,1227 @@ + + + + + + + + + + + + + + + + + + + + + + + + + Ollama: Local AI Model Server - Changemaker Documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + +
+ + +
+ +
+ + + + + + + + + +
+
+ + + +
+
+
+ + + + + + + +
+
+
+ + + + + + + +
+
+ + + + + +

Ollama: Local AI Model Server

+

Ollama is a tool that allows you to run large language models (LLMs) locally on your own server or computer. It simplifies the process of downloading, setting up, and interacting with powerful open-source AI models, providing AI capabilities without relying on third-party cloud services and ensuring data privacy.

+

Key Features

+
    +
  • Run LLMs Locally: Host and run various open-source large language models (like Llama, Gemma, Mistral, etc.) on your own hardware.
  • +
  • Simple CLI: Easy-to-use command-line interface for downloading models (ollama pull), running them (ollama run), and managing them (ollama list).
  • +
  • API Server: Ollama serves models through a local API, allowing other applications (like OpenWebUI) to interact with them.
  • +
  • Data Privacy: Since models run locally, your data doesn't leave your server when you interact with them.
  • +
  • Growing Model Library: Access a growing library of popular open-source models.
  • +
  • Customization: Create custom model files (Modelfiles) to tailor model behavior.
  • +
+

Documentation

+

For more detailed information about Ollama, visit the official repository.

+

Getting Started with Ollama (within Changemaker)

+

Ollama itself is primarily a command-line tool and an API server. You typically interact with it via a terminal or through a UI like OpenWebUI.

+

Managing Ollama via Terminal (e.g., in Code Server)

+
    +
  1. +

    Access a Terminal:

    +
      +
    • Open the integrated terminal in Code Server.
    • +
    • Alternatively, SSH directly into your Changemaker server.
    • +
    +
  2. +
  3. +

    Common Ollama Commands:

    +
      +
    • +

      List Downloaded Models: See which models you currently have. +

      docker exec -it ollama-changemaker ollama list
      +
      + (The docker exec -it ollama-changemaker part is necessary if Ollama is running in a Docker container named ollama-changemaker, which is common. If Ollama is installed directly on the host, you'd just run ollama list.)

      +
    • +
    • +

      Pull (Download) a New Model: Download a model from the Ollama library. Replace gemma:2b with the desired model name and tag. +

      docker exec -it ollama-changemaker ollama pull gemma:2b 
      +
      + (Example: ollama pull llama3, ollama pull mistral)

      +
    • +
    • +

      Run a Model (Interactive Chat in Terminal): Chat directly with a model in the terminal. +

      docker exec -it ollama-changemaker ollama run gemma:2b
      +
      + (Press Ctrl+D or type /bye to exit the chat.)

      +
    • +
    • +

      Remove a Model: Delete a downloaded model to free up space. +

      docker exec -it ollama-changemaker ollama rm gemma:2b
      +

      +
    • +
    +
  4. +
+

Interacting with Ollama via OpenWebUI

+

For a more user-friendly chat experience, use OpenWebUI, which connects to your Ollama service. See the apps/openwebui.md documentation for details.

+

Use Cases within Changemaker

+
    +
  • Powering OpenWebUI: Ollama is the backend engine that OpenWebUI uses to provide its chat interface.
  • +
  • AI-Assisted Content Creation: Generate text, summaries, ideas, or code snippets with privacy.
  • +
  • Custom AI Applications: Developers can build custom applications that leverage the Ollama API for various AI tasks.
  • +
  • Offline AI Capabilities: Use AI models even without an active internet connection (once models are downloaded).
  • +
+

Editing the Site

+

Ollama is an AI model server. It is not used for editing this documentation site. Site editing is done via Code Server.

+

Further Information

+ + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + +
+ +
+ + +
+ +
+
+
+
+ + + + + + + + + + + + \ No newline at end of file diff --git a/mkdocs/site/apps/openwebui/index.html b/mkdocs/site/apps/openwebui/index.html new file mode 100644 index 0000000..32d358f --- /dev/null +++ b/mkdocs/site/apps/openwebui/index.html @@ -0,0 +1,1358 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + OpenWebUI - Changemaker Documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + +
+ + +
+ +
+ + + + + + + + + +
+
+ + + +
+
+
+ + + + + + + +
+
+
+ + + + + + + +
+
+ + + + + +

OpenWebUI: Chat Interface for Ollama

+

OpenWebUI provides a user-friendly, web-based chat interface for interacting with local AI models run by Ollama. It makes leveraging the power of large language models (LLMs) accessible to users who may not be comfortable with command-line interfaces, offering a familiar chat experience.

+

Key Features

+
    +
  • Chat Interface: Intuitive, ChatGPT-like interface for interacting with Ollama models.
  • +
  • Model Selection: Easily switch between different AI models you have downloaded via Ollama.
  • +
  • Conversation History: Keeps track of your chats.
  • +
  • Responsive Design: Usable on various devices.
  • +
  • Self-Hosted: Runs locally as part of your Changemaker suite, ensuring data privacy.
  • +
  • Markdown Support: Renders model responses that include Markdown for better formatting.
  • +
+

Documentation

+

For more detailed information about OpenWebUI, visit the official documentation.

+

Getting Started with OpenWebUI

+

Prerequisites

+
    +
  • Ollama Must Be Running: OpenWebUI is an interface for Ollama. Ensure your Ollama service is running and you have downloaded some models (e.g., ollama pull llama3).
  • +
+

Accessing OpenWebUI

+
    +
  1. URL: Access OpenWebUI locally via http://localhost:3005/ (or your configured external URL).
  2. +
  3. Account Creation (First Time): The first time you access OpenWebUI, you'll likely need to sign up or create an admin account for the interface itself.
  4. +
+

Basic Usage

+
    +
  1. Log In: Sign in with your OpenWebUI credentials.
  2. +
  3. Select a Model:
      +
    • There should be an option (often a dropdown menu) to select which Ollama model you want to chat with. This list will populate based on the models you have pulled using the Ollama service.
    • +
    • If you don't see any models, you may need to go to a terminal (e.g., in Code Server or directly on your server) and run ollama list to see available models or ollama pull <modelname> (e.g., ollama pull gemma:2b) to download a new one.
    • +
    +
  4. +
  5. Start Chatting:
      +
    • Type your prompt or question into the message box at the bottom of the screen and press Enter or click the send button.
    • +
    • The selected Ollama model will process your input and generate a response, which will appear in the chat window.
    • +
    +
  6. +
  7. Manage Conversations: You can typically start new chats or revisit previous conversations from a sidebar.
  8. +
+

Use Cases within Changemaker

+
    +
  • Content Generation: Draft blog posts, newsletter content, social media updates, or documentation.
  • +
  • Brainstorming: Generate ideas for campaigns, projects, or problem-solving.
  • +
  • Research Assistance: Ask questions and get summaries on various topics (ensure you verify information from LLMs).
  • +
  • Drafting Responses: Help formulate replies to emails or messages.
  • +
  • Learning & Exploration: Experiment with different AI models and their capabilities.
  • +
+

Editing the Site

+

OpenWebUI is a tool for interacting with AI models. It is not used for editing this documentation site. Site editing is done via Code Server.

+

Further Information

+ + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + +
+ +
+ + +
+ +
+
+
+
+ + + + + + + + + + + + \ No newline at end of file diff --git a/mkdocs/site/apps/portainer/index.html b/mkdocs/site/apps/portainer/index.html new file mode 100644 index 0000000..ce69a0a --- /dev/null +++ b/mkdocs/site/apps/portainer/index.html @@ -0,0 +1,1369 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Portainer (Docker UI) - Changemaker Documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + +
+ + +
+ +
+ + + + + + + + + +
+
+ + + +
+
+
+ + + + + + + +
+
+
+ + + + + + + +
+
+ + + + + +

Portainer: Docker Container Management UI

+

Portainer is a lightweight management UI that allows you to easily manage your Docker environments (or other container orchestrators like Kubernetes). Changemaker V5 runs its applications as Docker containers, and Portainer provides a visual interface to see, manage, and troubleshoot these containers.

+

Key Features

+
    +
  • Container Management: View, start, stop, restart, remove, and inspect Docker containers.
  • +
  • Image Management: Pull, remove, and inspect Docker images.
  • +
  • Volume Management: Manage Docker volumes used for persistent storage.
  • +
  • Network Management: Manage Docker networks.
  • +
  • Stacks/Compose: Deploy and manage multi-container applications defined in Docker Compose files (stacks).
  • +
  • Logs & Stats: View container logs and resource usage statistics (CPU, memory).
  • +
  • User-Friendly Interface: Simplifies Docker management for users who may not be comfortable with the command line.
  • +
  • Multi-Environment Support: Can manage multiple Docker hosts or Kubernetes clusters (though in Changemaker, it's typically managing the local Docker environment).
  • +
+

Documentation

+

For more detailed information about Portainer, visit the official documentation.

+

Getting Started with Portainer

+

Accessing Portainer

+
    +
  1. URL: Access Portainer locally via http://localhost:9002/ (or your configured external URL).
  2. +
  3. Initial Setup/Login:
      +
    • The first time you access Portainer, you will need to set up an administrator account (username and password).
    • +
    • You will then connect Portainer to the Docker environment it should manage. For Changemaker, this is usually the local Docker socket.
    • +
    +
  4. +
+

Basic Usage

+
    +
  1. +

    Dashboard: The main dashboard provides an overview of your Docker environment (number of containers, volumes, images, etc.).

    +
  2. +
  3. +

    Containers List:

    +
      +
    • Navigate to "Containers" from the sidebar.
    • +
    • You'll see a list of all running and stopped containers (e.g., code-server, flatnotes, listmonk, etc., that make up Changemaker).
    • +
    • Actions: For each container, you can perform actions like:
        +
      • Logs: View real-time logs.
      • +
      • Inspect: See detailed configuration and state.
      • +
      • Stats: View resource usage.
      • +
      • Console: Connect to the container's terminal (if supported by the container).
      • +
      • Stop/Start/Restart/Remove.
      • +
      +
    • +
    +
  4. +
  5. +

    Images List:

    +
      +
    • Navigate to "Images" to see all Docker images pulled to your server.
    • +
    • You can pull new images from Docker Hub or other registries, or remove unused images.
    • +
    +
  6. +
  7. +

    Volumes List:

    +
      +
    • Navigate to "Volumes" to see Docker volumes, which are used by Changemaker apps to store persistent data (e.g., your notes in Flatnotes, your Listmonk database).
    • +
    +
  8. +
  9. +

    Stacks (Docker Compose):

    +
      +
    • Navigate to "Stacks."
    • +
    • Changemaker itself is likely deployed as a stack using its docker-compose.yml file. You might see it listed here.
    • +
    • You can add new stacks (deploy other Docker Compose applications) or manage existing ones.
    • +
    +
  10. +
+

Use Cases within Changemaker

+
    +
  • Monitoring Application Status: Quickly see if all Changemaker application containers are running.
  • +
  • Viewing Logs: Troubleshoot issues by checking the logs of specific application containers.
  • +
  • Restarting Applications: If an application becomes unresponsive, you can try restarting its container via Portainer.
  • +
  • Resource Management: Check CPU and memory usage of containers if you suspect performance issues.
  • +
  • Advanced Management: For users comfortable with Docker, Portainer provides an easier interface for tasks that would otherwise require command-line operations.
  • +
+

Editing the Site

+

Portainer is for managing the Docker containers that run the applications. It is not used for editing this documentation site. Site editing is done via Code Server.

+

Further Information

+ + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + +
+ +
+ + +
+ +
+
+
+
+ + + + + + + + + + + + \ No newline at end of file diff --git a/mkdocs/site/apps/rocketchat/index.html b/mkdocs/site/apps/rocketchat/index.html new file mode 100644 index 0000000..8557696 --- /dev/null +++ b/mkdocs/site/apps/rocketchat/index.html @@ -0,0 +1,1364 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Rocket.Chat - Changemaker Documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + +
+ + +
+ +
+ + + + + + + + + +
+
+ + + +
+
+
+ + + + + + + +
+
+
+ + + + + + + +
+
+ + + + + +

Rocket.Chat: Team & Community Collaboration Platform

+

Rocket.Chat is a powerful, open-source team collaboration platform. It offers a wide range of communication tools, including real-time chat, channels, direct messaging, video conferencing, and file sharing. It's designed for teams and communities to communicate and collaborate effectively in a self-hosted environment.

+

Key Features

+
    +
  • Real-time Chat: Public channels, private groups, and direct messages.
  • +
  • File Sharing: Share documents, images, and other files.
  • +
  • Voice and Video Conferencing: Integrated audio and video calls.
  • +
  • Guest Access: Allow external users to participate in specific channels.
  • +
  • Integrations: Connect with other tools and services through bots and APIs.
  • +
  • Customization: Themes, permissions, and extensive administrative controls.
  • +
  • Self-Hosted: Full data sovereignty and control over user privacy.
  • +
  • Mobile and Desktop Apps: Access Rocket.Chat from various devices.
  • +
+

Documentation

+

For more detailed information about Rocket.Chat, visit the official documentation.

+

Getting Started with Rocket.Chat

+

Accessing Rocket.Chat

+
    +
  1. URL: Access Rocket.Chat locally via http://localhost:3004/ (or your configured external URL).
  2. +
  3. Account Registration/Login:
      +
    • The first time you access it, you or an administrator will need to set up an admin account and configure the server.
    • +
    • Users will then need to register for an account or be invited by an admin.
    • +
    +
  4. +
+

Basic Usage

+
    +
  1. +

    Interface Overview:

    +
      +
    • Channels/Rooms: The main area for discussions. Channels can be public or private.
    • +
    • Direct Messages: For one-on-one conversations.
    • +
    • User List: See who is online and available.
    • +
    • Search: Find messages, users, or channels.
    • +
    +
  2. +
  3. +

    Joining Channels:

    +
      +
    • Browse the directory of public channels or be invited to private ones.
    • +
    +
  4. +
  5. +

    Sending Messages:

    +
      +
    • Type your message in the input box at the bottom of a channel or direct message.
    • +
    • Use Markdown for formatting, emojis, and @mentions to notify users.
    • +
    +
  6. +
  7. +

    Starting a Video/Audio Call: Look for the call icons within a channel or direct message to start a voice or video call.

    +
  8. +
  9. +

    Managing Your Profile: Update your profile picture, status, and notification preferences.

    +
  10. +
  11. +

    Administration (For Admins):

    +
      +
    • Access the administration panel to manage users, permissions, channels, integrations, and server settings.
    • +
    +
  12. +
+

Use Cases within Changemaker

+
    +
  • Internal Team Communication: A central place for your campaign team or organization members to chat, share files, and coordinate efforts.
  • +
  • Community Building: Create a private or public chat community for your supporters or users.
  • +
  • Project Collaboration: Dedicate channels to specific projects or tasks.
  • +
  • Support Channel: Offer a real-time support channel for your users or community members.
  • +
  • Alternative to Slack/Discord: A self-hosted option providing similar functionality with more control.
  • +
+

Editing the Site

+

Rocket.Chat is a communication platform. It is not used for editing this documentation site. Site editing is done via Code Server.

+

Further Information

+ + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + +
+ +
+ + +
+ +
+
+
+
+ + + + + + + + + + + + \ No newline at end of file diff --git a/mkdocs/site/assets/images/favicon.png b/mkdocs/site/assets/images/favicon.png new file mode 100644 index 0000000..1cf13b9 Binary files /dev/null and b/mkdocs/site/assets/images/favicon.png differ diff --git a/mkdocs/site/assets/images/social/apps/answer.png b/mkdocs/site/assets/images/social/apps/answer.png new file mode 100644 index 0000000..89440ee Binary files /dev/null and b/mkdocs/site/assets/images/social/apps/answer.png differ diff --git a/mkdocs/site/assets/images/social/apps/code-server.png b/mkdocs/site/assets/images/social/apps/code-server.png new file mode 100644 index 0000000..152b087 Binary files /dev/null and b/mkdocs/site/assets/images/social/apps/code-server.png differ diff --git a/mkdocs/site/assets/images/social/apps/excalidraw.png b/mkdocs/site/assets/images/social/apps/excalidraw.png new file mode 100644 index 0000000..cc086cf Binary files /dev/null and b/mkdocs/site/assets/images/social/apps/excalidraw.png differ diff --git a/mkdocs/site/assets/images/social/apps/ferdium.png b/mkdocs/site/assets/images/social/apps/ferdium.png new file mode 100644 index 0000000..01a7d92 Binary files /dev/null and b/mkdocs/site/assets/images/social/apps/ferdium.png differ diff --git a/mkdocs/site/assets/images/social/apps/flatnotes.png b/mkdocs/site/assets/images/social/apps/flatnotes.png new file mode 100644 index 0000000..9b5a872 Binary files /dev/null and b/mkdocs/site/assets/images/social/apps/flatnotes.png differ diff --git a/mkdocs/site/assets/images/social/apps/gitea.png b/mkdocs/site/assets/images/social/apps/gitea.png new file mode 100644 index 0000000..096386b Binary files /dev/null and b/mkdocs/site/assets/images/social/apps/gitea.png differ diff --git a/mkdocs/site/assets/images/social/apps/homepage.png b/mkdocs/site/assets/images/social/apps/homepage.png new file mode 100644 index 0000000..69768a6 Binary files /dev/null and b/mkdocs/site/assets/images/social/apps/homepage.png differ diff --git a/mkdocs/site/assets/images/social/apps/index.png b/mkdocs/site/assets/images/social/apps/index.png new file mode 100644 index 0000000..ce0a4bd Binary files /dev/null and b/mkdocs/site/assets/images/social/apps/index.png differ diff --git a/mkdocs/site/assets/images/social/apps/listmonk.png b/mkdocs/site/assets/images/social/apps/listmonk.png new file mode 100644 index 0000000..a191ba7 Binary files /dev/null and b/mkdocs/site/assets/images/social/apps/listmonk.png differ diff --git a/mkdocs/site/assets/images/social/apps/mkdocs-material.png b/mkdocs/site/assets/images/social/apps/mkdocs-material.png new file mode 100644 index 0000000..29c07ba Binary files /dev/null and b/mkdocs/site/assets/images/social/apps/mkdocs-material.png differ diff --git a/mkdocs/site/assets/images/social/apps/monica-crm.png b/mkdocs/site/assets/images/social/apps/monica-crm.png new file mode 100644 index 0000000..c846edb Binary files /dev/null and b/mkdocs/site/assets/images/social/apps/monica-crm.png differ diff --git a/mkdocs/site/assets/images/social/apps/n8n.png b/mkdocs/site/assets/images/social/apps/n8n.png new file mode 100644 index 0000000..4c18124 Binary files /dev/null and b/mkdocs/site/assets/images/social/apps/n8n.png differ diff --git a/mkdocs/site/assets/images/social/apps/nocodb.png b/mkdocs/site/assets/images/social/apps/nocodb.png new file mode 100644 index 0000000..3370d60 Binary files /dev/null and b/mkdocs/site/assets/images/social/apps/nocodb.png differ diff --git a/mkdocs/site/assets/images/social/apps/ollama.png b/mkdocs/site/assets/images/social/apps/ollama.png new file mode 100644 index 0000000..ec27b96 Binary files /dev/null and b/mkdocs/site/assets/images/social/apps/ollama.png differ diff --git a/mkdocs/site/assets/images/social/apps/openwebui.png b/mkdocs/site/assets/images/social/apps/openwebui.png new file mode 100644 index 0000000..11af4b3 Binary files /dev/null and b/mkdocs/site/assets/images/social/apps/openwebui.png differ diff --git a/mkdocs/site/assets/images/social/apps/portainer.png b/mkdocs/site/assets/images/social/apps/portainer.png new file mode 100644 index 0000000..56f0c60 Binary files /dev/null and b/mkdocs/site/assets/images/social/apps/portainer.png differ diff --git a/mkdocs/site/assets/images/social/apps/rocketchat.png b/mkdocs/site/assets/images/social/apps/rocketchat.png new file mode 100644 index 0000000..791cfc2 Binary files /dev/null and b/mkdocs/site/assets/images/social/apps/rocketchat.png differ diff --git a/mkdocs/site/assets/images/social/blog/archive/2025.png b/mkdocs/site/assets/images/social/blog/archive/2025.png new file mode 100644 index 0000000..0898cf5 Binary files /dev/null and b/mkdocs/site/assets/images/social/blog/archive/2025.png differ diff --git a/mkdocs/site/assets/images/social/blog/index.png b/mkdocs/site/assets/images/social/blog/index.png new file mode 100644 index 0000000..43bc557 Binary files /dev/null and b/mkdocs/site/assets/images/social/blog/index.png differ diff --git a/mkdocs/site/assets/images/social/blog/posts/First Post.png b/mkdocs/site/assets/images/social/blog/posts/First Post.png new file mode 100644 index 0000000..895d7fc Binary files /dev/null and b/mkdocs/site/assets/images/social/blog/posts/First Post.png differ diff --git a/mkdocs/site/assets/images/social/guides/authoring-content.png b/mkdocs/site/assets/images/social/guides/authoring-content.png new file mode 100644 index 0000000..a4d8eb5 Binary files /dev/null and b/mkdocs/site/assets/images/social/guides/authoring-content.png differ diff --git a/mkdocs/site/assets/images/social/guides/index.png b/mkdocs/site/assets/images/social/guides/index.png new file mode 100644 index 0000000..ce0a4bd Binary files /dev/null and b/mkdocs/site/assets/images/social/guides/index.png differ diff --git a/mkdocs/site/assets/images/social/guides/ollama-vscode.png b/mkdocs/site/assets/images/social/guides/ollama-vscode.png new file mode 100644 index 0000000..8d66fe4 Binary files /dev/null and b/mkdocs/site/assets/images/social/guides/ollama-vscode.png differ diff --git a/mkdocs/site/assets/images/social/index.png b/mkdocs/site/assets/images/social/index.png new file mode 100644 index 0000000..e6ae72f Binary files /dev/null and b/mkdocs/site/assets/images/social/index.png differ diff --git a/mkdocs/site/assets/images/social/quick-commands.png b/mkdocs/site/assets/images/social/quick-commands.png new file mode 100644 index 0000000..bae0666 Binary files /dev/null and b/mkdocs/site/assets/images/social/quick-commands.png differ diff --git a/mkdocs/site/assets/images/social/readme.png b/mkdocs/site/assets/images/social/readme.png new file mode 100644 index 0000000..66dfd68 Binary files /dev/null and b/mkdocs/site/assets/images/social/readme.png differ diff --git a/mkdocs/site/assets/javascripts/bundle.13a4f30d.min.js b/mkdocs/site/assets/javascripts/bundle.13a4f30d.min.js new file mode 100644 index 0000000..c31fa1a --- /dev/null +++ b/mkdocs/site/assets/javascripts/bundle.13a4f30d.min.js @@ -0,0 +1,16 @@ +"use strict";(()=>{var Wi=Object.create;var gr=Object.defineProperty;var Vi=Object.getOwnPropertyDescriptor;var Di=Object.getOwnPropertyNames,Vt=Object.getOwnPropertySymbols,zi=Object.getPrototypeOf,yr=Object.prototype.hasOwnProperty,ao=Object.prototype.propertyIsEnumerable;var io=(e,t,r)=>t in e?gr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,$=(e,t)=>{for(var r in t||(t={}))yr.call(t,r)&&io(e,r,t[r]);if(Vt)for(var r of Vt(t))ao.call(t,r)&&io(e,r,t[r]);return e};var so=(e,t)=>{var r={};for(var o in e)yr.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(e!=null&&Vt)for(var o of Vt(e))t.indexOf(o)<0&&ao.call(e,o)&&(r[o]=e[o]);return r};var xr=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Ni=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Di(t))!yr.call(e,n)&&n!==r&&gr(e,n,{get:()=>t[n],enumerable:!(o=Vi(t,n))||o.enumerable});return e};var Lt=(e,t,r)=>(r=e!=null?Wi(zi(e)):{},Ni(t||!e||!e.__esModule?gr(r,"default",{value:e,enumerable:!0}):r,e));var co=(e,t,r)=>new Promise((o,n)=>{var i=p=>{try{s(r.next(p))}catch(c){n(c)}},a=p=>{try{s(r.throw(p))}catch(c){n(c)}},s=p=>p.done?o(p.value):Promise.resolve(p.value).then(i,a);s((r=r.apply(e,t)).next())});var lo=xr((Er,po)=>{(function(e,t){typeof Er=="object"&&typeof po!="undefined"?t():typeof define=="function"&&define.amd?define(t):t()})(Er,function(){"use strict";function e(r){var o=!0,n=!1,i=null,a={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function s(k){return!!(k&&k!==document&&k.nodeName!=="HTML"&&k.nodeName!=="BODY"&&"classList"in k&&"contains"in k.classList)}function p(k){var ft=k.type,qe=k.tagName;return!!(qe==="INPUT"&&a[ft]&&!k.readOnly||qe==="TEXTAREA"&&!k.readOnly||k.isContentEditable)}function c(k){k.classList.contains("focus-visible")||(k.classList.add("focus-visible"),k.setAttribute("data-focus-visible-added",""))}function l(k){k.hasAttribute("data-focus-visible-added")&&(k.classList.remove("focus-visible"),k.removeAttribute("data-focus-visible-added"))}function f(k){k.metaKey||k.altKey||k.ctrlKey||(s(r.activeElement)&&c(r.activeElement),o=!0)}function u(k){o=!1}function d(k){s(k.target)&&(o||p(k.target))&&c(k.target)}function y(k){s(k.target)&&(k.target.classList.contains("focus-visible")||k.target.hasAttribute("data-focus-visible-added"))&&(n=!0,window.clearTimeout(i),i=window.setTimeout(function(){n=!1},100),l(k.target))}function L(k){document.visibilityState==="hidden"&&(n&&(o=!0),X())}function X(){document.addEventListener("mousemove",J),document.addEventListener("mousedown",J),document.addEventListener("mouseup",J),document.addEventListener("pointermove",J),document.addEventListener("pointerdown",J),document.addEventListener("pointerup",J),document.addEventListener("touchmove",J),document.addEventListener("touchstart",J),document.addEventListener("touchend",J)}function ee(){document.removeEventListener("mousemove",J),document.removeEventListener("mousedown",J),document.removeEventListener("mouseup",J),document.removeEventListener("pointermove",J),document.removeEventListener("pointerdown",J),document.removeEventListener("pointerup",J),document.removeEventListener("touchmove",J),document.removeEventListener("touchstart",J),document.removeEventListener("touchend",J)}function J(k){k.target.nodeName&&k.target.nodeName.toLowerCase()==="html"||(o=!1,ee())}document.addEventListener("keydown",f,!0),document.addEventListener("mousedown",u,!0),document.addEventListener("pointerdown",u,!0),document.addEventListener("touchstart",u,!0),document.addEventListener("visibilitychange",L,!0),X(),r.addEventListener("focus",d,!0),r.addEventListener("blur",y,!0),r.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&r.host?r.host.setAttribute("data-js-focus-visible",""):r.nodeType===Node.DOCUMENT_NODE&&(document.documentElement.classList.add("js-focus-visible"),document.documentElement.setAttribute("data-js-focus-visible",""))}if(typeof window!="undefined"&&typeof document!="undefined"){window.applyFocusVisiblePolyfill=e;var t;try{t=new CustomEvent("focus-visible-polyfill-ready")}catch(r){t=document.createEvent("CustomEvent"),t.initCustomEvent("focus-visible-polyfill-ready",!1,!1,{})}window.dispatchEvent(t)}typeof document!="undefined"&&e(document)})});var qr=xr((dy,On)=>{"use strict";/*! + * escape-html + * Copyright(c) 2012-2013 TJ Holowaychuk + * Copyright(c) 2015 Andreas Lubbe + * Copyright(c) 2015 Tiancheng "Timothy" Gu + * MIT Licensed + */var $a=/["'&<>]/;On.exports=Pa;function Pa(e){var t=""+e,r=$a.exec(t);if(!r)return t;var o,n="",i=0,a=0;for(i=r.index;i{/*! + * clipboard.js v2.0.11 + * https://clipboardjs.com/ + * + * Licensed MIT © Zeno Rocha + */(function(t,r){typeof Rt=="object"&&typeof Yr=="object"?Yr.exports=r():typeof define=="function"&&define.amd?define([],r):typeof Rt=="object"?Rt.ClipboardJS=r():t.ClipboardJS=r()})(Rt,function(){return function(){var e={686:function(o,n,i){"use strict";i.d(n,{default:function(){return Ui}});var a=i(279),s=i.n(a),p=i(370),c=i.n(p),l=i(817),f=i.n(l);function u(D){try{return document.execCommand(D)}catch(A){return!1}}var d=function(A){var M=f()(A);return u("cut"),M},y=d;function L(D){var A=document.documentElement.getAttribute("dir")==="rtl",M=document.createElement("textarea");M.style.fontSize="12pt",M.style.border="0",M.style.padding="0",M.style.margin="0",M.style.position="absolute",M.style[A?"right":"left"]="-9999px";var F=window.pageYOffset||document.documentElement.scrollTop;return M.style.top="".concat(F,"px"),M.setAttribute("readonly",""),M.value=D,M}var X=function(A,M){var F=L(A);M.container.appendChild(F);var V=f()(F);return u("copy"),F.remove(),V},ee=function(A){var M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body},F="";return typeof A=="string"?F=X(A,M):A instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(A==null?void 0:A.type)?F=X(A.value,M):(F=f()(A),u("copy")),F},J=ee;function k(D){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?k=function(M){return typeof M}:k=function(M){return M&&typeof Symbol=="function"&&M.constructor===Symbol&&M!==Symbol.prototype?"symbol":typeof M},k(D)}var ft=function(){var A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},M=A.action,F=M===void 0?"copy":M,V=A.container,Y=A.target,$e=A.text;if(F!=="copy"&&F!=="cut")throw new Error('Invalid "action" value, use either "copy" or "cut"');if(Y!==void 0)if(Y&&k(Y)==="object"&&Y.nodeType===1){if(F==="copy"&&Y.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if(F==="cut"&&(Y.hasAttribute("readonly")||Y.hasAttribute("disabled")))throw new Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`)}else throw new Error('Invalid "target" value, use a valid Element');if($e)return J($e,{container:V});if(Y)return F==="cut"?y(Y):J(Y,{container:V})},qe=ft;function Fe(D){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Fe=function(M){return typeof M}:Fe=function(M){return M&&typeof Symbol=="function"&&M.constructor===Symbol&&M!==Symbol.prototype?"symbol":typeof M},Fe(D)}function ki(D,A){if(!(D instanceof A))throw new TypeError("Cannot call a class as a function")}function no(D,A){for(var M=0;M0&&arguments[0]!==void 0?arguments[0]:{};this.action=typeof V.action=="function"?V.action:this.defaultAction,this.target=typeof V.target=="function"?V.target:this.defaultTarget,this.text=typeof V.text=="function"?V.text:this.defaultText,this.container=Fe(V.container)==="object"?V.container:document.body}},{key:"listenClick",value:function(V){var Y=this;this.listener=c()(V,"click",function($e){return Y.onClick($e)})}},{key:"onClick",value:function(V){var Y=V.delegateTarget||V.currentTarget,$e=this.action(Y)||"copy",Wt=qe({action:$e,container:this.container,target:this.target(Y),text:this.text(Y)});this.emit(Wt?"success":"error",{action:$e,text:Wt,trigger:Y,clearSelection:function(){Y&&Y.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(V){return vr("action",V)}},{key:"defaultTarget",value:function(V){var Y=vr("target",V);if(Y)return document.querySelector(Y)}},{key:"defaultText",value:function(V){return vr("text",V)}},{key:"destroy",value:function(){this.listener.destroy()}}],[{key:"copy",value:function(V){var Y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body};return J(V,Y)}},{key:"cut",value:function(V){return y(V)}},{key:"isSupported",value:function(){var V=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["copy","cut"],Y=typeof V=="string"?[V]:V,$e=!!document.queryCommandSupported;return Y.forEach(function(Wt){$e=$e&&!!document.queryCommandSupported(Wt)}),$e}}]),M}(s()),Ui=Fi},828:function(o){var n=9;if(typeof Element!="undefined"&&!Element.prototype.matches){var i=Element.prototype;i.matches=i.matchesSelector||i.mozMatchesSelector||i.msMatchesSelector||i.oMatchesSelector||i.webkitMatchesSelector}function a(s,p){for(;s&&s.nodeType!==n;){if(typeof s.matches=="function"&&s.matches(p))return s;s=s.parentNode}}o.exports=a},438:function(o,n,i){var a=i(828);function s(l,f,u,d,y){var L=c.apply(this,arguments);return l.addEventListener(u,L,y),{destroy:function(){l.removeEventListener(u,L,y)}}}function p(l,f,u,d,y){return typeof l.addEventListener=="function"?s.apply(null,arguments):typeof u=="function"?s.bind(null,document).apply(null,arguments):(typeof l=="string"&&(l=document.querySelectorAll(l)),Array.prototype.map.call(l,function(L){return s(L,f,u,d,y)}))}function c(l,f,u,d){return function(y){y.delegateTarget=a(y.target,f),y.delegateTarget&&d.call(l,y)}}o.exports=p},879:function(o,n){n.node=function(i){return i!==void 0&&i instanceof HTMLElement&&i.nodeType===1},n.nodeList=function(i){var a=Object.prototype.toString.call(i);return i!==void 0&&(a==="[object NodeList]"||a==="[object HTMLCollection]")&&"length"in i&&(i.length===0||n.node(i[0]))},n.string=function(i){return typeof i=="string"||i instanceof String},n.fn=function(i){var a=Object.prototype.toString.call(i);return a==="[object Function]"}},370:function(o,n,i){var a=i(879),s=i(438);function p(u,d,y){if(!u&&!d&&!y)throw new Error("Missing required arguments");if(!a.string(d))throw new TypeError("Second argument must be a String");if(!a.fn(y))throw new TypeError("Third argument must be a Function");if(a.node(u))return c(u,d,y);if(a.nodeList(u))return l(u,d,y);if(a.string(u))return f(u,d,y);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function c(u,d,y){return u.addEventListener(d,y),{destroy:function(){u.removeEventListener(d,y)}}}function l(u,d,y){return Array.prototype.forEach.call(u,function(L){L.addEventListener(d,y)}),{destroy:function(){Array.prototype.forEach.call(u,function(L){L.removeEventListener(d,y)})}}}function f(u,d,y){return s(document.body,u,d,y)}o.exports=p},817:function(o){function n(i){var a;if(i.nodeName==="SELECT")i.focus(),a=i.value;else if(i.nodeName==="INPUT"||i.nodeName==="TEXTAREA"){var s=i.hasAttribute("readonly");s||i.setAttribute("readonly",""),i.select(),i.setSelectionRange(0,i.value.length),s||i.removeAttribute("readonly"),a=i.value}else{i.hasAttribute("contenteditable")&&i.focus();var p=window.getSelection(),c=document.createRange();c.selectNodeContents(i),p.removeAllRanges(),p.addRange(c),a=p.toString()}return a}o.exports=n},279:function(o){function n(){}n.prototype={on:function(i,a,s){var p=this.e||(this.e={});return(p[i]||(p[i]=[])).push({fn:a,ctx:s}),this},once:function(i,a,s){var p=this;function c(){p.off(i,c),a.apply(s,arguments)}return c._=a,this.on(i,c,s)},emit:function(i){var a=[].slice.call(arguments,1),s=((this.e||(this.e={}))[i]||[]).slice(),p=0,c=s.length;for(p;p0&&i[i.length-1])&&(c[0]===6||c[0]===2)){r=0;continue}if(c[0]===3&&(!i||c[1]>i[0]&&c[1]=e.length&&(e=void 0),{value:e&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function z(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var o=r.call(e),n,i=[],a;try{for(;(t===void 0||t-- >0)&&!(n=o.next()).done;)i.push(n.value)}catch(s){a={error:s}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(a)throw a.error}}return i}function q(e,t,r){if(r||arguments.length===2)for(var o=0,n=t.length,i;o1||p(d,L)})},y&&(n[d]=y(n[d])))}function p(d,y){try{c(o[d](y))}catch(L){u(i[0][3],L)}}function c(d){d.value instanceof nt?Promise.resolve(d.value.v).then(l,f):u(i[0][2],d)}function l(d){p("next",d)}function f(d){p("throw",d)}function u(d,y){d(y),i.shift(),i.length&&p(i[0][0],i[0][1])}}function uo(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],r;return t?t.call(e):(e=typeof he=="function"?he(e):e[Symbol.iterator](),r={},o("next"),o("throw"),o("return"),r[Symbol.asyncIterator]=function(){return this},r);function o(i){r[i]=e[i]&&function(a){return new Promise(function(s,p){a=e[i](a),n(s,p,a.done,a.value)})}}function n(i,a,s,p){Promise.resolve(p).then(function(c){i({value:c,done:s})},a)}}function H(e){return typeof e=="function"}function ut(e){var t=function(o){Error.call(o),o.stack=new Error().stack},r=e(t);return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}var zt=ut(function(e){return function(r){e(this),this.message=r?r.length+` errors occurred during unsubscription: +`+r.map(function(o,n){return n+1+") "+o.toString()}).join(` + `):"",this.name="UnsubscriptionError",this.errors=r}});function Qe(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var Ue=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,r,o,n,i;if(!this.closed){this.closed=!0;var a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var s=he(a),p=s.next();!p.done;p=s.next()){var c=p.value;c.remove(this)}}catch(L){t={error:L}}finally{try{p&&!p.done&&(r=s.return)&&r.call(s)}finally{if(t)throw t.error}}else a.remove(this);var l=this.initialTeardown;if(H(l))try{l()}catch(L){i=L instanceof zt?L.errors:[L]}var f=this._finalizers;if(f){this._finalizers=null;try{for(var u=he(f),d=u.next();!d.done;d=u.next()){var y=d.value;try{ho(y)}catch(L){i=i!=null?i:[],L instanceof zt?i=q(q([],z(i)),z(L.errors)):i.push(L)}}}catch(L){o={error:L}}finally{try{d&&!d.done&&(n=u.return)&&n.call(u)}finally{if(o)throw o.error}}}if(i)throw new zt(i)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)ho(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(t)}},e.prototype._hasParent=function(t){var r=this._parentage;return r===t||Array.isArray(r)&&r.includes(t)},e.prototype._addParent=function(t){var r=this._parentage;this._parentage=Array.isArray(r)?(r.push(t),r):r?[r,t]:t},e.prototype._removeParent=function(t){var r=this._parentage;r===t?this._parentage=null:Array.isArray(r)&&Qe(r,t)},e.prototype.remove=function(t){var r=this._finalizers;r&&Qe(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}();var Tr=Ue.EMPTY;function Nt(e){return e instanceof Ue||e&&"closed"in e&&H(e.remove)&&H(e.add)&&H(e.unsubscribe)}function ho(e){H(e)?e():e.unsubscribe()}var Pe={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var dt={setTimeout:function(e,t){for(var r=[],o=2;o0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(r){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,r)},t.prototype._subscribe=function(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)},t.prototype._innerSubscribe=function(r){var o=this,n=this,i=n.hasError,a=n.isStopped,s=n.observers;return i||a?Tr:(this.currentObservers=null,s.push(r),new Ue(function(){o.currentObservers=null,Qe(s,r)}))},t.prototype._checkFinalizedStatuses=function(r){var o=this,n=o.hasError,i=o.thrownError,a=o.isStopped;n?r.error(i):a&&r.complete()},t.prototype.asObservable=function(){var r=new j;return r.source=this,r},t.create=function(r,o){return new To(r,o)},t}(j);var To=function(e){oe(t,e);function t(r,o){var n=e.call(this)||this;return n.destination=r,n.source=o,n}return t.prototype.next=function(r){var o,n;(n=(o=this.destination)===null||o===void 0?void 0:o.next)===null||n===void 0||n.call(o,r)},t.prototype.error=function(r){var o,n;(n=(o=this.destination)===null||o===void 0?void 0:o.error)===null||n===void 0||n.call(o,r)},t.prototype.complete=function(){var r,o;(o=(r=this.destination)===null||r===void 0?void 0:r.complete)===null||o===void 0||o.call(r)},t.prototype._subscribe=function(r){var o,n;return(n=(o=this.source)===null||o===void 0?void 0:o.subscribe(r))!==null&&n!==void 0?n:Tr},t}(g);var _r=function(e){oe(t,e);function t(r){var o=e.call(this)||this;return o._value=r,o}return Object.defineProperty(t.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),t.prototype._subscribe=function(r){var o=e.prototype._subscribe.call(this,r);return!o.closed&&r.next(this._value),o},t.prototype.getValue=function(){var r=this,o=r.hasError,n=r.thrownError,i=r._value;if(o)throw n;return this._throwIfClosed(),i},t.prototype.next=function(r){e.prototype.next.call(this,this._value=r)},t}(g);var _t={now:function(){return(_t.delegate||Date).now()},delegate:void 0};var At=function(e){oe(t,e);function t(r,o,n){r===void 0&&(r=1/0),o===void 0&&(o=1/0),n===void 0&&(n=_t);var i=e.call(this)||this;return i._bufferSize=r,i._windowTime=o,i._timestampProvider=n,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=o===1/0,i._bufferSize=Math.max(1,r),i._windowTime=Math.max(1,o),i}return t.prototype.next=function(r){var o=this,n=o.isStopped,i=o._buffer,a=o._infiniteTimeWindow,s=o._timestampProvider,p=o._windowTime;n||(i.push(r),!a&&i.push(s.now()+p)),this._trimBuffer(),e.prototype.next.call(this,r)},t.prototype._subscribe=function(r){this._throwIfClosed(),this._trimBuffer();for(var o=this._innerSubscribe(r),n=this,i=n._infiniteTimeWindow,a=n._buffer,s=a.slice(),p=0;p0?e.prototype.schedule.call(this,r,o):(this.delay=o,this.state=r,this.scheduler.flush(this),this)},t.prototype.execute=function(r,o){return o>0||this.closed?e.prototype.execute.call(this,r,o):this._execute(r,o)},t.prototype.requestAsyncId=function(r,o,n){return n===void 0&&(n=0),n!=null&&n>0||n==null&&this.delay>0?e.prototype.requestAsyncId.call(this,r,o,n):(r.flush(this),0)},t}(gt);var Lo=function(e){oe(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t}(yt);var kr=new Lo(Oo);var Mo=function(e){oe(t,e);function t(r,o){var n=e.call(this,r,o)||this;return n.scheduler=r,n.work=o,n}return t.prototype.requestAsyncId=function(r,o,n){return n===void 0&&(n=0),n!==null&&n>0?e.prototype.requestAsyncId.call(this,r,o,n):(r.actions.push(this),r._scheduled||(r._scheduled=vt.requestAnimationFrame(function(){return r.flush(void 0)})))},t.prototype.recycleAsyncId=function(r,o,n){var i;if(n===void 0&&(n=0),n!=null?n>0:this.delay>0)return e.prototype.recycleAsyncId.call(this,r,o,n);var a=r.actions;o!=null&&o===r._scheduled&&((i=a[a.length-1])===null||i===void 0?void 0:i.id)!==o&&(vt.cancelAnimationFrame(o),r._scheduled=void 0)},t}(gt);var _o=function(e){oe(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.flush=function(r){this._active=!0;var o;r?o=r.id:(o=this._scheduled,this._scheduled=void 0);var n=this.actions,i;r=r||n.shift();do if(i=r.execute(r.state,r.delay))break;while((r=n[0])&&r.id===o&&n.shift());if(this._active=!1,i){for(;(r=n[0])&&r.id===o&&n.shift();)r.unsubscribe();throw i}},t}(yt);var me=new _o(Mo);var S=new j(function(e){return e.complete()});function Kt(e){return e&&H(e.schedule)}function Hr(e){return e[e.length-1]}function Xe(e){return H(Hr(e))?e.pop():void 0}function ke(e){return Kt(Hr(e))?e.pop():void 0}function Yt(e,t){return typeof Hr(e)=="number"?e.pop():t}var xt=function(e){return e&&typeof e.length=="number"&&typeof e!="function"};function Bt(e){return H(e==null?void 0:e.then)}function Gt(e){return H(e[bt])}function Jt(e){return Symbol.asyncIterator&&H(e==null?void 0:e[Symbol.asyncIterator])}function Xt(e){return new TypeError("You provided "+(e!==null&&typeof e=="object"?"an invalid object":"'"+e+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}function Zi(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Zt=Zi();function er(e){return H(e==null?void 0:e[Zt])}function tr(e){return fo(this,arguments,function(){var r,o,n,i;return Dt(this,function(a){switch(a.label){case 0:r=e.getReader(),a.label=1;case 1:a.trys.push([1,,9,10]),a.label=2;case 2:return[4,nt(r.read())];case 3:return o=a.sent(),n=o.value,i=o.done,i?[4,nt(void 0)]:[3,5];case 4:return[2,a.sent()];case 5:return[4,nt(n)];case 6:return[4,a.sent()];case 7:return a.sent(),[3,2];case 8:return[3,10];case 9:return r.releaseLock(),[7];case 10:return[2]}})})}function rr(e){return H(e==null?void 0:e.getReader)}function U(e){if(e instanceof j)return e;if(e!=null){if(Gt(e))return ea(e);if(xt(e))return ta(e);if(Bt(e))return ra(e);if(Jt(e))return Ao(e);if(er(e))return oa(e);if(rr(e))return na(e)}throw Xt(e)}function ea(e){return new j(function(t){var r=e[bt]();if(H(r.subscribe))return r.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function ta(e){return new j(function(t){for(var r=0;r=2;return function(o){return o.pipe(e?b(function(n,i){return e(n,i,o)}):le,Te(1),r?Ve(t):Qo(function(){return new nr}))}}function jr(e){return e<=0?function(){return S}:E(function(t,r){var o=[];t.subscribe(T(r,function(n){o.push(n),e=2,!0))}function pe(e){e===void 0&&(e={});var t=e.connector,r=t===void 0?function(){return new g}:t,o=e.resetOnError,n=o===void 0?!0:o,i=e.resetOnComplete,a=i===void 0?!0:i,s=e.resetOnRefCountZero,p=s===void 0?!0:s;return function(c){var l,f,u,d=0,y=!1,L=!1,X=function(){f==null||f.unsubscribe(),f=void 0},ee=function(){X(),l=u=void 0,y=L=!1},J=function(){var k=l;ee(),k==null||k.unsubscribe()};return E(function(k,ft){d++,!L&&!y&&X();var qe=u=u!=null?u:r();ft.add(function(){d--,d===0&&!L&&!y&&(f=Ur(J,p))}),qe.subscribe(ft),!l&&d>0&&(l=new at({next:function(Fe){return qe.next(Fe)},error:function(Fe){L=!0,X(),f=Ur(ee,n,Fe),qe.error(Fe)},complete:function(){y=!0,X(),f=Ur(ee,a),qe.complete()}}),U(k).subscribe(l))})(c)}}function Ur(e,t){for(var r=[],o=2;oe.next(document)),e}function P(e,t=document){return Array.from(t.querySelectorAll(e))}function R(e,t=document){let r=fe(e,t);if(typeof r=="undefined")throw new ReferenceError(`Missing element: expected "${e}" to be present`);return r}function fe(e,t=document){return t.querySelector(e)||void 0}function Ie(){var e,t,r,o;return(o=(r=(t=(e=document.activeElement)==null?void 0:e.shadowRoot)==null?void 0:t.activeElement)!=null?r:document.activeElement)!=null?o:void 0}var wa=O(h(document.body,"focusin"),h(document.body,"focusout")).pipe(_e(1),Q(void 0),m(()=>Ie()||document.body),G(1));function et(e){return wa.pipe(m(t=>e.contains(t)),K())}function Ht(e,t){return C(()=>O(h(e,"mouseenter").pipe(m(()=>!0)),h(e,"mouseleave").pipe(m(()=>!1))).pipe(t?kt(r=>Le(+!r*t)):le,Q(e.matches(":hover"))))}function Jo(e,t){if(typeof t=="string"||typeof t=="number")e.innerHTML+=t.toString();else if(t instanceof Node)e.appendChild(t);else if(Array.isArray(t))for(let r of t)Jo(e,r)}function x(e,t,...r){let o=document.createElement(e);if(t)for(let n of Object.keys(t))typeof t[n]!="undefined"&&(typeof t[n]!="boolean"?o.setAttribute(n,t[n]):o.setAttribute(n,""));for(let n of r)Jo(o,n);return o}function sr(e){if(e>999){let t=+((e-950)%1e3>99);return`${((e+1e-6)/1e3).toFixed(t)}k`}else return e.toString()}function wt(e){let t=x("script",{src:e});return C(()=>(document.head.appendChild(t),O(h(t,"load"),h(t,"error").pipe(v(()=>$r(()=>new ReferenceError(`Invalid script: ${e}`))))).pipe(m(()=>{}),_(()=>document.head.removeChild(t)),Te(1))))}var Xo=new g,Ta=C(()=>typeof ResizeObserver=="undefined"?wt("https://unpkg.com/resize-observer-polyfill"):I(void 0)).pipe(m(()=>new ResizeObserver(e=>e.forEach(t=>Xo.next(t)))),v(e=>O(Ye,I(e)).pipe(_(()=>e.disconnect()))),G(1));function ce(e){return{width:e.offsetWidth,height:e.offsetHeight}}function ge(e){let t=e;for(;t.clientWidth===0&&t.parentElement;)t=t.parentElement;return Ta.pipe(w(r=>r.observe(t)),v(r=>Xo.pipe(b(o=>o.target===t),_(()=>r.unobserve(t)))),m(()=>ce(e)),Q(ce(e)))}function Tt(e){return{width:e.scrollWidth,height:e.scrollHeight}}function cr(e){let t=e.parentElement;for(;t&&(e.scrollWidth<=t.scrollWidth&&e.scrollHeight<=t.scrollHeight);)t=(e=t).parentElement;return t?e:void 0}function Zo(e){let t=[],r=e.parentElement;for(;r;)(e.clientWidth>r.clientWidth||e.clientHeight>r.clientHeight)&&t.push(r),r=(e=r).parentElement;return t.length===0&&t.push(document.documentElement),t}function De(e){return{x:e.offsetLeft,y:e.offsetTop}}function en(e){let t=e.getBoundingClientRect();return{x:t.x+window.scrollX,y:t.y+window.scrollY}}function tn(e){return O(h(window,"load"),h(window,"resize")).pipe(Me(0,me),m(()=>De(e)),Q(De(e)))}function pr(e){return{x:e.scrollLeft,y:e.scrollTop}}function ze(e){return O(h(e,"scroll"),h(window,"scroll"),h(window,"resize")).pipe(Me(0,me),m(()=>pr(e)),Q(pr(e)))}var rn=new g,Sa=C(()=>I(new IntersectionObserver(e=>{for(let t of e)rn.next(t)},{threshold:0}))).pipe(v(e=>O(Ye,I(e)).pipe(_(()=>e.disconnect()))),G(1));function tt(e){return Sa.pipe(w(t=>t.observe(e)),v(t=>rn.pipe(b(({target:r})=>r===e),_(()=>t.unobserve(e)),m(({isIntersecting:r})=>r))))}function on(e,t=16){return ze(e).pipe(m(({y:r})=>{let o=ce(e),n=Tt(e);return r>=n.height-o.height-t}),K())}var lr={drawer:R("[data-md-toggle=drawer]"),search:R("[data-md-toggle=search]")};function nn(e){return lr[e].checked}function Je(e,t){lr[e].checked!==t&&lr[e].click()}function Ne(e){let t=lr[e];return h(t,"change").pipe(m(()=>t.checked),Q(t.checked))}function Oa(e,t){switch(e.constructor){case HTMLInputElement:return e.type==="radio"?/^Arrow/.test(t):!0;case HTMLSelectElement:case HTMLTextAreaElement:return!0;default:return e.isContentEditable}}function La(){return O(h(window,"compositionstart").pipe(m(()=>!0)),h(window,"compositionend").pipe(m(()=>!1))).pipe(Q(!1))}function an(){let e=h(window,"keydown").pipe(b(t=>!(t.metaKey||t.ctrlKey)),m(t=>({mode:nn("search")?"search":"global",type:t.key,claim(){t.preventDefault(),t.stopPropagation()}})),b(({mode:t,type:r})=>{if(t==="global"){let o=Ie();if(typeof o!="undefined")return!Oa(o,r)}return!0}),pe());return La().pipe(v(t=>t?S:e))}function ye(){return new URL(location.href)}function lt(e,t=!1){if(B("navigation.instant")&&!t){let r=x("a",{href:e.href});document.body.appendChild(r),r.click(),r.remove()}else location.href=e.href}function sn(){return new g}function cn(){return location.hash.slice(1)}function pn(e){let t=x("a",{href:e});t.addEventListener("click",r=>r.stopPropagation()),t.click()}function Ma(e){return O(h(window,"hashchange"),e).pipe(m(cn),Q(cn()),b(t=>t.length>0),G(1))}function ln(e){return Ma(e).pipe(m(t=>fe(`[id="${t}"]`)),b(t=>typeof t!="undefined"))}function $t(e){let t=matchMedia(e);return ir(r=>t.addListener(()=>r(t.matches))).pipe(Q(t.matches))}function mn(){let e=matchMedia("print");return O(h(window,"beforeprint").pipe(m(()=>!0)),h(window,"afterprint").pipe(m(()=>!1))).pipe(Q(e.matches))}function zr(e,t){return e.pipe(v(r=>r?t():S))}function Nr(e,t){return new j(r=>{let o=new XMLHttpRequest;return o.open("GET",`${e}`),o.responseType="blob",o.addEventListener("load",()=>{o.status>=200&&o.status<300?(r.next(o.response),r.complete()):r.error(new Error(o.statusText))}),o.addEventListener("error",()=>{r.error(new Error("Network error"))}),o.addEventListener("abort",()=>{r.complete()}),typeof(t==null?void 0:t.progress$)!="undefined"&&(o.addEventListener("progress",n=>{var i;if(n.lengthComputable)t.progress$.next(n.loaded/n.total*100);else{let a=(i=o.getResponseHeader("Content-Length"))!=null?i:0;t.progress$.next(n.loaded/+a*100)}}),t.progress$.next(5)),o.send(),()=>o.abort()})}function je(e,t){return Nr(e,t).pipe(v(r=>r.text()),m(r=>JSON.parse(r)),G(1))}function fn(e,t){let r=new DOMParser;return Nr(e,t).pipe(v(o=>o.text()),m(o=>r.parseFromString(o,"text/html")),G(1))}function un(e,t){let r=new DOMParser;return Nr(e,t).pipe(v(o=>o.text()),m(o=>r.parseFromString(o,"text/xml")),G(1))}function dn(){return{x:Math.max(0,scrollX),y:Math.max(0,scrollY)}}function hn(){return O(h(window,"scroll",{passive:!0}),h(window,"resize",{passive:!0})).pipe(m(dn),Q(dn()))}function bn(){return{width:innerWidth,height:innerHeight}}function vn(){return h(window,"resize",{passive:!0}).pipe(m(bn),Q(bn()))}function gn(){return N([hn(),vn()]).pipe(m(([e,t])=>({offset:e,size:t})),G(1))}function mr(e,{viewport$:t,header$:r}){let o=t.pipe(te("size")),n=N([o,r]).pipe(m(()=>De(e)));return N([r,t,n]).pipe(m(([{height:i},{offset:a,size:s},{x:p,y:c}])=>({offset:{x:a.x-p,y:a.y-c+i},size:s})))}function _a(e){return h(e,"message",t=>t.data)}function Aa(e){let t=new g;return t.subscribe(r=>e.postMessage(r)),t}function yn(e,t=new Worker(e)){let r=_a(t),o=Aa(t),n=new g;n.subscribe(o);let i=o.pipe(Z(),ie(!0));return n.pipe(Z(),Re(r.pipe(W(i))),pe())}var Ca=R("#__config"),St=JSON.parse(Ca.textContent);St.base=`${new URL(St.base,ye())}`;function xe(){return St}function B(e){return St.features.includes(e)}function Ee(e,t){return typeof t!="undefined"?St.translations[e].replace("#",t.toString()):St.translations[e]}function Se(e,t=document){return R(`[data-md-component=${e}]`,t)}function ae(e,t=document){return P(`[data-md-component=${e}]`,t)}function ka(e){let t=R(".md-typeset > :first-child",e);return h(t,"click",{once:!0}).pipe(m(()=>R(".md-typeset",e)),m(r=>({hash:__md_hash(r.innerHTML)})))}function xn(e){if(!B("announce.dismiss")||!e.childElementCount)return S;if(!e.hidden){let t=R(".md-typeset",e);__md_hash(t.innerHTML)===__md_get("__announce")&&(e.hidden=!0)}return C(()=>{let t=new g;return t.subscribe(({hash:r})=>{e.hidden=!0,__md_set("__announce",r)}),ka(e).pipe(w(r=>t.next(r)),_(()=>t.complete()),m(r=>$({ref:e},r)))})}function Ha(e,{target$:t}){return t.pipe(m(r=>({hidden:r!==e})))}function En(e,t){let r=new g;return r.subscribe(({hidden:o})=>{e.hidden=o}),Ha(e,t).pipe(w(o=>r.next(o)),_(()=>r.complete()),m(o=>$({ref:e},o)))}function Pt(e,t){return t==="inline"?x("div",{class:"md-tooltip md-tooltip--inline",id:e,role:"tooltip"},x("div",{class:"md-tooltip__inner md-typeset"})):x("div",{class:"md-tooltip",id:e,role:"tooltip"},x("div",{class:"md-tooltip__inner md-typeset"}))}function wn(...e){return x("div",{class:"md-tooltip2",role:"tooltip"},x("div",{class:"md-tooltip2__inner md-typeset"},e))}function Tn(e,t){if(t=t?`${t}_annotation_${e}`:void 0,t){let r=t?`#${t}`:void 0;return x("aside",{class:"md-annotation",tabIndex:0},Pt(t),x("a",{href:r,class:"md-annotation__index",tabIndex:-1},x("span",{"data-md-annotation-id":e})))}else return x("aside",{class:"md-annotation",tabIndex:0},Pt(t),x("span",{class:"md-annotation__index",tabIndex:-1},x("span",{"data-md-annotation-id":e})))}function Sn(e){return x("button",{class:"md-clipboard md-icon",title:Ee("clipboard.copy"),"data-clipboard-target":`#${e} > code`})}var Ln=Lt(qr());function Qr(e,t){let r=t&2,o=t&1,n=Object.keys(e.terms).filter(p=>!e.terms[p]).reduce((p,c)=>[...p,x("del",null,(0,Ln.default)(c))," "],[]).slice(0,-1),i=xe(),a=new URL(e.location,i.base);B("search.highlight")&&a.searchParams.set("h",Object.entries(e.terms).filter(([,p])=>p).reduce((p,[c])=>`${p} ${c}`.trim(),""));let{tags:s}=xe();return x("a",{href:`${a}`,class:"md-search-result__link",tabIndex:-1},x("article",{class:"md-search-result__article md-typeset","data-md-score":e.score.toFixed(2)},r>0&&x("div",{class:"md-search-result__icon md-icon"}),r>0&&x("h1",null,e.title),r<=0&&x("h2",null,e.title),o>0&&e.text.length>0&&e.text,e.tags&&x("nav",{class:"md-tags"},e.tags.map(p=>{let c=s?p in s?`md-tag-icon md-tag--${s[p]}`:"md-tag-icon":"";return x("span",{class:`md-tag ${c}`},p)})),o>0&&n.length>0&&x("p",{class:"md-search-result__terms"},Ee("search.result.term.missing"),": ",...n)))}function Mn(e){let t=e[0].score,r=[...e],o=xe(),n=r.findIndex(l=>!`${new URL(l.location,o.base)}`.includes("#")),[i]=r.splice(n,1),a=r.findIndex(l=>l.scoreQr(l,1)),...p.length?[x("details",{class:"md-search-result__more"},x("summary",{tabIndex:-1},x("div",null,p.length>0&&p.length===1?Ee("search.result.more.one"):Ee("search.result.more.other",p.length))),...p.map(l=>Qr(l,1)))]:[]];return x("li",{class:"md-search-result__item"},c)}function _n(e){return x("ul",{class:"md-source__facts"},Object.entries(e).map(([t,r])=>x("li",{class:`md-source__fact md-source__fact--${t}`},typeof r=="number"?sr(r):r)))}function Kr(e){let t=`tabbed-control tabbed-control--${e}`;return x("div",{class:t,hidden:!0},x("button",{class:"tabbed-button",tabIndex:-1,"aria-hidden":"true"}))}function An(e){return x("div",{class:"md-typeset__scrollwrap"},x("div",{class:"md-typeset__table"},e))}function Ra(e){var o;let t=xe(),r=new URL(`../${e.version}/`,t.base);return x("li",{class:"md-version__item"},x("a",{href:`${r}`,class:"md-version__link"},e.title,((o=t.version)==null?void 0:o.alias)&&e.aliases.length>0&&x("span",{class:"md-version__alias"},e.aliases[0])))}function Cn(e,t){var o;let r=xe();return e=e.filter(n=>{var i;return!((i=n.properties)!=null&&i.hidden)}),x("div",{class:"md-version"},x("button",{class:"md-version__current","aria-label":Ee("select.version")},t.title,((o=r.version)==null?void 0:o.alias)&&t.aliases.length>0&&x("span",{class:"md-version__alias"},t.aliases[0])),x("ul",{class:"md-version__list"},e.map(Ra)))}var Ia=0;function ja(e){let t=N([et(e),Ht(e)]).pipe(m(([o,n])=>o||n),K()),r=C(()=>Zo(e)).pipe(ne(ze),pt(1),He(t),m(()=>en(e)));return t.pipe(Ae(o=>o),v(()=>N([t,r])),m(([o,n])=>({active:o,offset:n})),pe())}function Fa(e,t){let{content$:r,viewport$:o}=t,n=`__tooltip2_${Ia++}`;return C(()=>{let i=new g,a=new _r(!1);i.pipe(Z(),ie(!1)).subscribe(a);let s=a.pipe(kt(c=>Le(+!c*250,kr)),K(),v(c=>c?r:S),w(c=>c.id=n),pe());N([i.pipe(m(({active:c})=>c)),s.pipe(v(c=>Ht(c,250)),Q(!1))]).pipe(m(c=>c.some(l=>l))).subscribe(a);let p=a.pipe(b(c=>c),re(s,o),m(([c,l,{size:f}])=>{let u=e.getBoundingClientRect(),d=u.width/2;if(l.role==="tooltip")return{x:d,y:8+u.height};if(u.y>=f.height/2){let{height:y}=ce(l);return{x:d,y:-16-y}}else return{x:d,y:16+u.height}}));return N([s,i,p]).subscribe(([c,{offset:l},f])=>{c.style.setProperty("--md-tooltip-host-x",`${l.x}px`),c.style.setProperty("--md-tooltip-host-y",`${l.y}px`),c.style.setProperty("--md-tooltip-x",`${f.x}px`),c.style.setProperty("--md-tooltip-y",`${f.y}px`),c.classList.toggle("md-tooltip2--top",f.y<0),c.classList.toggle("md-tooltip2--bottom",f.y>=0)}),a.pipe(b(c=>c),re(s,(c,l)=>l),b(c=>c.role==="tooltip")).subscribe(c=>{let l=ce(R(":scope > *",c));c.style.setProperty("--md-tooltip-width",`${l.width}px`),c.style.setProperty("--md-tooltip-tail","0px")}),a.pipe(K(),ve(me),re(s)).subscribe(([c,l])=>{l.classList.toggle("md-tooltip2--active",c)}),N([a.pipe(b(c=>c)),s]).subscribe(([c,l])=>{l.role==="dialog"?(e.setAttribute("aria-controls",n),e.setAttribute("aria-haspopup","dialog")):e.setAttribute("aria-describedby",n)}),a.pipe(b(c=>!c)).subscribe(()=>{e.removeAttribute("aria-controls"),e.removeAttribute("aria-describedby"),e.removeAttribute("aria-haspopup")}),ja(e).pipe(w(c=>i.next(c)),_(()=>i.complete()),m(c=>$({ref:e},c)))})}function mt(e,{viewport$:t},r=document.body){return Fa(e,{content$:new j(o=>{let n=e.title,i=wn(n);return o.next(i),e.removeAttribute("title"),r.append(i),()=>{i.remove(),e.setAttribute("title",n)}}),viewport$:t})}function Ua(e,t){let r=C(()=>N([tn(e),ze(t)])).pipe(m(([{x:o,y:n},i])=>{let{width:a,height:s}=ce(e);return{x:o-i.x+a/2,y:n-i.y+s/2}}));return et(e).pipe(v(o=>r.pipe(m(n=>({active:o,offset:n})),Te(+!o||1/0))))}function kn(e,t,{target$:r}){let[o,n]=Array.from(e.children);return C(()=>{let i=new g,a=i.pipe(Z(),ie(!0));return i.subscribe({next({offset:s}){e.style.setProperty("--md-tooltip-x",`${s.x}px`),e.style.setProperty("--md-tooltip-y",`${s.y}px`)},complete(){e.style.removeProperty("--md-tooltip-x"),e.style.removeProperty("--md-tooltip-y")}}),tt(e).pipe(W(a)).subscribe(s=>{e.toggleAttribute("data-md-visible",s)}),O(i.pipe(b(({active:s})=>s)),i.pipe(_e(250),b(({active:s})=>!s))).subscribe({next({active:s}){s?e.prepend(o):o.remove()},complete(){e.prepend(o)}}),i.pipe(Me(16,me)).subscribe(({active:s})=>{o.classList.toggle("md-tooltip--active",s)}),i.pipe(pt(125,me),b(()=>!!e.offsetParent),m(()=>e.offsetParent.getBoundingClientRect()),m(({x:s})=>s)).subscribe({next(s){s?e.style.setProperty("--md-tooltip-0",`${-s}px`):e.style.removeProperty("--md-tooltip-0")},complete(){e.style.removeProperty("--md-tooltip-0")}}),h(n,"click").pipe(W(a),b(s=>!(s.metaKey||s.ctrlKey))).subscribe(s=>{s.stopPropagation(),s.preventDefault()}),h(n,"mousedown").pipe(W(a),re(i)).subscribe(([s,{active:p}])=>{var c;if(s.button!==0||s.metaKey||s.ctrlKey)s.preventDefault();else if(p){s.preventDefault();let l=e.parentElement.closest(".md-annotation");l instanceof HTMLElement?l.focus():(c=Ie())==null||c.blur()}}),r.pipe(W(a),b(s=>s===o),Ge(125)).subscribe(()=>e.focus()),Ua(e,t).pipe(w(s=>i.next(s)),_(()=>i.complete()),m(s=>$({ref:e},s)))})}function Wa(e){return e.tagName==="CODE"?P(".c, .c1, .cm",e):[e]}function Va(e){let t=[];for(let r of Wa(e)){let o=[],n=document.createNodeIterator(r,NodeFilter.SHOW_TEXT);for(let i=n.nextNode();i;i=n.nextNode())o.push(i);for(let i of o){let a;for(;a=/(\(\d+\))(!)?/.exec(i.textContent);){let[,s,p]=a;if(typeof p=="undefined"){let c=i.splitText(a.index);i=c.splitText(s.length),t.push(c)}else{i.textContent=s,t.push(i);break}}}}return t}function Hn(e,t){t.append(...Array.from(e.childNodes))}function fr(e,t,{target$:r,print$:o}){let n=t.closest("[id]"),i=n==null?void 0:n.id,a=new Map;for(let s of Va(t)){let[,p]=s.textContent.match(/\((\d+)\)/);fe(`:scope > li:nth-child(${p})`,e)&&(a.set(p,Tn(p,i)),s.replaceWith(a.get(p)))}return a.size===0?S:C(()=>{let s=new g,p=s.pipe(Z(),ie(!0)),c=[];for(let[l,f]of a)c.push([R(".md-typeset",f),R(`:scope > li:nth-child(${l})`,e)]);return o.pipe(W(p)).subscribe(l=>{e.hidden=!l,e.classList.toggle("md-annotation-list",l);for(let[f,u]of c)l?Hn(f,u):Hn(u,f)}),O(...[...a].map(([,l])=>kn(l,t,{target$:r}))).pipe(_(()=>s.complete()),pe())})}function $n(e){if(e.nextElementSibling){let t=e.nextElementSibling;if(t.tagName==="OL")return t;if(t.tagName==="P"&&!t.children.length)return $n(t)}}function Pn(e,t){return C(()=>{let r=$n(e);return typeof r!="undefined"?fr(r,e,t):S})}var Rn=Lt(Br());var Da=0;function In(e){if(e.nextElementSibling){let t=e.nextElementSibling;if(t.tagName==="OL")return t;if(t.tagName==="P"&&!t.children.length)return In(t)}}function za(e){return ge(e).pipe(m(({width:t})=>({scrollable:Tt(e).width>t})),te("scrollable"))}function jn(e,t){let{matches:r}=matchMedia("(hover)"),o=C(()=>{let n=new g,i=n.pipe(jr(1));n.subscribe(({scrollable:c})=>{c&&r?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")});let a=[];if(Rn.default.isSupported()&&(e.closest(".copy")||B("content.code.copy")&&!e.closest(".no-copy"))){let c=e.closest("pre");c.id=`__code_${Da++}`;let l=Sn(c.id);c.insertBefore(l,e),B("content.tooltips")&&a.push(mt(l,{viewport$}))}let s=e.closest(".highlight");if(s instanceof HTMLElement){let c=In(s);if(typeof c!="undefined"&&(s.classList.contains("annotate")||B("content.code.annotate"))){let l=fr(c,e,t);a.push(ge(s).pipe(W(i),m(({width:f,height:u})=>f&&u),K(),v(f=>f?l:S)))}}return P(":scope > span[id]",e).length&&e.classList.add("md-code__content"),za(e).pipe(w(c=>n.next(c)),_(()=>n.complete()),m(c=>$({ref:e},c)),Re(...a))});return B("content.lazy")?tt(e).pipe(b(n=>n),Te(1),v(()=>o)):o}function Na(e,{target$:t,print$:r}){let o=!0;return O(t.pipe(m(n=>n.closest("details:not([open])")),b(n=>e===n),m(()=>({action:"open",reveal:!0}))),r.pipe(b(n=>n||!o),w(()=>o=e.open),m(n=>({action:n?"open":"close"}))))}function Fn(e,t){return C(()=>{let r=new g;return r.subscribe(({action:o,reveal:n})=>{e.toggleAttribute("open",o==="open"),n&&e.scrollIntoView()}),Na(e,t).pipe(w(o=>r.next(o)),_(()=>r.complete()),m(o=>$({ref:e},o)))})}var Un=".node circle,.node ellipse,.node path,.node polygon,.node rect{fill:var(--md-mermaid-node-bg-color);stroke:var(--md-mermaid-node-fg-color)}marker{fill:var(--md-mermaid-edge-color)!important}.edgeLabel .label rect{fill:#0000}.flowchartTitleText{fill:var(--md-mermaid-label-fg-color)}.label{color:var(--md-mermaid-label-fg-color);font-family:var(--md-mermaid-font-family)}.label foreignObject{line-height:normal;overflow:visible}.label div .edgeLabel{color:var(--md-mermaid-label-fg-color)}.edgeLabel,.edgeLabel p,.label div .edgeLabel{background-color:var(--md-mermaid-label-bg-color)}.edgeLabel,.edgeLabel p{fill:var(--md-mermaid-label-bg-color);color:var(--md-mermaid-edge-color)}.edgePath .path,.flowchart-link{stroke:var(--md-mermaid-edge-color);stroke-width:.05rem}.edgePath .arrowheadPath{fill:var(--md-mermaid-edge-color);stroke:none}.cluster rect{fill:var(--md-default-fg-color--lightest);stroke:var(--md-default-fg-color--lighter)}.cluster span{color:var(--md-mermaid-label-fg-color);font-family:var(--md-mermaid-font-family)}g #flowchart-circleEnd,g #flowchart-circleStart,g #flowchart-crossEnd,g #flowchart-crossStart,g #flowchart-pointEnd,g #flowchart-pointStart{stroke:none}.classDiagramTitleText{fill:var(--md-mermaid-label-fg-color)}g.classGroup line,g.classGroup rect{fill:var(--md-mermaid-node-bg-color);stroke:var(--md-mermaid-node-fg-color)}g.classGroup text{fill:var(--md-mermaid-label-fg-color);font-family:var(--md-mermaid-font-family)}.classLabel .box{fill:var(--md-mermaid-label-bg-color);background-color:var(--md-mermaid-label-bg-color);opacity:1}.classLabel .label{fill:var(--md-mermaid-label-fg-color);font-family:var(--md-mermaid-font-family)}.node .divider{stroke:var(--md-mermaid-node-fg-color)}.relation{stroke:var(--md-mermaid-edge-color)}.cardinality{fill:var(--md-mermaid-label-fg-color);font-family:var(--md-mermaid-font-family)}.cardinality text{fill:inherit!important}defs marker.marker.composition.class path,defs marker.marker.dependency.class path,defs marker.marker.extension.class path{fill:var(--md-mermaid-edge-color)!important;stroke:var(--md-mermaid-edge-color)!important}defs marker.marker.aggregation.class path{fill:var(--md-mermaid-label-bg-color)!important;stroke:var(--md-mermaid-edge-color)!important}.statediagramTitleText{fill:var(--md-mermaid-label-fg-color)}g.stateGroup rect{fill:var(--md-mermaid-node-bg-color);stroke:var(--md-mermaid-node-fg-color)}g.stateGroup .state-title{fill:var(--md-mermaid-label-fg-color)!important;font-family:var(--md-mermaid-font-family)}g.stateGroup .composit{fill:var(--md-mermaid-label-bg-color)}.nodeLabel,.nodeLabel p{color:var(--md-mermaid-label-fg-color);font-family:var(--md-mermaid-font-family)}a .nodeLabel{text-decoration:underline}.node circle.state-end,.node circle.state-start,.start-state{fill:var(--md-mermaid-edge-color);stroke:none}.end-state-inner,.end-state-outer{fill:var(--md-mermaid-edge-color)}.end-state-inner,.node circle.state-end{stroke:var(--md-mermaid-label-bg-color)}.transition{stroke:var(--md-mermaid-edge-color)}[id^=state-fork] rect,[id^=state-join] rect{fill:var(--md-mermaid-edge-color)!important;stroke:none!important}.statediagram-cluster.statediagram-cluster .inner{fill:var(--md-default-bg-color)}.statediagram-cluster rect{fill:var(--md-mermaid-node-bg-color);stroke:var(--md-mermaid-node-fg-color)}.statediagram-state rect.divider{fill:var(--md-default-fg-color--lightest);stroke:var(--md-default-fg-color--lighter)}defs #statediagram-barbEnd{stroke:var(--md-mermaid-edge-color)}[id^=entity] path,[id^=entity] rect{fill:var(--md-default-bg-color)}.relationshipLine{stroke:var(--md-mermaid-edge-color)}defs .marker.oneOrMore.er *,defs .marker.onlyOne.er *,defs .marker.zeroOrMore.er *,defs .marker.zeroOrOne.er *{stroke:var(--md-mermaid-edge-color)!important}text:not([class]):last-child{fill:var(--md-mermaid-label-fg-color)}.actor{fill:var(--md-mermaid-sequence-actor-bg-color);stroke:var(--md-mermaid-sequence-actor-border-color)}text.actor>tspan{fill:var(--md-mermaid-sequence-actor-fg-color);font-family:var(--md-mermaid-font-family)}line{stroke:var(--md-mermaid-sequence-actor-line-color)}.actor-man circle,.actor-man line{fill:var(--md-mermaid-sequence-actorman-bg-color);stroke:var(--md-mermaid-sequence-actorman-line-color)}.messageLine0,.messageLine1{stroke:var(--md-mermaid-sequence-message-line-color)}.note{fill:var(--md-mermaid-sequence-note-bg-color);stroke:var(--md-mermaid-sequence-note-border-color)}.loopText,.loopText>tspan,.messageText,.noteText>tspan{stroke:none;font-family:var(--md-mermaid-font-family)!important}.messageText{fill:var(--md-mermaid-sequence-message-fg-color)}.loopText,.loopText>tspan{fill:var(--md-mermaid-sequence-loop-fg-color)}.noteText>tspan{fill:var(--md-mermaid-sequence-note-fg-color)}#arrowhead path{fill:var(--md-mermaid-sequence-message-line-color);stroke:none}.loopLine{fill:var(--md-mermaid-sequence-loop-bg-color);stroke:var(--md-mermaid-sequence-loop-border-color)}.labelBox{fill:var(--md-mermaid-sequence-label-bg-color);stroke:none}.labelText,.labelText>span{fill:var(--md-mermaid-sequence-label-fg-color);font-family:var(--md-mermaid-font-family)}.sequenceNumber{fill:var(--md-mermaid-sequence-number-fg-color)}rect.rect{fill:var(--md-mermaid-sequence-box-bg-color);stroke:none}rect.rect+text.text{fill:var(--md-mermaid-sequence-box-fg-color)}defs #sequencenumber{fill:var(--md-mermaid-sequence-number-bg-color)!important}";var Gr,Qa=0;function Ka(){return typeof mermaid=="undefined"||mermaid instanceof Element?wt("https://unpkg.com/mermaid@11/dist/mermaid.min.js"):I(void 0)}function Wn(e){return e.classList.remove("mermaid"),Gr||(Gr=Ka().pipe(w(()=>mermaid.initialize({startOnLoad:!1,themeCSS:Un,sequence:{actorFontSize:"16px",messageFontSize:"16px",noteFontSize:"16px"}})),m(()=>{}),G(1))),Gr.subscribe(()=>co(null,null,function*(){e.classList.add("mermaid");let t=`__mermaid_${Qa++}`,r=x("div",{class:"mermaid"}),o=e.textContent,{svg:n,fn:i}=yield mermaid.render(t,o),a=r.attachShadow({mode:"closed"});a.innerHTML=n,e.replaceWith(r),i==null||i(a)})),Gr.pipe(m(()=>({ref:e})))}var Vn=x("table");function Dn(e){return e.replaceWith(Vn),Vn.replaceWith(An(e)),I({ref:e})}function Ya(e){let t=e.find(r=>r.checked)||e[0];return O(...e.map(r=>h(r,"change").pipe(m(()=>R(`label[for="${r.id}"]`))))).pipe(Q(R(`label[for="${t.id}"]`)),m(r=>({active:r})))}function zn(e,{viewport$:t,target$:r}){let o=R(".tabbed-labels",e),n=P(":scope > input",e),i=Kr("prev");e.append(i);let a=Kr("next");return e.append(a),C(()=>{let s=new g,p=s.pipe(Z(),ie(!0));N([s,ge(e),tt(e)]).pipe(W(p),Me(1,me)).subscribe({next([{active:c},l]){let f=De(c),{width:u}=ce(c);e.style.setProperty("--md-indicator-x",`${f.x}px`),e.style.setProperty("--md-indicator-width",`${u}px`);let d=pr(o);(f.xd.x+l.width)&&o.scrollTo({left:Math.max(0,f.x-16),behavior:"smooth"})},complete(){e.style.removeProperty("--md-indicator-x"),e.style.removeProperty("--md-indicator-width")}}),N([ze(o),ge(o)]).pipe(W(p)).subscribe(([c,l])=>{let f=Tt(o);i.hidden=c.x<16,a.hidden=c.x>f.width-l.width-16}),O(h(i,"click").pipe(m(()=>-1)),h(a,"click").pipe(m(()=>1))).pipe(W(p)).subscribe(c=>{let{width:l}=ce(o);o.scrollBy({left:l*c,behavior:"smooth"})}),r.pipe(W(p),b(c=>n.includes(c))).subscribe(c=>c.click()),o.classList.add("tabbed-labels--linked");for(let c of n){let l=R(`label[for="${c.id}"]`);l.replaceChildren(x("a",{href:`#${l.htmlFor}`,tabIndex:-1},...Array.from(l.childNodes))),h(l.firstElementChild,"click").pipe(W(p),b(f=>!(f.metaKey||f.ctrlKey)),w(f=>{f.preventDefault(),f.stopPropagation()})).subscribe(()=>{history.replaceState({},"",`#${l.htmlFor}`),l.click()})}return B("content.tabs.link")&&s.pipe(Ce(1),re(t)).subscribe(([{active:c},{offset:l}])=>{let f=c.innerText.trim();if(c.hasAttribute("data-md-switching"))c.removeAttribute("data-md-switching");else{let u=e.offsetTop-l.y;for(let y of P("[data-tabs]"))for(let L of P(":scope > input",y)){let X=R(`label[for="${L.id}"]`);if(X!==c&&X.innerText.trim()===f){X.setAttribute("data-md-switching",""),L.click();break}}window.scrollTo({top:e.offsetTop-u});let d=__md_get("__tabs")||[];__md_set("__tabs",[...new Set([f,...d])])}}),s.pipe(W(p)).subscribe(()=>{for(let c of P("audio, video",e))c.pause()}),Ya(n).pipe(w(c=>s.next(c)),_(()=>s.complete()),m(c=>$({ref:e},c)))}).pipe(Ke(se))}function Nn(e,{viewport$:t,target$:r,print$:o}){return O(...P(".annotate:not(.highlight)",e).map(n=>Pn(n,{target$:r,print$:o})),...P("pre:not(.mermaid) > code",e).map(n=>jn(n,{target$:r,print$:o})),...P("pre.mermaid",e).map(n=>Wn(n)),...P("table:not([class])",e).map(n=>Dn(n)),...P("details",e).map(n=>Fn(n,{target$:r,print$:o})),...P("[data-tabs]",e).map(n=>zn(n,{viewport$:t,target$:r})),...P("[title]",e).filter(()=>B("content.tooltips")).map(n=>mt(n,{viewport$:t})))}function Ba(e,{alert$:t}){return t.pipe(v(r=>O(I(!0),I(!1).pipe(Ge(2e3))).pipe(m(o=>({message:r,active:o})))))}function qn(e,t){let r=R(".md-typeset",e);return C(()=>{let o=new g;return o.subscribe(({message:n,active:i})=>{e.classList.toggle("md-dialog--active",i),r.textContent=n}),Ba(e,t).pipe(w(n=>o.next(n)),_(()=>o.complete()),m(n=>$({ref:e},n)))})}var Ga=0;function Ja(e,t){document.body.append(e);let{width:r}=ce(e);e.style.setProperty("--md-tooltip-width",`${r}px`),e.remove();let o=cr(t),n=typeof o!="undefined"?ze(o):I({x:0,y:0}),i=O(et(t),Ht(t)).pipe(K());return N([i,n]).pipe(m(([a,s])=>{let{x:p,y:c}=De(t),l=ce(t),f=t.closest("table");return f&&t.parentElement&&(p+=f.offsetLeft+t.parentElement.offsetLeft,c+=f.offsetTop+t.parentElement.offsetTop),{active:a,offset:{x:p-s.x+l.width/2-r/2,y:c-s.y+l.height+8}}}))}function Qn(e){let t=e.title;if(!t.length)return S;let r=`__tooltip_${Ga++}`,o=Pt(r,"inline"),n=R(".md-typeset",o);return n.innerHTML=t,C(()=>{let i=new g;return i.subscribe({next({offset:a}){o.style.setProperty("--md-tooltip-x",`${a.x}px`),o.style.setProperty("--md-tooltip-y",`${a.y}px`)},complete(){o.style.removeProperty("--md-tooltip-x"),o.style.removeProperty("--md-tooltip-y")}}),O(i.pipe(b(({active:a})=>a)),i.pipe(_e(250),b(({active:a})=>!a))).subscribe({next({active:a}){a?(e.insertAdjacentElement("afterend",o),e.setAttribute("aria-describedby",r),e.removeAttribute("title")):(o.remove(),e.removeAttribute("aria-describedby"),e.setAttribute("title",t))},complete(){o.remove(),e.removeAttribute("aria-describedby"),e.setAttribute("title",t)}}),i.pipe(Me(16,me)).subscribe(({active:a})=>{o.classList.toggle("md-tooltip--active",a)}),i.pipe(pt(125,me),b(()=>!!e.offsetParent),m(()=>e.offsetParent.getBoundingClientRect()),m(({x:a})=>a)).subscribe({next(a){a?o.style.setProperty("--md-tooltip-0",`${-a}px`):o.style.removeProperty("--md-tooltip-0")},complete(){o.style.removeProperty("--md-tooltip-0")}}),Ja(o,e).pipe(w(a=>i.next(a)),_(()=>i.complete()),m(a=>$({ref:e},a)))}).pipe(Ke(se))}function Xa({viewport$:e}){if(!B("header.autohide"))return I(!1);let t=e.pipe(m(({offset:{y:n}})=>n),Be(2,1),m(([n,i])=>[nMath.abs(i-n.y)>100),m(([,[n]])=>n),K()),o=Ne("search");return N([e,o]).pipe(m(([{offset:n},i])=>n.y>400&&!i),K(),v(n=>n?r:I(!1)),Q(!1))}function Kn(e,t){return C(()=>N([ge(e),Xa(t)])).pipe(m(([{height:r},o])=>({height:r,hidden:o})),K((r,o)=>r.height===o.height&&r.hidden===o.hidden),G(1))}function Yn(e,{header$:t,main$:r}){return C(()=>{let o=new g,n=o.pipe(Z(),ie(!0));o.pipe(te("active"),He(t)).subscribe(([{active:a},{hidden:s}])=>{e.classList.toggle("md-header--shadow",a&&!s),e.hidden=s});let i=ue(P("[title]",e)).pipe(b(()=>B("content.tooltips")),ne(a=>Qn(a)));return r.subscribe(o),t.pipe(W(n),m(a=>$({ref:e},a)),Re(i.pipe(W(n))))})}function Za(e,{viewport$:t,header$:r}){return mr(e,{viewport$:t,header$:r}).pipe(m(({offset:{y:o}})=>{let{height:n}=ce(e);return{active:o>=n}}),te("active"))}function Bn(e,t){return C(()=>{let r=new g;r.subscribe({next({active:n}){e.classList.toggle("md-header__title--active",n)},complete(){e.classList.remove("md-header__title--active")}});let o=fe(".md-content h1");return typeof o=="undefined"?S:Za(o,t).pipe(w(n=>r.next(n)),_(()=>r.complete()),m(n=>$({ref:e},n)))})}function Gn(e,{viewport$:t,header$:r}){let o=r.pipe(m(({height:i})=>i),K()),n=o.pipe(v(()=>ge(e).pipe(m(({height:i})=>({top:e.offsetTop,bottom:e.offsetTop+i})),te("bottom"))));return N([o,n,t]).pipe(m(([i,{top:a,bottom:s},{offset:{y:p},size:{height:c}}])=>(c=Math.max(0,c-Math.max(0,a-p,i)-Math.max(0,c+p-s)),{offset:a-i,height:c,active:a-i<=p})),K((i,a)=>i.offset===a.offset&&i.height===a.height&&i.active===a.active))}function es(e){let t=__md_get("__palette")||{index:e.findIndex(o=>matchMedia(o.getAttribute("data-md-color-media")).matches)},r=Math.max(0,Math.min(t.index,e.length-1));return I(...e).pipe(ne(o=>h(o,"change").pipe(m(()=>o))),Q(e[r]),m(o=>({index:e.indexOf(o),color:{media:o.getAttribute("data-md-color-media"),scheme:o.getAttribute("data-md-color-scheme"),primary:o.getAttribute("data-md-color-primary"),accent:o.getAttribute("data-md-color-accent")}})),G(1))}function Jn(e){let t=P("input",e),r=x("meta",{name:"theme-color"});document.head.appendChild(r);let o=x("meta",{name:"color-scheme"});document.head.appendChild(o);let n=$t("(prefers-color-scheme: light)");return C(()=>{let i=new g;return i.subscribe(a=>{if(document.body.setAttribute("data-md-color-switching",""),a.color.media==="(prefers-color-scheme)"){let s=matchMedia("(prefers-color-scheme: light)"),p=document.querySelector(s.matches?"[data-md-color-media='(prefers-color-scheme: light)']":"[data-md-color-media='(prefers-color-scheme: dark)']");a.color.scheme=p.getAttribute("data-md-color-scheme"),a.color.primary=p.getAttribute("data-md-color-primary"),a.color.accent=p.getAttribute("data-md-color-accent")}for(let[s,p]of Object.entries(a.color))document.body.setAttribute(`data-md-color-${s}`,p);for(let s=0;sa.key==="Enter"),re(i,(a,s)=>s)).subscribe(({index:a})=>{a=(a+1)%t.length,t[a].click(),t[a].focus()}),i.pipe(m(()=>{let a=Se("header"),s=window.getComputedStyle(a);return o.content=s.colorScheme,s.backgroundColor.match(/\d+/g).map(p=>(+p).toString(16).padStart(2,"0")).join("")})).subscribe(a=>r.content=`#${a}`),i.pipe(ve(se)).subscribe(()=>{document.body.removeAttribute("data-md-color-switching")}),es(t).pipe(W(n.pipe(Ce(1))),ct(),w(a=>i.next(a)),_(()=>i.complete()),m(a=>$({ref:e},a)))})}function Xn(e,{progress$:t}){return C(()=>{let r=new g;return r.subscribe(({value:o})=>{e.style.setProperty("--md-progress-value",`${o}`)}),t.pipe(w(o=>r.next({value:o})),_(()=>r.complete()),m(o=>({ref:e,value:o})))})}var Jr=Lt(Br());function ts(e){e.setAttribute("data-md-copying","");let t=e.closest("[data-copy]"),r=t?t.getAttribute("data-copy"):e.innerText;return e.removeAttribute("data-md-copying"),r.trimEnd()}function Zn({alert$:e}){Jr.default.isSupported()&&new j(t=>{new Jr.default("[data-clipboard-target], [data-clipboard-text]",{text:r=>r.getAttribute("data-clipboard-text")||ts(R(r.getAttribute("data-clipboard-target")))}).on("success",r=>t.next(r))}).pipe(w(t=>{t.trigger.focus()}),m(()=>Ee("clipboard.copied"))).subscribe(e)}function ei(e,t){return e.protocol=t.protocol,e.hostname=t.hostname,e}function rs(e,t){let r=new Map;for(let o of P("url",e)){let n=R("loc",o),i=[ei(new URL(n.textContent),t)];r.set(`${i[0]}`,i);for(let a of P("[rel=alternate]",o)){let s=a.getAttribute("href");s!=null&&i.push(ei(new URL(s),t))}}return r}function ur(e){return un(new URL("sitemap.xml",e)).pipe(m(t=>rs(t,new URL(e))),de(()=>I(new Map)))}function os(e,t){if(!(e.target instanceof Element))return S;let r=e.target.closest("a");if(r===null)return S;if(r.target||e.metaKey||e.ctrlKey)return S;let o=new URL(r.href);return o.search=o.hash="",t.has(`${o}`)?(e.preventDefault(),I(new URL(r.href))):S}function ti(e){let t=new Map;for(let r of P(":scope > *",e.head))t.set(r.outerHTML,r);return t}function ri(e){for(let t of P("[href], [src]",e))for(let r of["href","src"]){let o=t.getAttribute(r);if(o&&!/^(?:[a-z]+:)?\/\//i.test(o)){t[r]=t[r];break}}return I(e)}function ns(e){for(let o of["[data-md-component=announce]","[data-md-component=container]","[data-md-component=header-topic]","[data-md-component=outdated]","[data-md-component=logo]","[data-md-component=skip]",...B("navigation.tabs.sticky")?["[data-md-component=tabs]"]:[]]){let n=fe(o),i=fe(o,e);typeof n!="undefined"&&typeof i!="undefined"&&n.replaceWith(i)}let t=ti(document);for(let[o,n]of ti(e))t.has(o)?t.delete(o):document.head.appendChild(n);for(let o of t.values()){let n=o.getAttribute("name");n!=="theme-color"&&n!=="color-scheme"&&o.remove()}let r=Se("container");return We(P("script",r)).pipe(v(o=>{let n=e.createElement("script");if(o.src){for(let i of o.getAttributeNames())n.setAttribute(i,o.getAttribute(i));return o.replaceWith(n),new j(i=>{n.onload=()=>i.complete()})}else return n.textContent=o.textContent,o.replaceWith(n),S}),Z(),ie(document))}function oi({location$:e,viewport$:t,progress$:r}){let o=xe();if(location.protocol==="file:")return S;let n=ur(o.base);I(document).subscribe(ri);let i=h(document.body,"click").pipe(He(n),v(([p,c])=>os(p,c)),pe()),a=h(window,"popstate").pipe(m(ye),pe());i.pipe(re(t)).subscribe(([p,{offset:c}])=>{history.replaceState(c,""),history.pushState(null,"",p)}),O(i,a).subscribe(e);let s=e.pipe(te("pathname"),v(p=>fn(p,{progress$:r}).pipe(de(()=>(lt(p,!0),S)))),v(ri),v(ns),pe());return O(s.pipe(re(e,(p,c)=>c)),s.pipe(v(()=>e),te("hash")),e.pipe(K((p,c)=>p.pathname===c.pathname&&p.hash===c.hash),v(()=>i),w(()=>history.back()))).subscribe(p=>{var c,l;history.state!==null||!p.hash?window.scrollTo(0,(l=(c=history.state)==null?void 0:c.y)!=null?l:0):(history.scrollRestoration="auto",pn(p.hash),history.scrollRestoration="manual")}),e.subscribe(()=>{history.scrollRestoration="manual"}),h(window,"beforeunload").subscribe(()=>{history.scrollRestoration="auto"}),t.pipe(te("offset"),_e(100)).subscribe(({offset:p})=>{history.replaceState(p,"")}),s}var ni=Lt(qr());function ii(e){let t=e.separator.split("|").map(n=>n.replace(/(\(\?[!=<][^)]+\))/g,"").length===0?"\uFFFD":n).join("|"),r=new RegExp(t,"img"),o=(n,i,a)=>`${i}${a}`;return n=>{n=n.replace(/[\s*+\-:~^]+/g," ").trim();let i=new RegExp(`(^|${e.separator}|)(${n.replace(/[|\\{}()[\]^$+*?.-]/g,"\\$&").replace(r,"|")})`,"img");return a=>(0,ni.default)(a).replace(i,o).replace(/<\/mark>(\s+)]*>/img,"$1")}}function It(e){return e.type===1}function dr(e){return e.type===3}function ai(e,t){let r=yn(e);return O(I(location.protocol!=="file:"),Ne("search")).pipe(Ae(o=>o),v(()=>t)).subscribe(({config:o,docs:n})=>r.next({type:0,data:{config:o,docs:n,options:{suggest:B("search.suggest")}}})),r}function si(e){var l;let{selectedVersionSitemap:t,selectedVersionBaseURL:r,currentLocation:o,currentBaseURL:n}=e,i=(l=Xr(n))==null?void 0:l.pathname;if(i===void 0)return;let a=ss(o.pathname,i);if(a===void 0)return;let s=ps(t.keys());if(!t.has(s))return;let p=Xr(a,s);if(!p||!t.has(p.href))return;let c=Xr(a,r);if(c)return c.hash=o.hash,c.search=o.search,c}function Xr(e,t){try{return new URL(e,t)}catch(r){return}}function ss(e,t){if(e.startsWith(t))return e.slice(t.length)}function cs(e,t){let r=Math.min(e.length,t.length),o;for(o=0;oS)),o=r.pipe(m(n=>{let[,i]=t.base.match(/([^/]+)\/?$/);return n.find(({version:a,aliases:s})=>a===i||s.includes(i))||n[0]}));r.pipe(m(n=>new Map(n.map(i=>[`${new URL(`../${i.version}/`,t.base)}`,i]))),v(n=>h(document.body,"click").pipe(b(i=>!i.metaKey&&!i.ctrlKey),re(o),v(([i,a])=>{if(i.target instanceof Element){let s=i.target.closest("a");if(s&&!s.target&&n.has(s.href)){let p=s.href;return!i.target.closest(".md-version")&&n.get(p)===a?S:(i.preventDefault(),I(new URL(p)))}}return S}),v(i=>ur(i).pipe(m(a=>{var s;return(s=si({selectedVersionSitemap:a,selectedVersionBaseURL:i,currentLocation:ye(),currentBaseURL:t.base}))!=null?s:i})))))).subscribe(n=>lt(n,!0)),N([r,o]).subscribe(([n,i])=>{R(".md-header__topic").appendChild(Cn(n,i))}),e.pipe(v(()=>o)).subscribe(n=>{var s;let i=new URL(t.base),a=__md_get("__outdated",sessionStorage,i);if(a===null){a=!0;let p=((s=t.version)==null?void 0:s.default)||"latest";Array.isArray(p)||(p=[p]);e:for(let c of p)for(let l of n.aliases.concat(n.version))if(new RegExp(c,"i").test(l)){a=!1;break e}__md_set("__outdated",a,sessionStorage,i)}if(a)for(let p of ae("outdated"))p.hidden=!1})}function ls(e,{worker$:t}){let{searchParams:r}=ye();r.has("q")&&(Je("search",!0),e.value=r.get("q"),e.focus(),Ne("search").pipe(Ae(i=>!i)).subscribe(()=>{let i=ye();i.searchParams.delete("q"),history.replaceState({},"",`${i}`)}));let o=et(e),n=O(t.pipe(Ae(It)),h(e,"keyup"),o).pipe(m(()=>e.value),K());return N([n,o]).pipe(m(([i,a])=>({value:i,focus:a})),G(1))}function pi(e,{worker$:t}){let r=new g,o=r.pipe(Z(),ie(!0));N([t.pipe(Ae(It)),r],(i,a)=>a).pipe(te("value")).subscribe(({value:i})=>t.next({type:2,data:i})),r.pipe(te("focus")).subscribe(({focus:i})=>{i&&Je("search",i)}),h(e.form,"reset").pipe(W(o)).subscribe(()=>e.focus());let n=R("header [for=__search]");return h(n,"click").subscribe(()=>e.focus()),ls(e,{worker$:t}).pipe(w(i=>r.next(i)),_(()=>r.complete()),m(i=>$({ref:e},i)),G(1))}function li(e,{worker$:t,query$:r}){let o=new g,n=on(e.parentElement).pipe(b(Boolean)),i=e.parentElement,a=R(":scope > :first-child",e),s=R(":scope > :last-child",e);Ne("search").subscribe(l=>s.setAttribute("role",l?"list":"presentation")),o.pipe(re(r),Wr(t.pipe(Ae(It)))).subscribe(([{items:l},{value:f}])=>{switch(l.length){case 0:a.textContent=f.length?Ee("search.result.none"):Ee("search.result.placeholder");break;case 1:a.textContent=Ee("search.result.one");break;default:let u=sr(l.length);a.textContent=Ee("search.result.other",u)}});let p=o.pipe(w(()=>s.innerHTML=""),v(({items:l})=>O(I(...l.slice(0,10)),I(...l.slice(10)).pipe(Be(4),Dr(n),v(([f])=>f)))),m(Mn),pe());return p.subscribe(l=>s.appendChild(l)),p.pipe(ne(l=>{let f=fe("details",l);return typeof f=="undefined"?S:h(f,"toggle").pipe(W(o),m(()=>f))})).subscribe(l=>{l.open===!1&&l.offsetTop<=i.scrollTop&&i.scrollTo({top:l.offsetTop})}),t.pipe(b(dr),m(({data:l})=>l)).pipe(w(l=>o.next(l)),_(()=>o.complete()),m(l=>$({ref:e},l)))}function ms(e,{query$:t}){return t.pipe(m(({value:r})=>{let o=ye();return o.hash="",r=r.replace(/\s+/g,"+").replace(/&/g,"%26").replace(/=/g,"%3D"),o.search=`q=${r}`,{url:o}}))}function mi(e,t){let r=new g,o=r.pipe(Z(),ie(!0));return r.subscribe(({url:n})=>{e.setAttribute("data-clipboard-text",e.href),e.href=`${n}`}),h(e,"click").pipe(W(o)).subscribe(n=>n.preventDefault()),ms(e,t).pipe(w(n=>r.next(n)),_(()=>r.complete()),m(n=>$({ref:e},n)))}function fi(e,{worker$:t,keyboard$:r}){let o=new g,n=Se("search-query"),i=O(h(n,"keydown"),h(n,"focus")).pipe(ve(se),m(()=>n.value),K());return o.pipe(He(i),m(([{suggest:s},p])=>{let c=p.split(/([\s-]+)/);if(s!=null&&s.length&&c[c.length-1]){let l=s[s.length-1];l.startsWith(c[c.length-1])&&(c[c.length-1]=l)}else c.length=0;return c})).subscribe(s=>e.innerHTML=s.join("").replace(/\s/g," ")),r.pipe(b(({mode:s})=>s==="search")).subscribe(s=>{switch(s.type){case"ArrowRight":e.innerText.length&&n.selectionStart===n.value.length&&(n.value=e.innerText);break}}),t.pipe(b(dr),m(({data:s})=>s)).pipe(w(s=>o.next(s)),_(()=>o.complete()),m(()=>({ref:e})))}function ui(e,{index$:t,keyboard$:r}){let o=xe();try{let n=ai(o.search,t),i=Se("search-query",e),a=Se("search-result",e);h(e,"click").pipe(b(({target:p})=>p instanceof Element&&!!p.closest("a"))).subscribe(()=>Je("search",!1)),r.pipe(b(({mode:p})=>p==="search")).subscribe(p=>{let c=Ie();switch(p.type){case"Enter":if(c===i){let l=new Map;for(let f of P(":first-child [href]",a)){let u=f.firstElementChild;l.set(f,parseFloat(u.getAttribute("data-md-score")))}if(l.size){let[[f]]=[...l].sort(([,u],[,d])=>d-u);f.click()}p.claim()}break;case"Escape":case"Tab":Je("search",!1),i.blur();break;case"ArrowUp":case"ArrowDown":if(typeof c=="undefined")i.focus();else{let l=[i,...P(":not(details) > [href], summary, details[open] [href]",a)],f=Math.max(0,(Math.max(0,l.indexOf(c))+l.length+(p.type==="ArrowUp"?-1:1))%l.length);l[f].focus()}p.claim();break;default:i!==Ie()&&i.focus()}}),r.pipe(b(({mode:p})=>p==="global")).subscribe(p=>{switch(p.type){case"f":case"s":case"/":i.focus(),i.select(),p.claim();break}});let s=pi(i,{worker$:n});return O(s,li(a,{worker$:n,query$:s})).pipe(Re(...ae("search-share",e).map(p=>mi(p,{query$:s})),...ae("search-suggest",e).map(p=>fi(p,{worker$:n,keyboard$:r}))))}catch(n){return e.hidden=!0,Ye}}function di(e,{index$:t,location$:r}){return N([t,r.pipe(Q(ye()),b(o=>!!o.searchParams.get("h")))]).pipe(m(([o,n])=>ii(o.config)(n.searchParams.get("h"))),m(o=>{var a;let n=new Map,i=document.createNodeIterator(e,NodeFilter.SHOW_TEXT);for(let s=i.nextNode();s;s=i.nextNode())if((a=s.parentElement)!=null&&a.offsetHeight){let p=s.textContent,c=o(p);c.length>p.length&&n.set(s,c)}for(let[s,p]of n){let{childNodes:c}=x("span",null,p);s.replaceWith(...Array.from(c))}return{ref:e,nodes:n}}))}function fs(e,{viewport$:t,main$:r}){let o=e.closest(".md-grid"),n=o.offsetTop-o.parentElement.offsetTop;return N([r,t]).pipe(m(([{offset:i,height:a},{offset:{y:s}}])=>(a=a+Math.min(n,Math.max(0,s-i))-n,{height:a,locked:s>=i+n})),K((i,a)=>i.height===a.height&&i.locked===a.locked))}function Zr(e,o){var n=o,{header$:t}=n,r=so(n,["header$"]);let i=R(".md-sidebar__scrollwrap",e),{y:a}=De(i);return C(()=>{let s=new g,p=s.pipe(Z(),ie(!0)),c=s.pipe(Me(0,me));return c.pipe(re(t)).subscribe({next([{height:l},{height:f}]){i.style.height=`${l-2*a}px`,e.style.top=`${f}px`},complete(){i.style.height="",e.style.top=""}}),c.pipe(Ae()).subscribe(()=>{for(let l of P(".md-nav__link--active[href]",e)){if(!l.clientHeight)continue;let f=l.closest(".md-sidebar__scrollwrap");if(typeof f!="undefined"){let u=l.offsetTop-f.offsetTop,{height:d}=ce(f);f.scrollTo({top:u-d/2})}}}),ue(P("label[tabindex]",e)).pipe(ne(l=>h(l,"click").pipe(ve(se),m(()=>l),W(p)))).subscribe(l=>{let f=R(`[id="${l.htmlFor}"]`);R(`[aria-labelledby="${l.id}"]`).setAttribute("aria-expanded",`${f.checked}`)}),fs(e,r).pipe(w(l=>s.next(l)),_(()=>s.complete()),m(l=>$({ref:e},l)))})}function hi(e,t){if(typeof t!="undefined"){let r=`https://api.github.com/repos/${e}/${t}`;return st(je(`${r}/releases/latest`).pipe(de(()=>S),m(o=>({version:o.tag_name})),Ve({})),je(r).pipe(de(()=>S),m(o=>({stars:o.stargazers_count,forks:o.forks_count})),Ve({}))).pipe(m(([o,n])=>$($({},o),n)))}else{let r=`https://api.github.com/users/${e}`;return je(r).pipe(m(o=>({repositories:o.public_repos})),Ve({}))}}function bi(e,t){let r=`https://${e}/api/v4/projects/${encodeURIComponent(t)}`;return st(je(`${r}/releases/permalink/latest`).pipe(de(()=>S),m(({tag_name:o})=>({version:o})),Ve({})),je(r).pipe(de(()=>S),m(({star_count:o,forks_count:n})=>({stars:o,forks:n})),Ve({}))).pipe(m(([o,n])=>$($({},o),n)))}function vi(e){let t=e.match(/^.+github\.com\/([^/]+)\/?([^/]+)?/i);if(t){let[,r,o]=t;return hi(r,o)}if(t=e.match(/^.+?([^/]*gitlab[^/]+)\/(.+?)\/?$/i),t){let[,r,o]=t;return bi(r,o)}return S}var us;function ds(e){return us||(us=C(()=>{let t=__md_get("__source",sessionStorage);if(t)return I(t);if(ae("consent").length){let o=__md_get("__consent");if(!(o&&o.github))return S}return vi(e.href).pipe(w(o=>__md_set("__source",o,sessionStorage)))}).pipe(de(()=>S),b(t=>Object.keys(t).length>0),m(t=>({facts:t})),G(1)))}function gi(e){let t=R(":scope > :last-child",e);return C(()=>{let r=new g;return r.subscribe(({facts:o})=>{t.appendChild(_n(o)),t.classList.add("md-source__repository--active")}),ds(e).pipe(w(o=>r.next(o)),_(()=>r.complete()),m(o=>$({ref:e},o)))})}function hs(e,{viewport$:t,header$:r}){return ge(document.body).pipe(v(()=>mr(e,{header$:r,viewport$:t})),m(({offset:{y:o}})=>({hidden:o>=10})),te("hidden"))}function yi(e,t){return C(()=>{let r=new g;return r.subscribe({next({hidden:o}){e.hidden=o},complete(){e.hidden=!1}}),(B("navigation.tabs.sticky")?I({hidden:!1}):hs(e,t)).pipe(w(o=>r.next(o)),_(()=>r.complete()),m(o=>$({ref:e},o)))})}function bs(e,{viewport$:t,header$:r}){let o=new Map,n=P(".md-nav__link",e);for(let s of n){let p=decodeURIComponent(s.hash.substring(1)),c=fe(`[id="${p}"]`);typeof c!="undefined"&&o.set(s,c)}let i=r.pipe(te("height"),m(({height:s})=>{let p=Se("main"),c=R(":scope > :first-child",p);return s+.8*(c.offsetTop-p.offsetTop)}),pe());return ge(document.body).pipe(te("height"),v(s=>C(()=>{let p=[];return I([...o].reduce((c,[l,f])=>{for(;p.length&&o.get(p[p.length-1]).tagName>=f.tagName;)p.pop();let u=f.offsetTop;for(;!u&&f.parentElement;)f=f.parentElement,u=f.offsetTop;let d=f.offsetParent;for(;d;d=d.offsetParent)u+=d.offsetTop;return c.set([...p=[...p,l]].reverse(),u)},new Map))}).pipe(m(p=>new Map([...p].sort(([,c],[,l])=>c-l))),He(i),v(([p,c])=>t.pipe(Fr(([l,f],{offset:{y:u},size:d})=>{let y=u+d.height>=Math.floor(s.height);for(;f.length;){let[,L]=f[0];if(L-c=u&&!y)f=[l.pop(),...f];else break}return[l,f]},[[],[...p]]),K((l,f)=>l[0]===f[0]&&l[1]===f[1])))))).pipe(m(([s,p])=>({prev:s.map(([c])=>c),next:p.map(([c])=>c)})),Q({prev:[],next:[]}),Be(2,1),m(([s,p])=>s.prev.length{let i=new g,a=i.pipe(Z(),ie(!0));if(i.subscribe(({prev:s,next:p})=>{for(let[c]of p)c.classList.remove("md-nav__link--passed"),c.classList.remove("md-nav__link--active");for(let[c,[l]]of s.entries())l.classList.add("md-nav__link--passed"),l.classList.toggle("md-nav__link--active",c===s.length-1)}),B("toc.follow")){let s=O(t.pipe(_e(1),m(()=>{})),t.pipe(_e(250),m(()=>"smooth")));i.pipe(b(({prev:p})=>p.length>0),He(o.pipe(ve(se))),re(s)).subscribe(([[{prev:p}],c])=>{let[l]=p[p.length-1];if(l.offsetHeight){let f=cr(l);if(typeof f!="undefined"){let u=l.offsetTop-f.offsetTop,{height:d}=ce(f);f.scrollTo({top:u-d/2,behavior:c})}}})}return B("navigation.tracking")&&t.pipe(W(a),te("offset"),_e(250),Ce(1),W(n.pipe(Ce(1))),ct({delay:250}),re(i)).subscribe(([,{prev:s}])=>{let p=ye(),c=s[s.length-1];if(c&&c.length){let[l]=c,{hash:f}=new URL(l.href);p.hash!==f&&(p.hash=f,history.replaceState({},"",`${p}`))}else p.hash="",history.replaceState({},"",`${p}`)}),bs(e,{viewport$:t,header$:r}).pipe(w(s=>i.next(s)),_(()=>i.complete()),m(s=>$({ref:e},s)))})}function vs(e,{viewport$:t,main$:r,target$:o}){let n=t.pipe(m(({offset:{y:a}})=>a),Be(2,1),m(([a,s])=>a>s&&s>0),K()),i=r.pipe(m(({active:a})=>a));return N([i,n]).pipe(m(([a,s])=>!(a&&s)),K(),W(o.pipe(Ce(1))),ie(!0),ct({delay:250}),m(a=>({hidden:a})))}function Ei(e,{viewport$:t,header$:r,main$:o,target$:n}){let i=new g,a=i.pipe(Z(),ie(!0));return i.subscribe({next({hidden:s}){e.hidden=s,s?(e.setAttribute("tabindex","-1"),e.blur()):e.removeAttribute("tabindex")},complete(){e.style.top="",e.hidden=!0,e.removeAttribute("tabindex")}}),r.pipe(W(a),te("height")).subscribe(({height:s})=>{e.style.top=`${s+16}px`}),h(e,"click").subscribe(s=>{s.preventDefault(),window.scrollTo({top:0})}),vs(e,{viewport$:t,main$:o,target$:n}).pipe(w(s=>i.next(s)),_(()=>i.complete()),m(s=>$({ref:e},s)))}function wi({document$:e,viewport$:t}){e.pipe(v(()=>P(".md-ellipsis")),ne(r=>tt(r).pipe(W(e.pipe(Ce(1))),b(o=>o),m(()=>r),Te(1))),b(r=>r.offsetWidth{let o=r.innerText,n=r.closest("a")||r;return n.title=o,B("content.tooltips")?mt(n,{viewport$:t}).pipe(W(e.pipe(Ce(1))),_(()=>n.removeAttribute("title"))):S})).subscribe(),B("content.tooltips")&&e.pipe(v(()=>P(".md-status")),ne(r=>mt(r,{viewport$:t}))).subscribe()}function Ti({document$:e,tablet$:t}){e.pipe(v(()=>P(".md-toggle--indeterminate")),w(r=>{r.indeterminate=!0,r.checked=!1}),ne(r=>h(r,"change").pipe(Vr(()=>r.classList.contains("md-toggle--indeterminate")),m(()=>r))),re(t)).subscribe(([r,o])=>{r.classList.remove("md-toggle--indeterminate"),o&&(r.checked=!1)})}function gs(){return/(iPad|iPhone|iPod)/.test(navigator.userAgent)}function Si({document$:e}){e.pipe(v(()=>P("[data-md-scrollfix]")),w(t=>t.removeAttribute("data-md-scrollfix")),b(gs),ne(t=>h(t,"touchstart").pipe(m(()=>t)))).subscribe(t=>{let r=t.scrollTop;r===0?t.scrollTop=1:r+t.offsetHeight===t.scrollHeight&&(t.scrollTop=r-1)})}function Oi({viewport$:e,tablet$:t}){N([Ne("search"),t]).pipe(m(([r,o])=>r&&!o),v(r=>I(r).pipe(Ge(r?400:100))),re(e)).subscribe(([r,{offset:{y:o}}])=>{if(r)document.body.setAttribute("data-md-scrolllock",""),document.body.style.top=`-${o}px`;else{let n=-1*parseInt(document.body.style.top,10);document.body.removeAttribute("data-md-scrolllock"),document.body.style.top="",n&&window.scrollTo(0,n)}})}Object.entries||(Object.entries=function(e){let t=[];for(let r of Object.keys(e))t.push([r,e[r]]);return t});Object.values||(Object.values=function(e){let t=[];for(let r of Object.keys(e))t.push(e[r]);return t});typeof Element!="undefined"&&(Element.prototype.scrollTo||(Element.prototype.scrollTo=function(e,t){typeof e=="object"?(this.scrollLeft=e.left,this.scrollTop=e.top):(this.scrollLeft=e,this.scrollTop=t)}),Element.prototype.replaceWith||(Element.prototype.replaceWith=function(...e){let t=this.parentNode;if(t){e.length===0&&t.removeChild(this);for(let r=e.length-1;r>=0;r--){let o=e[r];typeof o=="string"?o=document.createTextNode(o):o.parentNode&&o.parentNode.removeChild(o),r?t.insertBefore(this.previousSibling,o):t.replaceChild(o,this)}}}));function ys(){return location.protocol==="file:"?wt(`${new URL("search/search_index.js",eo.base)}`).pipe(m(()=>__index),G(1)):je(new URL("search/search_index.json",eo.base))}document.documentElement.classList.remove("no-js");document.documentElement.classList.add("js");var ot=Go(),Ft=sn(),Ot=ln(Ft),to=an(),Oe=gn(),hr=$t("(min-width: 960px)"),Mi=$t("(min-width: 1220px)"),_i=mn(),eo=xe(),Ai=document.forms.namedItem("search")?ys():Ye,ro=new g;Zn({alert$:ro});var oo=new g;B("navigation.instant")&&oi({location$:Ft,viewport$:Oe,progress$:oo}).subscribe(ot);var Li;((Li=eo.version)==null?void 0:Li.provider)==="mike"&&ci({document$:ot});O(Ft,Ot).pipe(Ge(125)).subscribe(()=>{Je("drawer",!1),Je("search",!1)});to.pipe(b(({mode:e})=>e==="global")).subscribe(e=>{switch(e.type){case"p":case",":let t=fe("link[rel=prev]");typeof t!="undefined"&<(t);break;case"n":case".":let r=fe("link[rel=next]");typeof r!="undefined"&<(r);break;case"Enter":let o=Ie();o instanceof HTMLLabelElement&&o.click()}});wi({viewport$:Oe,document$:ot});Ti({document$:ot,tablet$:hr});Si({document$:ot});Oi({viewport$:Oe,tablet$:hr});var rt=Kn(Se("header"),{viewport$:Oe}),jt=ot.pipe(m(()=>Se("main")),v(e=>Gn(e,{viewport$:Oe,header$:rt})),G(1)),xs=O(...ae("consent").map(e=>En(e,{target$:Ot})),...ae("dialog").map(e=>qn(e,{alert$:ro})),...ae("palette").map(e=>Jn(e)),...ae("progress").map(e=>Xn(e,{progress$:oo})),...ae("search").map(e=>ui(e,{index$:Ai,keyboard$:to})),...ae("source").map(e=>gi(e))),Es=C(()=>O(...ae("announce").map(e=>xn(e)),...ae("content").map(e=>Nn(e,{viewport$:Oe,target$:Ot,print$:_i})),...ae("content").map(e=>B("search.highlight")?di(e,{index$:Ai,location$:Ft}):S),...ae("header").map(e=>Yn(e,{viewport$:Oe,header$:rt,main$:jt})),...ae("header-title").map(e=>Bn(e,{viewport$:Oe,header$:rt})),...ae("sidebar").map(e=>e.getAttribute("data-md-type")==="navigation"?zr(Mi,()=>Zr(e,{viewport$:Oe,header$:rt,main$:jt})):zr(hr,()=>Zr(e,{viewport$:Oe,header$:rt,main$:jt}))),...ae("tabs").map(e=>yi(e,{viewport$:Oe,header$:rt})),...ae("toc").map(e=>xi(e,{viewport$:Oe,header$:rt,main$:jt,target$:Ot})),...ae("top").map(e=>Ei(e,{viewport$:Oe,header$:rt,main$:jt,target$:Ot})))),Ci=ot.pipe(v(()=>Es),Re(xs),G(1));Ci.subscribe();window.document$=ot;window.location$=Ft;window.target$=Ot;window.keyboard$=to;window.viewport$=Oe;window.tablet$=hr;window.screen$=Mi;window.print$=_i;window.alert$=ro;window.progress$=oo;window.component$=Ci;})(); +//# sourceMappingURL=bundle.13a4f30d.min.js.map + diff --git a/mkdocs/site/assets/javascripts/bundle.13a4f30d.min.js.map b/mkdocs/site/assets/javascripts/bundle.13a4f30d.min.js.map new file mode 100644 index 0000000..8941cb8 --- /dev/null +++ b/mkdocs/site/assets/javascripts/bundle.13a4f30d.min.js.map @@ -0,0 +1,7 @@ +{ + "version": 3, + "sources": ["node_modules/focus-visible/dist/focus-visible.js", "node_modules/escape-html/index.js", "node_modules/clipboard/dist/clipboard.js", "src/templates/assets/javascripts/bundle.ts", "node_modules/tslib/tslib.es6.mjs", "node_modules/rxjs/src/internal/util/isFunction.ts", "node_modules/rxjs/src/internal/util/createErrorClass.ts", "node_modules/rxjs/src/internal/util/UnsubscriptionError.ts", "node_modules/rxjs/src/internal/util/arrRemove.ts", "node_modules/rxjs/src/internal/Subscription.ts", "node_modules/rxjs/src/internal/config.ts", "node_modules/rxjs/src/internal/scheduler/timeoutProvider.ts", "node_modules/rxjs/src/internal/util/reportUnhandledError.ts", "node_modules/rxjs/src/internal/util/noop.ts", "node_modules/rxjs/src/internal/NotificationFactories.ts", "node_modules/rxjs/src/internal/util/errorContext.ts", "node_modules/rxjs/src/internal/Subscriber.ts", "node_modules/rxjs/src/internal/symbol/observable.ts", "node_modules/rxjs/src/internal/util/identity.ts", "node_modules/rxjs/src/internal/util/pipe.ts", "node_modules/rxjs/src/internal/Observable.ts", "node_modules/rxjs/src/internal/util/lift.ts", "node_modules/rxjs/src/internal/operators/OperatorSubscriber.ts", "node_modules/rxjs/src/internal/scheduler/animationFrameProvider.ts", "node_modules/rxjs/src/internal/util/ObjectUnsubscribedError.ts", "node_modules/rxjs/src/internal/Subject.ts", "node_modules/rxjs/src/internal/BehaviorSubject.ts", "node_modules/rxjs/src/internal/scheduler/dateTimestampProvider.ts", "node_modules/rxjs/src/internal/ReplaySubject.ts", "node_modules/rxjs/src/internal/scheduler/Action.ts", "node_modules/rxjs/src/internal/scheduler/intervalProvider.ts", "node_modules/rxjs/src/internal/scheduler/AsyncAction.ts", "node_modules/rxjs/src/internal/Scheduler.ts", "node_modules/rxjs/src/internal/scheduler/AsyncScheduler.ts", "node_modules/rxjs/src/internal/scheduler/async.ts", "node_modules/rxjs/src/internal/scheduler/QueueAction.ts", "node_modules/rxjs/src/internal/scheduler/QueueScheduler.ts", "node_modules/rxjs/src/internal/scheduler/queue.ts", "node_modules/rxjs/src/internal/scheduler/AnimationFrameAction.ts", "node_modules/rxjs/src/internal/scheduler/AnimationFrameScheduler.ts", "node_modules/rxjs/src/internal/scheduler/animationFrame.ts", "node_modules/rxjs/src/internal/observable/empty.ts", "node_modules/rxjs/src/internal/util/isScheduler.ts", "node_modules/rxjs/src/internal/util/args.ts", "node_modules/rxjs/src/internal/util/isArrayLike.ts", "node_modules/rxjs/src/internal/util/isPromise.ts", "node_modules/rxjs/src/internal/util/isInteropObservable.ts", "node_modules/rxjs/src/internal/util/isAsyncIterable.ts", "node_modules/rxjs/src/internal/util/throwUnobservableError.ts", "node_modules/rxjs/src/internal/symbol/iterator.ts", "node_modules/rxjs/src/internal/util/isIterable.ts", "node_modules/rxjs/src/internal/util/isReadableStreamLike.ts", "node_modules/rxjs/src/internal/observable/innerFrom.ts", "node_modules/rxjs/src/internal/util/executeSchedule.ts", "node_modules/rxjs/src/internal/operators/observeOn.ts", "node_modules/rxjs/src/internal/operators/subscribeOn.ts", "node_modules/rxjs/src/internal/scheduled/scheduleObservable.ts", "node_modules/rxjs/src/internal/scheduled/schedulePromise.ts", "node_modules/rxjs/src/internal/scheduled/scheduleArray.ts", "node_modules/rxjs/src/internal/scheduled/scheduleIterable.ts", "node_modules/rxjs/src/internal/scheduled/scheduleAsyncIterable.ts", "node_modules/rxjs/src/internal/scheduled/scheduleReadableStreamLike.ts", "node_modules/rxjs/src/internal/scheduled/scheduled.ts", "node_modules/rxjs/src/internal/observable/from.ts", "node_modules/rxjs/src/internal/observable/of.ts", "node_modules/rxjs/src/internal/observable/throwError.ts", "node_modules/rxjs/src/internal/util/EmptyError.ts", "node_modules/rxjs/src/internal/util/isDate.ts", "node_modules/rxjs/src/internal/operators/map.ts", "node_modules/rxjs/src/internal/util/mapOneOrManyArgs.ts", "node_modules/rxjs/src/internal/util/argsArgArrayOrObject.ts", "node_modules/rxjs/src/internal/util/createObject.ts", "node_modules/rxjs/src/internal/observable/combineLatest.ts", "node_modules/rxjs/src/internal/operators/mergeInternals.ts", "node_modules/rxjs/src/internal/operators/mergeMap.ts", "node_modules/rxjs/src/internal/operators/mergeAll.ts", "node_modules/rxjs/src/internal/operators/concatAll.ts", "node_modules/rxjs/src/internal/observable/concat.ts", "node_modules/rxjs/src/internal/observable/defer.ts", "node_modules/rxjs/src/internal/observable/fromEvent.ts", "node_modules/rxjs/src/internal/observable/fromEventPattern.ts", "node_modules/rxjs/src/internal/observable/timer.ts", "node_modules/rxjs/src/internal/observable/merge.ts", "node_modules/rxjs/src/internal/observable/never.ts", "node_modules/rxjs/src/internal/util/argsOrArgArray.ts", "node_modules/rxjs/src/internal/operators/filter.ts", "node_modules/rxjs/src/internal/observable/zip.ts", "node_modules/rxjs/src/internal/operators/audit.ts", "node_modules/rxjs/src/internal/operators/auditTime.ts", "node_modules/rxjs/src/internal/operators/bufferCount.ts", "node_modules/rxjs/src/internal/operators/catchError.ts", "node_modules/rxjs/src/internal/operators/scanInternals.ts", "node_modules/rxjs/src/internal/operators/combineLatest.ts", "node_modules/rxjs/src/internal/operators/combineLatestWith.ts", "node_modules/rxjs/src/internal/operators/debounce.ts", "node_modules/rxjs/src/internal/operators/debounceTime.ts", "node_modules/rxjs/src/internal/operators/defaultIfEmpty.ts", "node_modules/rxjs/src/internal/operators/take.ts", "node_modules/rxjs/src/internal/operators/ignoreElements.ts", "node_modules/rxjs/src/internal/operators/mapTo.ts", "node_modules/rxjs/src/internal/operators/delayWhen.ts", "node_modules/rxjs/src/internal/operators/delay.ts", "node_modules/rxjs/src/internal/operators/distinctUntilChanged.ts", "node_modules/rxjs/src/internal/operators/distinctUntilKeyChanged.ts", "node_modules/rxjs/src/internal/operators/throwIfEmpty.ts", "node_modules/rxjs/src/internal/operators/endWith.ts", "node_modules/rxjs/src/internal/operators/finalize.ts", "node_modules/rxjs/src/internal/operators/first.ts", "node_modules/rxjs/src/internal/operators/takeLast.ts", "node_modules/rxjs/src/internal/operators/merge.ts", "node_modules/rxjs/src/internal/operators/mergeWith.ts", "node_modules/rxjs/src/internal/operators/repeat.ts", "node_modules/rxjs/src/internal/operators/scan.ts", "node_modules/rxjs/src/internal/operators/share.ts", "node_modules/rxjs/src/internal/operators/shareReplay.ts", "node_modules/rxjs/src/internal/operators/skip.ts", "node_modules/rxjs/src/internal/operators/skipUntil.ts", "node_modules/rxjs/src/internal/operators/startWith.ts", "node_modules/rxjs/src/internal/operators/switchMap.ts", "node_modules/rxjs/src/internal/operators/takeUntil.ts", "node_modules/rxjs/src/internal/operators/takeWhile.ts", "node_modules/rxjs/src/internal/operators/tap.ts", "node_modules/rxjs/src/internal/operators/throttle.ts", "node_modules/rxjs/src/internal/operators/throttleTime.ts", "node_modules/rxjs/src/internal/operators/withLatestFrom.ts", "node_modules/rxjs/src/internal/operators/zip.ts", "node_modules/rxjs/src/internal/operators/zipWith.ts", "src/templates/assets/javascripts/browser/document/index.ts", "src/templates/assets/javascripts/browser/element/_/index.ts", "src/templates/assets/javascripts/browser/element/focus/index.ts", "src/templates/assets/javascripts/browser/element/hover/index.ts", "src/templates/assets/javascripts/utilities/h/index.ts", "src/templates/assets/javascripts/utilities/round/index.ts", "src/templates/assets/javascripts/browser/script/index.ts", "src/templates/assets/javascripts/browser/element/size/_/index.ts", "src/templates/assets/javascripts/browser/element/size/content/index.ts", "src/templates/assets/javascripts/browser/element/offset/_/index.ts", "src/templates/assets/javascripts/browser/element/offset/content/index.ts", "src/templates/assets/javascripts/browser/element/visibility/index.ts", "src/templates/assets/javascripts/browser/toggle/index.ts", "src/templates/assets/javascripts/browser/keyboard/index.ts", "src/templates/assets/javascripts/browser/location/_/index.ts", "src/templates/assets/javascripts/browser/location/hash/index.ts", "src/templates/assets/javascripts/browser/media/index.ts", "src/templates/assets/javascripts/browser/request/index.ts", "src/templates/assets/javascripts/browser/viewport/offset/index.ts", "src/templates/assets/javascripts/browser/viewport/size/index.ts", "src/templates/assets/javascripts/browser/viewport/_/index.ts", "src/templates/assets/javascripts/browser/viewport/at/index.ts", "src/templates/assets/javascripts/browser/worker/index.ts", "src/templates/assets/javascripts/_/index.ts", "src/templates/assets/javascripts/components/_/index.ts", "src/templates/assets/javascripts/components/announce/index.ts", "src/templates/assets/javascripts/components/consent/index.ts", "src/templates/assets/javascripts/templates/tooltip/index.tsx", "src/templates/assets/javascripts/templates/annotation/index.tsx", "src/templates/assets/javascripts/templates/clipboard/index.tsx", "src/templates/assets/javascripts/templates/search/index.tsx", "src/templates/assets/javascripts/templates/source/index.tsx", "src/templates/assets/javascripts/templates/tabbed/index.tsx", "src/templates/assets/javascripts/templates/table/index.tsx", "src/templates/assets/javascripts/templates/version/index.tsx", "src/templates/assets/javascripts/components/tooltip2/index.ts", "src/templates/assets/javascripts/components/content/annotation/_/index.ts", "src/templates/assets/javascripts/components/content/annotation/list/index.ts", "src/templates/assets/javascripts/components/content/annotation/block/index.ts", "src/templates/assets/javascripts/components/content/code/_/index.ts", "src/templates/assets/javascripts/components/content/details/index.ts", "src/templates/assets/javascripts/components/content/mermaid/index.css", "src/templates/assets/javascripts/components/content/mermaid/index.ts", "src/templates/assets/javascripts/components/content/table/index.ts", "src/templates/assets/javascripts/components/content/tabs/index.ts", "src/templates/assets/javascripts/components/content/_/index.ts", "src/templates/assets/javascripts/components/dialog/index.ts", "src/templates/assets/javascripts/components/tooltip/index.ts", "src/templates/assets/javascripts/components/header/_/index.ts", "src/templates/assets/javascripts/components/header/title/index.ts", "src/templates/assets/javascripts/components/main/index.ts", "src/templates/assets/javascripts/components/palette/index.ts", "src/templates/assets/javascripts/components/progress/index.ts", "src/templates/assets/javascripts/integrations/clipboard/index.ts", "src/templates/assets/javascripts/integrations/sitemap/index.ts", "src/templates/assets/javascripts/integrations/instant/index.ts", "src/templates/assets/javascripts/integrations/search/highlighter/index.ts", "src/templates/assets/javascripts/integrations/search/worker/message/index.ts", "src/templates/assets/javascripts/integrations/search/worker/_/index.ts", "src/templates/assets/javascripts/integrations/version/findurl/index.ts", "src/templates/assets/javascripts/integrations/version/index.ts", "src/templates/assets/javascripts/components/search/query/index.ts", "src/templates/assets/javascripts/components/search/result/index.ts", "src/templates/assets/javascripts/components/search/share/index.ts", "src/templates/assets/javascripts/components/search/suggest/index.ts", "src/templates/assets/javascripts/components/search/_/index.ts", "src/templates/assets/javascripts/components/search/highlight/index.ts", "src/templates/assets/javascripts/components/sidebar/index.ts", "src/templates/assets/javascripts/components/source/facts/github/index.ts", "src/templates/assets/javascripts/components/source/facts/gitlab/index.ts", "src/templates/assets/javascripts/components/source/facts/_/index.ts", "src/templates/assets/javascripts/components/source/_/index.ts", "src/templates/assets/javascripts/components/tabs/index.ts", "src/templates/assets/javascripts/components/toc/index.ts", "src/templates/assets/javascripts/components/top/index.ts", "src/templates/assets/javascripts/patches/ellipsis/index.ts", "src/templates/assets/javascripts/patches/indeterminate/index.ts", "src/templates/assets/javascripts/patches/scrollfix/index.ts", "src/templates/assets/javascripts/patches/scrolllock/index.ts", "src/templates/assets/javascripts/polyfills/index.ts"], + "sourcesContent": ["(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? factory() :\n typeof define === 'function' && define.amd ? define(factory) :\n (factory());\n}(this, (function () { 'use strict';\n\n /**\n * Applies the :focus-visible polyfill at the given scope.\n * A scope in this case is either the top-level Document or a Shadow Root.\n *\n * @param {(Document|ShadowRoot)} scope\n * @see https://github.com/WICG/focus-visible\n */\n function applyFocusVisiblePolyfill(scope) {\n var hadKeyboardEvent = true;\n var hadFocusVisibleRecently = false;\n var hadFocusVisibleRecentlyTimeout = null;\n\n var inputTypesAllowlist = {\n text: true,\n search: true,\n url: true,\n tel: true,\n email: true,\n password: true,\n number: true,\n date: true,\n month: true,\n week: true,\n time: true,\n datetime: true,\n 'datetime-local': true\n };\n\n /**\n * Helper function for legacy browsers and iframes which sometimes focus\n * elements like document, body, and non-interactive SVG.\n * @param {Element} el\n */\n function isValidFocusTarget(el) {\n if (\n el &&\n el !== document &&\n el.nodeName !== 'HTML' &&\n el.nodeName !== 'BODY' &&\n 'classList' in el &&\n 'contains' in el.classList\n ) {\n return true;\n }\n return false;\n }\n\n /**\n * Computes whether the given element should automatically trigger the\n * `focus-visible` class being added, i.e. whether it should always match\n * `:focus-visible` when focused.\n * @param {Element} el\n * @return {boolean}\n */\n function focusTriggersKeyboardModality(el) {\n var type = el.type;\n var tagName = el.tagName;\n\n if (tagName === 'INPUT' && inputTypesAllowlist[type] && !el.readOnly) {\n return true;\n }\n\n if (tagName === 'TEXTAREA' && !el.readOnly) {\n return true;\n }\n\n if (el.isContentEditable) {\n return true;\n }\n\n return false;\n }\n\n /**\n * Add the `focus-visible` class to the given element if it was not added by\n * the author.\n * @param {Element} el\n */\n function addFocusVisibleClass(el) {\n if (el.classList.contains('focus-visible')) {\n return;\n }\n el.classList.add('focus-visible');\n el.setAttribute('data-focus-visible-added', '');\n }\n\n /**\n * Remove the `focus-visible` class from the given element if it was not\n * originally added by the author.\n * @param {Element} el\n */\n function removeFocusVisibleClass(el) {\n if (!el.hasAttribute('data-focus-visible-added')) {\n return;\n }\n el.classList.remove('focus-visible');\n el.removeAttribute('data-focus-visible-added');\n }\n\n /**\n * If the most recent user interaction was via the keyboard;\n * and the key press did not include a meta, alt/option, or control key;\n * then the modality is keyboard. Otherwise, the modality is not keyboard.\n * Apply `focus-visible` to any current active element and keep track\n * of our keyboard modality state with `hadKeyboardEvent`.\n * @param {KeyboardEvent} e\n */\n function onKeyDown(e) {\n if (e.metaKey || e.altKey || e.ctrlKey) {\n return;\n }\n\n if (isValidFocusTarget(scope.activeElement)) {\n addFocusVisibleClass(scope.activeElement);\n }\n\n hadKeyboardEvent = true;\n }\n\n /**\n * If at any point a user clicks with a pointing device, ensure that we change\n * the modality away from keyboard.\n * This avoids the situation where a user presses a key on an already focused\n * element, and then clicks on a different element, focusing it with a\n * pointing device, while we still think we're in keyboard modality.\n * @param {Event} e\n */\n function onPointerDown(e) {\n hadKeyboardEvent = false;\n }\n\n /**\n * On `focus`, add the `focus-visible` class to the target if:\n * - the target received focus as a result of keyboard navigation, or\n * - the event target is an element that will likely require interaction\n * via the keyboard (e.g. a text box)\n * @param {Event} e\n */\n function onFocus(e) {\n // Prevent IE from focusing the document or HTML element.\n if (!isValidFocusTarget(e.target)) {\n return;\n }\n\n if (hadKeyboardEvent || focusTriggersKeyboardModality(e.target)) {\n addFocusVisibleClass(e.target);\n }\n }\n\n /**\n * On `blur`, remove the `focus-visible` class from the target.\n * @param {Event} e\n */\n function onBlur(e) {\n if (!isValidFocusTarget(e.target)) {\n return;\n }\n\n if (\n e.target.classList.contains('focus-visible') ||\n e.target.hasAttribute('data-focus-visible-added')\n ) {\n // To detect a tab/window switch, we look for a blur event followed\n // rapidly by a visibility change.\n // If we don't see a visibility change within 100ms, it's probably a\n // regular focus change.\n hadFocusVisibleRecently = true;\n window.clearTimeout(hadFocusVisibleRecentlyTimeout);\n hadFocusVisibleRecentlyTimeout = window.setTimeout(function() {\n hadFocusVisibleRecently = false;\n }, 100);\n removeFocusVisibleClass(e.target);\n }\n }\n\n /**\n * If the user changes tabs, keep track of whether or not the previously\n * focused element had .focus-visible.\n * @param {Event} e\n */\n function onVisibilityChange(e) {\n if (document.visibilityState === 'hidden') {\n // If the tab becomes active again, the browser will handle calling focus\n // on the element (Safari actually calls it twice).\n // If this tab change caused a blur on an element with focus-visible,\n // re-apply the class when the user switches back to the tab.\n if (hadFocusVisibleRecently) {\n hadKeyboardEvent = true;\n }\n addInitialPointerMoveListeners();\n }\n }\n\n /**\n * Add a group of listeners to detect usage of any pointing devices.\n * These listeners will be added when the polyfill first loads, and anytime\n * the window is blurred, so that they are active when the window regains\n * focus.\n */\n function addInitialPointerMoveListeners() {\n document.addEventListener('mousemove', onInitialPointerMove);\n document.addEventListener('mousedown', onInitialPointerMove);\n document.addEventListener('mouseup', onInitialPointerMove);\n document.addEventListener('pointermove', onInitialPointerMove);\n document.addEventListener('pointerdown', onInitialPointerMove);\n document.addEventListener('pointerup', onInitialPointerMove);\n document.addEventListener('touchmove', onInitialPointerMove);\n document.addEventListener('touchstart', onInitialPointerMove);\n document.addEventListener('touchend', onInitialPointerMove);\n }\n\n function removeInitialPointerMoveListeners() {\n document.removeEventListener('mousemove', onInitialPointerMove);\n document.removeEventListener('mousedown', onInitialPointerMove);\n document.removeEventListener('mouseup', onInitialPointerMove);\n document.removeEventListener('pointermove', onInitialPointerMove);\n document.removeEventListener('pointerdown', onInitialPointerMove);\n document.removeEventListener('pointerup', onInitialPointerMove);\n document.removeEventListener('touchmove', onInitialPointerMove);\n document.removeEventListener('touchstart', onInitialPointerMove);\n document.removeEventListener('touchend', onInitialPointerMove);\n }\n\n /**\n * When the polfyill first loads, assume the user is in keyboard modality.\n * If any event is received from a pointing device (e.g. mouse, pointer,\n * touch), turn off keyboard modality.\n * This accounts for situations where focus enters the page from the URL bar.\n * @param {Event} e\n */\n function onInitialPointerMove(e) {\n // Work around a Safari quirk that fires a mousemove on whenever the\n // window blurs, even if you're tabbing out of the page. \u00AF\\_(\u30C4)_/\u00AF\n if (e.target.nodeName && e.target.nodeName.toLowerCase() === 'html') {\n return;\n }\n\n hadKeyboardEvent = false;\n removeInitialPointerMoveListeners();\n }\n\n // For some kinds of state, we are interested in changes at the global scope\n // only. For example, global pointer input, global key presses and global\n // visibility change should affect the state at every scope:\n document.addEventListener('keydown', onKeyDown, true);\n document.addEventListener('mousedown', onPointerDown, true);\n document.addEventListener('pointerdown', onPointerDown, true);\n document.addEventListener('touchstart', onPointerDown, true);\n document.addEventListener('visibilitychange', onVisibilityChange, true);\n\n addInitialPointerMoveListeners();\n\n // For focus and blur, we specifically care about state changes in the local\n // scope. This is because focus / blur events that originate from within a\n // shadow root are not re-dispatched from the host element if it was already\n // the active element in its own scope:\n scope.addEventListener('focus', onFocus, true);\n scope.addEventListener('blur', onBlur, true);\n\n // We detect that a node is a ShadowRoot by ensuring that it is a\n // DocumentFragment and also has a host property. This check covers native\n // implementation and polyfill implementation transparently. If we only cared\n // about the native implementation, we could just check if the scope was\n // an instance of a ShadowRoot.\n if (scope.nodeType === Node.DOCUMENT_FRAGMENT_NODE && scope.host) {\n // Since a ShadowRoot is a special kind of DocumentFragment, it does not\n // have a root element to add a class to. So, we add this attribute to the\n // host element instead:\n scope.host.setAttribute('data-js-focus-visible', '');\n } else if (scope.nodeType === Node.DOCUMENT_NODE) {\n document.documentElement.classList.add('js-focus-visible');\n document.documentElement.setAttribute('data-js-focus-visible', '');\n }\n }\n\n // It is important to wrap all references to global window and document in\n // these checks to support server-side rendering use cases\n // @see https://github.com/WICG/focus-visible/issues/199\n if (typeof window !== 'undefined' && typeof document !== 'undefined') {\n // Make the polyfill helper globally available. This can be used as a signal\n // to interested libraries that wish to coordinate with the polyfill for e.g.,\n // applying the polyfill to a shadow root:\n window.applyFocusVisiblePolyfill = applyFocusVisiblePolyfill;\n\n // Notify interested libraries of the polyfill's presence, in case the\n // polyfill was loaded lazily:\n var event;\n\n try {\n event = new CustomEvent('focus-visible-polyfill-ready');\n } catch (error) {\n // IE11 does not support using CustomEvent as a constructor directly:\n event = document.createEvent('CustomEvent');\n event.initCustomEvent('focus-visible-polyfill-ready', false, false, {});\n }\n\n window.dispatchEvent(event);\n }\n\n if (typeof document !== 'undefined') {\n // Apply the polyfill to the global document, so that no JavaScript\n // coordination is required to use the polyfill in the top-level document:\n applyFocusVisiblePolyfill(document);\n }\n\n})));\n", "/*!\n * escape-html\n * Copyright(c) 2012-2013 TJ Holowaychuk\n * Copyright(c) 2015 Andreas Lubbe\n * Copyright(c) 2015 Tiancheng \"Timothy\" Gu\n * MIT Licensed\n */\n\n'use strict';\n\n/**\n * Module variables.\n * @private\n */\n\nvar matchHtmlRegExp = /[\"'&<>]/;\n\n/**\n * Module exports.\n * @public\n */\n\nmodule.exports = escapeHtml;\n\n/**\n * Escape special characters in the given string of html.\n *\n * @param {string} string The string to escape for inserting into HTML\n * @return {string}\n * @public\n */\n\nfunction escapeHtml(string) {\n var str = '' + string;\n var match = matchHtmlRegExp.exec(str);\n\n if (!match) {\n return str;\n }\n\n var escape;\n var html = '';\n var index = 0;\n var lastIndex = 0;\n\n for (index = match.index; index < str.length; index++) {\n switch (str.charCodeAt(index)) {\n case 34: // \"\n escape = '"';\n break;\n case 38: // &\n escape = '&';\n break;\n case 39: // '\n escape = ''';\n break;\n case 60: // <\n escape = '<';\n break;\n case 62: // >\n escape = '>';\n break;\n default:\n continue;\n }\n\n if (lastIndex !== index) {\n html += str.substring(lastIndex, index);\n }\n\n lastIndex = index + 1;\n html += escape;\n }\n\n return lastIndex !== index\n ? html + str.substring(lastIndex, index)\n : html;\n}\n", "/*!\n * clipboard.js v2.0.11\n * https://clipboardjs.com/\n *\n * Licensed MIT \u00A9 Zeno Rocha\n */\n(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"ClipboardJS\"] = factory();\n\telse\n\t\troot[\"ClipboardJS\"] = factory();\n})(this, function() {\nreturn /******/ (function() { // webpackBootstrap\n/******/ \tvar __webpack_modules__ = ({\n\n/***/ 686:\n/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n\n// EXPORTS\n__webpack_require__.d(__webpack_exports__, {\n \"default\": function() { return /* binding */ clipboard; }\n});\n\n// EXTERNAL MODULE: ./node_modules/tiny-emitter/index.js\nvar tiny_emitter = __webpack_require__(279);\nvar tiny_emitter_default = /*#__PURE__*/__webpack_require__.n(tiny_emitter);\n// EXTERNAL MODULE: ./node_modules/good-listener/src/listen.js\nvar listen = __webpack_require__(370);\nvar listen_default = /*#__PURE__*/__webpack_require__.n(listen);\n// EXTERNAL MODULE: ./node_modules/select/src/select.js\nvar src_select = __webpack_require__(817);\nvar select_default = /*#__PURE__*/__webpack_require__.n(src_select);\n;// CONCATENATED MODULE: ./src/common/command.js\n/**\n * Executes a given operation type.\n * @param {String} type\n * @return {Boolean}\n */\nfunction command(type) {\n try {\n return document.execCommand(type);\n } catch (err) {\n return false;\n }\n}\n;// CONCATENATED MODULE: ./src/actions/cut.js\n\n\n/**\n * Cut action wrapper.\n * @param {String|HTMLElement} target\n * @return {String}\n */\n\nvar ClipboardActionCut = function ClipboardActionCut(target) {\n var selectedText = select_default()(target);\n command('cut');\n return selectedText;\n};\n\n/* harmony default export */ var actions_cut = (ClipboardActionCut);\n;// CONCATENATED MODULE: ./src/common/create-fake-element.js\n/**\n * Creates a fake textarea element with a value.\n * @param {String} value\n * @return {HTMLElement}\n */\nfunction createFakeElement(value) {\n var isRTL = document.documentElement.getAttribute('dir') === 'rtl';\n var fakeElement = document.createElement('textarea'); // Prevent zooming on iOS\n\n fakeElement.style.fontSize = '12pt'; // Reset box model\n\n fakeElement.style.border = '0';\n fakeElement.style.padding = '0';\n fakeElement.style.margin = '0'; // Move element out of screen horizontally\n\n fakeElement.style.position = 'absolute';\n fakeElement.style[isRTL ? 'right' : 'left'] = '-9999px'; // Move element to the same position vertically\n\n var yPosition = window.pageYOffset || document.documentElement.scrollTop;\n fakeElement.style.top = \"\".concat(yPosition, \"px\");\n fakeElement.setAttribute('readonly', '');\n fakeElement.value = value;\n return fakeElement;\n}\n;// CONCATENATED MODULE: ./src/actions/copy.js\n\n\n\n/**\n * Create fake copy action wrapper using a fake element.\n * @param {String} target\n * @param {Object} options\n * @return {String}\n */\n\nvar fakeCopyAction = function fakeCopyAction(value, options) {\n var fakeElement = createFakeElement(value);\n options.container.appendChild(fakeElement);\n var selectedText = select_default()(fakeElement);\n command('copy');\n fakeElement.remove();\n return selectedText;\n};\n/**\n * Copy action wrapper.\n * @param {String|HTMLElement} target\n * @param {Object} options\n * @return {String}\n */\n\n\nvar ClipboardActionCopy = function ClipboardActionCopy(target) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {\n container: document.body\n };\n var selectedText = '';\n\n if (typeof target === 'string') {\n selectedText = fakeCopyAction(target, options);\n } else if (target instanceof HTMLInputElement && !['text', 'search', 'url', 'tel', 'password'].includes(target === null || target === void 0 ? void 0 : target.type)) {\n // If input type doesn't support `setSelectionRange`. Simulate it. https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/setSelectionRange\n selectedText = fakeCopyAction(target.value, options);\n } else {\n selectedText = select_default()(target);\n command('copy');\n }\n\n return selectedText;\n};\n\n/* harmony default export */ var actions_copy = (ClipboardActionCopy);\n;// CONCATENATED MODULE: ./src/actions/default.js\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\n\n\n/**\n * Inner function which performs selection from either `text` or `target`\n * properties and then executes copy or cut operations.\n * @param {Object} options\n */\n\nvar ClipboardActionDefault = function ClipboardActionDefault() {\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n // Defines base properties passed from constructor.\n var _options$action = options.action,\n action = _options$action === void 0 ? 'copy' : _options$action,\n container = options.container,\n target = options.target,\n text = options.text; // Sets the `action` to be performed which can be either 'copy' or 'cut'.\n\n if (action !== 'copy' && action !== 'cut') {\n throw new Error('Invalid \"action\" value, use either \"copy\" or \"cut\"');\n } // Sets the `target` property using an element that will be have its content copied.\n\n\n if (target !== undefined) {\n if (target && _typeof(target) === 'object' && target.nodeType === 1) {\n if (action === 'copy' && target.hasAttribute('disabled')) {\n throw new Error('Invalid \"target\" attribute. Please use \"readonly\" instead of \"disabled\" attribute');\n }\n\n if (action === 'cut' && (target.hasAttribute('readonly') || target.hasAttribute('disabled'))) {\n throw new Error('Invalid \"target\" attribute. You can\\'t cut text from elements with \"readonly\" or \"disabled\" attributes');\n }\n } else {\n throw new Error('Invalid \"target\" value, use a valid Element');\n }\n } // Define selection strategy based on `text` property.\n\n\n if (text) {\n return actions_copy(text, {\n container: container\n });\n } // Defines which selection strategy based on `target` property.\n\n\n if (target) {\n return action === 'cut' ? actions_cut(target) : actions_copy(target, {\n container: container\n });\n }\n};\n\n/* harmony default export */ var actions_default = (ClipboardActionDefault);\n;// CONCATENATED MODULE: ./src/clipboard.js\nfunction clipboard_typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { clipboard_typeof = function _typeof(obj) { return typeof obj; }; } else { clipboard_typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return clipboard_typeof(obj); }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (clipboard_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\n\n\n\n\n\n/**\n * Helper function to retrieve attribute value.\n * @param {String} suffix\n * @param {Element} element\n */\n\nfunction getAttributeValue(suffix, element) {\n var attribute = \"data-clipboard-\".concat(suffix);\n\n if (!element.hasAttribute(attribute)) {\n return;\n }\n\n return element.getAttribute(attribute);\n}\n/**\n * Base class which takes one or more elements, adds event listeners to them,\n * and instantiates a new `ClipboardAction` on each click.\n */\n\n\nvar Clipboard = /*#__PURE__*/function (_Emitter) {\n _inherits(Clipboard, _Emitter);\n\n var _super = _createSuper(Clipboard);\n\n /**\n * @param {String|HTMLElement|HTMLCollection|NodeList} trigger\n * @param {Object} options\n */\n function Clipboard(trigger, options) {\n var _this;\n\n _classCallCheck(this, Clipboard);\n\n _this = _super.call(this);\n\n _this.resolveOptions(options);\n\n _this.listenClick(trigger);\n\n return _this;\n }\n /**\n * Defines if attributes would be resolved using internal setter functions\n * or custom functions that were passed in the constructor.\n * @param {Object} options\n */\n\n\n _createClass(Clipboard, [{\n key: \"resolveOptions\",\n value: function resolveOptions() {\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n this.action = typeof options.action === 'function' ? options.action : this.defaultAction;\n this.target = typeof options.target === 'function' ? options.target : this.defaultTarget;\n this.text = typeof options.text === 'function' ? options.text : this.defaultText;\n this.container = clipboard_typeof(options.container) === 'object' ? options.container : document.body;\n }\n /**\n * Adds a click event listener to the passed trigger.\n * @param {String|HTMLElement|HTMLCollection|NodeList} trigger\n */\n\n }, {\n key: \"listenClick\",\n value: function listenClick(trigger) {\n var _this2 = this;\n\n this.listener = listen_default()(trigger, 'click', function (e) {\n return _this2.onClick(e);\n });\n }\n /**\n * Defines a new `ClipboardAction` on each click event.\n * @param {Event} e\n */\n\n }, {\n key: \"onClick\",\n value: function onClick(e) {\n var trigger = e.delegateTarget || e.currentTarget;\n var action = this.action(trigger) || 'copy';\n var text = actions_default({\n action: action,\n container: this.container,\n target: this.target(trigger),\n text: this.text(trigger)\n }); // Fires an event based on the copy operation result.\n\n this.emit(text ? 'success' : 'error', {\n action: action,\n text: text,\n trigger: trigger,\n clearSelection: function clearSelection() {\n if (trigger) {\n trigger.focus();\n }\n\n window.getSelection().removeAllRanges();\n }\n });\n }\n /**\n * Default `action` lookup function.\n * @param {Element} trigger\n */\n\n }, {\n key: \"defaultAction\",\n value: function defaultAction(trigger) {\n return getAttributeValue('action', trigger);\n }\n /**\n * Default `target` lookup function.\n * @param {Element} trigger\n */\n\n }, {\n key: \"defaultTarget\",\n value: function defaultTarget(trigger) {\n var selector = getAttributeValue('target', trigger);\n\n if (selector) {\n return document.querySelector(selector);\n }\n }\n /**\n * Allow fire programmatically a copy action\n * @param {String|HTMLElement} target\n * @param {Object} options\n * @returns Text copied.\n */\n\n }, {\n key: \"defaultText\",\n\n /**\n * Default `text` lookup function.\n * @param {Element} trigger\n */\n value: function defaultText(trigger) {\n return getAttributeValue('text', trigger);\n }\n /**\n * Destroy lifecycle.\n */\n\n }, {\n key: \"destroy\",\n value: function destroy() {\n this.listener.destroy();\n }\n }], [{\n key: \"copy\",\n value: function copy(target) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {\n container: document.body\n };\n return actions_copy(target, options);\n }\n /**\n * Allow fire programmatically a cut action\n * @param {String|HTMLElement} target\n * @returns Text cutted.\n */\n\n }, {\n key: \"cut\",\n value: function cut(target) {\n return actions_cut(target);\n }\n /**\n * Returns the support of the given action, or all actions if no action is\n * given.\n * @param {String} [action]\n */\n\n }, {\n key: \"isSupported\",\n value: function isSupported() {\n var action = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ['copy', 'cut'];\n var actions = typeof action === 'string' ? [action] : action;\n var support = !!document.queryCommandSupported;\n actions.forEach(function (action) {\n support = support && !!document.queryCommandSupported(action);\n });\n return support;\n }\n }]);\n\n return Clipboard;\n}((tiny_emitter_default()));\n\n/* harmony default export */ var clipboard = (Clipboard);\n\n/***/ }),\n\n/***/ 828:\n/***/ (function(module) {\n\nvar DOCUMENT_NODE_TYPE = 9;\n\n/**\n * A polyfill for Element.matches()\n */\nif (typeof Element !== 'undefined' && !Element.prototype.matches) {\n var proto = Element.prototype;\n\n proto.matches = proto.matchesSelector ||\n proto.mozMatchesSelector ||\n proto.msMatchesSelector ||\n proto.oMatchesSelector ||\n proto.webkitMatchesSelector;\n}\n\n/**\n * Finds the closest parent that matches a selector.\n *\n * @param {Element} element\n * @param {String} selector\n * @return {Function}\n */\nfunction closest (element, selector) {\n while (element && element.nodeType !== DOCUMENT_NODE_TYPE) {\n if (typeof element.matches === 'function' &&\n element.matches(selector)) {\n return element;\n }\n element = element.parentNode;\n }\n}\n\nmodule.exports = closest;\n\n\n/***/ }),\n\n/***/ 438:\n/***/ (function(module, __unused_webpack_exports, __webpack_require__) {\n\nvar closest = __webpack_require__(828);\n\n/**\n * Delegates event to a selector.\n *\n * @param {Element} element\n * @param {String} selector\n * @param {String} type\n * @param {Function} callback\n * @param {Boolean} useCapture\n * @return {Object}\n */\nfunction _delegate(element, selector, type, callback, useCapture) {\n var listenerFn = listener.apply(this, arguments);\n\n element.addEventListener(type, listenerFn, useCapture);\n\n return {\n destroy: function() {\n element.removeEventListener(type, listenerFn, useCapture);\n }\n }\n}\n\n/**\n * Delegates event to a selector.\n *\n * @param {Element|String|Array} [elements]\n * @param {String} selector\n * @param {String} type\n * @param {Function} callback\n * @param {Boolean} useCapture\n * @return {Object}\n */\nfunction delegate(elements, selector, type, callback, useCapture) {\n // Handle the regular Element usage\n if (typeof elements.addEventListener === 'function') {\n return _delegate.apply(null, arguments);\n }\n\n // Handle Element-less usage, it defaults to global delegation\n if (typeof type === 'function') {\n // Use `document` as the first parameter, then apply arguments\n // This is a short way to .unshift `arguments` without running into deoptimizations\n return _delegate.bind(null, document).apply(null, arguments);\n }\n\n // Handle Selector-based usage\n if (typeof elements === 'string') {\n elements = document.querySelectorAll(elements);\n }\n\n // Handle Array-like based usage\n return Array.prototype.map.call(elements, function (element) {\n return _delegate(element, selector, type, callback, useCapture);\n });\n}\n\n/**\n * Finds closest match and invokes callback.\n *\n * @param {Element} element\n * @param {String} selector\n * @param {String} type\n * @param {Function} callback\n * @return {Function}\n */\nfunction listener(element, selector, type, callback) {\n return function(e) {\n e.delegateTarget = closest(e.target, selector);\n\n if (e.delegateTarget) {\n callback.call(element, e);\n }\n }\n}\n\nmodule.exports = delegate;\n\n\n/***/ }),\n\n/***/ 879:\n/***/ (function(__unused_webpack_module, exports) {\n\n/**\n * Check if argument is a HTML element.\n *\n * @param {Object} value\n * @return {Boolean}\n */\nexports.node = function(value) {\n return value !== undefined\n && value instanceof HTMLElement\n && value.nodeType === 1;\n};\n\n/**\n * Check if argument is a list of HTML elements.\n *\n * @param {Object} value\n * @return {Boolean}\n */\nexports.nodeList = function(value) {\n var type = Object.prototype.toString.call(value);\n\n return value !== undefined\n && (type === '[object NodeList]' || type === '[object HTMLCollection]')\n && ('length' in value)\n && (value.length === 0 || exports.node(value[0]));\n};\n\n/**\n * Check if argument is a string.\n *\n * @param {Object} value\n * @return {Boolean}\n */\nexports.string = function(value) {\n return typeof value === 'string'\n || value instanceof String;\n};\n\n/**\n * Check if argument is a function.\n *\n * @param {Object} value\n * @return {Boolean}\n */\nexports.fn = function(value) {\n var type = Object.prototype.toString.call(value);\n\n return type === '[object Function]';\n};\n\n\n/***/ }),\n\n/***/ 370:\n/***/ (function(module, __unused_webpack_exports, __webpack_require__) {\n\nvar is = __webpack_require__(879);\nvar delegate = __webpack_require__(438);\n\n/**\n * Validates all params and calls the right\n * listener function based on its target type.\n *\n * @param {String|HTMLElement|HTMLCollection|NodeList} target\n * @param {String} type\n * @param {Function} callback\n * @return {Object}\n */\nfunction listen(target, type, callback) {\n if (!target && !type && !callback) {\n throw new Error('Missing required arguments');\n }\n\n if (!is.string(type)) {\n throw new TypeError('Second argument must be a String');\n }\n\n if (!is.fn(callback)) {\n throw new TypeError('Third argument must be a Function');\n }\n\n if (is.node(target)) {\n return listenNode(target, type, callback);\n }\n else if (is.nodeList(target)) {\n return listenNodeList(target, type, callback);\n }\n else if (is.string(target)) {\n return listenSelector(target, type, callback);\n }\n else {\n throw new TypeError('First argument must be a String, HTMLElement, HTMLCollection, or NodeList');\n }\n}\n\n/**\n * Adds an event listener to a HTML element\n * and returns a remove listener function.\n *\n * @param {HTMLElement} node\n * @param {String} type\n * @param {Function} callback\n * @return {Object}\n */\nfunction listenNode(node, type, callback) {\n node.addEventListener(type, callback);\n\n return {\n destroy: function() {\n node.removeEventListener(type, callback);\n }\n }\n}\n\n/**\n * Add an event listener to a list of HTML elements\n * and returns a remove listener function.\n *\n * @param {NodeList|HTMLCollection} nodeList\n * @param {String} type\n * @param {Function} callback\n * @return {Object}\n */\nfunction listenNodeList(nodeList, type, callback) {\n Array.prototype.forEach.call(nodeList, function(node) {\n node.addEventListener(type, callback);\n });\n\n return {\n destroy: function() {\n Array.prototype.forEach.call(nodeList, function(node) {\n node.removeEventListener(type, callback);\n });\n }\n }\n}\n\n/**\n * Add an event listener to a selector\n * and returns a remove listener function.\n *\n * @param {String} selector\n * @param {String} type\n * @param {Function} callback\n * @return {Object}\n */\nfunction listenSelector(selector, type, callback) {\n return delegate(document.body, selector, type, callback);\n}\n\nmodule.exports = listen;\n\n\n/***/ }),\n\n/***/ 817:\n/***/ (function(module) {\n\nfunction select(element) {\n var selectedText;\n\n if (element.nodeName === 'SELECT') {\n element.focus();\n\n selectedText = element.value;\n }\n else if (element.nodeName === 'INPUT' || element.nodeName === 'TEXTAREA') {\n var isReadOnly = element.hasAttribute('readonly');\n\n if (!isReadOnly) {\n element.setAttribute('readonly', '');\n }\n\n element.select();\n element.setSelectionRange(0, element.value.length);\n\n if (!isReadOnly) {\n element.removeAttribute('readonly');\n }\n\n selectedText = element.value;\n }\n else {\n if (element.hasAttribute('contenteditable')) {\n element.focus();\n }\n\n var selection = window.getSelection();\n var range = document.createRange();\n\n range.selectNodeContents(element);\n selection.removeAllRanges();\n selection.addRange(range);\n\n selectedText = selection.toString();\n }\n\n return selectedText;\n}\n\nmodule.exports = select;\n\n\n/***/ }),\n\n/***/ 279:\n/***/ (function(module) {\n\nfunction E () {\n // Keep this empty so it's easier to inherit from\n // (via https://github.com/lipsmack from https://github.com/scottcorgan/tiny-emitter/issues/3)\n}\n\nE.prototype = {\n on: function (name, callback, ctx) {\n var e = this.e || (this.e = {});\n\n (e[name] || (e[name] = [])).push({\n fn: callback,\n ctx: ctx\n });\n\n return this;\n },\n\n once: function (name, callback, ctx) {\n var self = this;\n function listener () {\n self.off(name, listener);\n callback.apply(ctx, arguments);\n };\n\n listener._ = callback\n return this.on(name, listener, ctx);\n },\n\n emit: function (name) {\n var data = [].slice.call(arguments, 1);\n var evtArr = ((this.e || (this.e = {}))[name] || []).slice();\n var i = 0;\n var len = evtArr.length;\n\n for (i; i < len; i++) {\n evtArr[i].fn.apply(evtArr[i].ctx, data);\n }\n\n return this;\n },\n\n off: function (name, callback) {\n var e = this.e || (this.e = {});\n var evts = e[name];\n var liveEvents = [];\n\n if (evts && callback) {\n for (var i = 0, len = evts.length; i < len; i++) {\n if (evts[i].fn !== callback && evts[i].fn._ !== callback)\n liveEvents.push(evts[i]);\n }\n }\n\n // Remove event from queue to prevent memory leak\n // Suggested by https://github.com/lazd\n // Ref: https://github.com/scottcorgan/tiny-emitter/commit/c6ebfaa9bc973b33d110a84a307742b7cf94c953#commitcomment-5024910\n\n (liveEvents.length)\n ? e[name] = liveEvents\n : delete e[name];\n\n return this;\n }\n};\n\nmodule.exports = E;\nmodule.exports.TinyEmitter = E;\n\n\n/***/ })\n\n/******/ \t});\n/************************************************************************/\n/******/ \t// The module cache\n/******/ \tvar __webpack_module_cache__ = {};\n/******/ \t\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(__webpack_module_cache__[moduleId]) {\n/******/ \t\t\treturn __webpack_module_cache__[moduleId].exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = __webpack_module_cache__[moduleId] = {\n/******/ \t\t\t// no module.id needed\n/******/ \t\t\t// no module.loaded needed\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/ \t\n/******/ \t\t// Execute the module function\n/******/ \t\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n/******/ \t\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/ \t\n/************************************************************************/\n/******/ \t/* webpack/runtime/compat get default export */\n/******/ \t!function() {\n/******/ \t\t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t\t__webpack_require__.n = function(module) {\n/******/ \t\t\tvar getter = module && module.__esModule ?\n/******/ \t\t\t\tfunction() { return module['default']; } :\n/******/ \t\t\t\tfunction() { return module; };\n/******/ \t\t\t__webpack_require__.d(getter, { a: getter });\n/******/ \t\t\treturn getter;\n/******/ \t\t};\n/******/ \t}();\n/******/ \t\n/******/ \t/* webpack/runtime/define property getters */\n/******/ \t!function() {\n/******/ \t\t// define getter functions for harmony exports\n/******/ \t\t__webpack_require__.d = function(exports, definition) {\n/******/ \t\t\tfor(var key in definition) {\n/******/ \t\t\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n/******/ \t\t\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n/******/ \t\t\t\t}\n/******/ \t\t\t}\n/******/ \t\t};\n/******/ \t}();\n/******/ \t\n/******/ \t/* webpack/runtime/hasOwnProperty shorthand */\n/******/ \t!function() {\n/******/ \t\t__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }\n/******/ \t}();\n/******/ \t\n/************************************************************************/\n/******/ \t// module exports must be returned from runtime so entry inlining is disabled\n/******/ \t// startup\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(686);\n/******/ })()\n.default;\n});", "/*\n * Copyright (c) 2016-2025 Martin Donath \n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to\n * deal in the Software without restriction, including without limitation the\n * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or\n * sell copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\n * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS\n * IN THE SOFTWARE.\n */\n\nimport \"focus-visible\"\n\nimport {\n EMPTY,\n NEVER,\n Observable,\n Subject,\n defer,\n delay,\n filter,\n map,\n merge,\n mergeWith,\n shareReplay,\n switchMap\n} from \"rxjs\"\n\nimport { configuration, feature } from \"./_\"\nimport {\n at,\n getActiveElement,\n getOptionalElement,\n requestJSON,\n setLocation,\n setToggle,\n watchDocument,\n watchKeyboard,\n watchLocation,\n watchLocationTarget,\n watchMedia,\n watchPrint,\n watchScript,\n watchViewport\n} from \"./browser\"\nimport {\n getComponentElement,\n getComponentElements,\n mountAnnounce,\n mountBackToTop,\n mountConsent,\n mountContent,\n mountDialog,\n mountHeader,\n mountHeaderTitle,\n mountPalette,\n mountProgress,\n mountSearch,\n mountSearchHiglight,\n mountSidebar,\n mountSource,\n mountTableOfContents,\n mountTabs,\n watchHeader,\n watchMain\n} from \"./components\"\nimport {\n SearchIndex,\n setupClipboardJS,\n setupInstantNavigation,\n setupVersionSelector\n} from \"./integrations\"\nimport {\n patchEllipsis,\n patchIndeterminate,\n patchScrollfix,\n patchScrolllock\n} from \"./patches\"\nimport \"./polyfills\"\n\n/* ----------------------------------------------------------------------------\n * Functions - @todo refactor\n * ------------------------------------------------------------------------- */\n\n/**\n * Fetch search index\n *\n * @returns Search index observable\n */\nfunction fetchSearchIndex(): Observable {\n if (location.protocol === \"file:\") {\n return watchScript(\n `${new URL(\"search/search_index.js\", config.base)}`\n )\n .pipe(\n // @ts-ignore - @todo fix typings\n map(() => __index),\n shareReplay(1)\n )\n } else {\n return requestJSON(\n new URL(\"search/search_index.json\", config.base)\n )\n }\n}\n\n/* ----------------------------------------------------------------------------\n * Application\n * ------------------------------------------------------------------------- */\n\n/* Yay, JavaScript is available */\ndocument.documentElement.classList.remove(\"no-js\")\ndocument.documentElement.classList.add(\"js\")\n\n/* Set up navigation observables and subjects */\nconst document$ = watchDocument()\nconst location$ = watchLocation()\nconst target$ = watchLocationTarget(location$)\nconst keyboard$ = watchKeyboard()\n\n/* Set up media observables */\nconst viewport$ = watchViewport()\nconst tablet$ = watchMedia(\"(min-width: 960px)\")\nconst screen$ = watchMedia(\"(min-width: 1220px)\")\nconst print$ = watchPrint()\n\n/* Retrieve search index, if search is enabled */\nconst config = configuration()\nconst index$ = document.forms.namedItem(\"search\")\n ? fetchSearchIndex()\n : NEVER\n\n/* Set up Clipboard.js integration */\nconst alert$ = new Subject()\nsetupClipboardJS({ alert$ })\n\n/* Set up progress indicator */\nconst progress$ = new Subject()\n\n/* Set up instant navigation, if enabled */\nif (feature(\"navigation.instant\"))\n setupInstantNavigation({ location$, viewport$, progress$ })\n .subscribe(document$)\n\n/* Set up version selector */\nif (config.version?.provider === \"mike\")\n setupVersionSelector({ document$ })\n\n/* Always close drawer and search on navigation */\nmerge(location$, target$)\n .pipe(\n delay(125)\n )\n .subscribe(() => {\n setToggle(\"drawer\", false)\n setToggle(\"search\", false)\n })\n\n/* Set up global keyboard handlers */\nkeyboard$\n .pipe(\n filter(({ mode }) => mode === \"global\")\n )\n .subscribe(key => {\n switch (key.type) {\n\n /* Go to previous page */\n case \"p\":\n case \",\":\n const prev = getOptionalElement(\"link[rel=prev]\")\n if (typeof prev !== \"undefined\")\n setLocation(prev)\n break\n\n /* Go to next page */\n case \"n\":\n case \".\":\n const next = getOptionalElement(\"link[rel=next]\")\n if (typeof next !== \"undefined\")\n setLocation(next)\n break\n\n /* Expand navigation, see https://bit.ly/3ZjG5io */\n case \"Enter\":\n const active = getActiveElement()\n if (active instanceof HTMLLabelElement)\n active.click()\n }\n })\n\n/* Set up patches */\npatchEllipsis({ viewport$, document$ })\npatchIndeterminate({ document$, tablet$ })\npatchScrollfix({ document$ })\npatchScrolllock({ viewport$, tablet$ })\n\n/* Set up header and main area observable */\nconst header$ = watchHeader(getComponentElement(\"header\"), { viewport$ })\nconst main$ = document$\n .pipe(\n map(() => getComponentElement(\"main\")),\n switchMap(el => watchMain(el, { viewport$, header$ })),\n shareReplay(1)\n )\n\n/* Set up control component observables */\nconst control$ = merge(\n\n /* Consent */\n ...getComponentElements(\"consent\")\n .map(el => mountConsent(el, { target$ })),\n\n /* Dialog */\n ...getComponentElements(\"dialog\")\n .map(el => mountDialog(el, { alert$ })),\n\n /* Color palette */\n ...getComponentElements(\"palette\")\n .map(el => mountPalette(el)),\n\n /* Progress bar */\n ...getComponentElements(\"progress\")\n .map(el => mountProgress(el, { progress$ })),\n\n /* Search */\n ...getComponentElements(\"search\")\n .map(el => mountSearch(el, { index$, keyboard$ })),\n\n /* Repository information */\n ...getComponentElements(\"source\")\n .map(el => mountSource(el))\n)\n\n/* Set up content component observables */\nconst content$ = defer(() => merge(\n\n /* Announcement bar */\n ...getComponentElements(\"announce\")\n .map(el => mountAnnounce(el)),\n\n /* Content */\n ...getComponentElements(\"content\")\n .map(el => mountContent(el, { viewport$, target$, print$ })),\n\n /* Search highlighting */\n ...getComponentElements(\"content\")\n .map(el => feature(\"search.highlight\")\n ? mountSearchHiglight(el, { index$, location$ })\n : EMPTY\n ),\n\n /* Header */\n ...getComponentElements(\"header\")\n .map(el => mountHeader(el, { viewport$, header$, main$ })),\n\n /* Header title */\n ...getComponentElements(\"header-title\")\n .map(el => mountHeaderTitle(el, { viewport$, header$ })),\n\n /* Sidebar */\n ...getComponentElements(\"sidebar\")\n .map(el => el.getAttribute(\"data-md-type\") === \"navigation\"\n ? at(screen$, () => mountSidebar(el, { viewport$, header$, main$ }))\n : at(tablet$, () => mountSidebar(el, { viewport$, header$, main$ }))\n ),\n\n /* Navigation tabs */\n ...getComponentElements(\"tabs\")\n .map(el => mountTabs(el, { viewport$, header$ })),\n\n /* Table of contents */\n ...getComponentElements(\"toc\")\n .map(el => mountTableOfContents(el, {\n viewport$, header$, main$, target$\n })),\n\n /* Back-to-top button */\n ...getComponentElements(\"top\")\n .map(el => mountBackToTop(el, { viewport$, header$, main$, target$ }))\n))\n\n/* Set up component observables */\nconst component$ = document$\n .pipe(\n switchMap(() => content$),\n mergeWith(control$),\n shareReplay(1)\n )\n\n/* Subscribe to all components */\ncomponent$.subscribe()\n\n/* ----------------------------------------------------------------------------\n * Exports\n * ------------------------------------------------------------------------- */\n\nwindow.document$ = document$ /* Document observable */\nwindow.location$ = location$ /* Location subject */\nwindow.target$ = target$ /* Location target observable */\nwindow.keyboard$ = keyboard$ /* Keyboard observable */\nwindow.viewport$ = viewport$ /* Viewport observable */\nwindow.tablet$ = tablet$ /* Media tablet observable */\nwindow.screen$ = screen$ /* Media screen observable */\nwindow.print$ = print$ /* Media print observable */\nwindow.alert$ = alert$ /* Alert subject */\nwindow.progress$ = progress$ /* Progress indicator subject */\nwindow.component$ = component$ /* Component observable */\n", "/******************************************************************************\nCopyright (c) Microsoft Corporation.\n\nPermission to use, copy, modify, and/or distribute this software for any\npurpose with or without fee is hereby granted.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\nPERFORMANCE OF THIS SOFTWARE.\n***************************************************************************** */\n/* global Reflect, Promise, SuppressedError, Symbol, Iterator */\n\nvar extendStatics = function(d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n};\n\nexport function __extends(d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n}\n\nexport var __assign = function() {\n __assign = Object.assign || function __assign(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\n }\n return t;\n }\n return __assign.apply(this, arguments);\n}\n\nexport function __rest(s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n}\n\nexport function __decorate(decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n}\n\nexport function __param(paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n}\n\nexport function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {\n function accept(f) { if (f !== void 0 && typeof f !== \"function\") throw new TypeError(\"Function expected\"); return f; }\n var kind = contextIn.kind, key = kind === \"getter\" ? \"get\" : kind === \"setter\" ? \"set\" : \"value\";\n var target = !descriptorIn && ctor ? contextIn[\"static\"] ? ctor : ctor.prototype : null;\n var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});\n var _, done = false;\n for (var i = decorators.length - 1; i >= 0; i--) {\n var context = {};\n for (var p in contextIn) context[p] = p === \"access\" ? {} : contextIn[p];\n for (var p in contextIn.access) context.access[p] = contextIn.access[p];\n context.addInitializer = function (f) { if (done) throw new TypeError(\"Cannot add initializers after decoration has completed\"); extraInitializers.push(accept(f || null)); };\n var result = (0, decorators[i])(kind === \"accessor\" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);\n if (kind === \"accessor\") {\n if (result === void 0) continue;\n if (result === null || typeof result !== \"object\") throw new TypeError(\"Object expected\");\n if (_ = accept(result.get)) descriptor.get = _;\n if (_ = accept(result.set)) descriptor.set = _;\n if (_ = accept(result.init)) initializers.unshift(_);\n }\n else if (_ = accept(result)) {\n if (kind === \"field\") initializers.unshift(_);\n else descriptor[key] = _;\n }\n }\n if (target) Object.defineProperty(target, contextIn.name, descriptor);\n done = true;\n};\n\nexport function __runInitializers(thisArg, initializers, value) {\n var useValue = arguments.length > 2;\n for (var i = 0; i < initializers.length; i++) {\n value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);\n }\n return useValue ? value : void 0;\n};\n\nexport function __propKey(x) {\n return typeof x === \"symbol\" ? x : \"\".concat(x);\n};\n\nexport function __setFunctionName(f, name, prefix) {\n if (typeof name === \"symbol\") name = name.description ? \"[\".concat(name.description, \"]\") : \"\";\n return Object.defineProperty(f, \"name\", { configurable: true, value: prefix ? \"\".concat(prefix, \" \", name) : name });\n};\n\nexport function __metadata(metadataKey, metadataValue) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\n}\n\nexport function __awaiter(thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n}\n\nexport function __generator(thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === \"function\" ? Iterator : Object).prototype);\n return g.next = verb(0), g[\"throw\"] = verb(1), g[\"return\"] = verb(2), typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n}\n\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\n\nexport function __exportStar(m, o) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\n}\n\nexport function __values(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n}\n\nexport function __read(o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n}\n\n/** @deprecated */\nexport function __spread() {\n for (var ar = [], i = 0; i < arguments.length; i++)\n ar = ar.concat(__read(arguments[i]));\n return ar;\n}\n\n/** @deprecated */\nexport function __spreadArrays() {\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\n r[k] = a[j];\n return r;\n}\n\nexport function __spreadArray(to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n}\n\nexport function __await(v) {\n return this instanceof __await ? (this.v = v, this) : new __await(v);\n}\n\nexport function __asyncGenerator(thisArg, _arguments, generator) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\n return i = Object.create((typeof AsyncIterator === \"function\" ? AsyncIterator : Object).prototype), verb(\"next\"), verb(\"throw\"), verb(\"return\", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i;\n function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; }\n function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } }\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\n function fulfill(value) { resume(\"next\", value); }\n function reject(value) { resume(\"throw\", value); }\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\n}\n\nexport function __asyncDelegator(o) {\n var i, p;\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }\n}\n\nexport function __asyncValues(o) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var m = o[Symbol.asyncIterator], i;\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\n}\n\nexport function __makeTemplateObject(cooked, raw) {\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\n return cooked;\n};\n\nvar __setModuleDefault = Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n};\n\nexport function __importStar(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n}\n\nexport function __importDefault(mod) {\n return (mod && mod.__esModule) ? mod : { default: mod };\n}\n\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n}\n\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n}\n\nexport function __classPrivateFieldIn(state, receiver) {\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\n}\n\nexport function __addDisposableResource(env, value, async) {\n if (value !== null && value !== void 0) {\n if (typeof value !== \"object\" && typeof value !== \"function\") throw new TypeError(\"Object expected.\");\n var dispose, inner;\n if (async) {\n if (!Symbol.asyncDispose) throw new TypeError(\"Symbol.asyncDispose is not defined.\");\n dispose = value[Symbol.asyncDispose];\n }\n if (dispose === void 0) {\n if (!Symbol.dispose) throw new TypeError(\"Symbol.dispose is not defined.\");\n dispose = value[Symbol.dispose];\n if (async) inner = dispose;\n }\n if (typeof dispose !== \"function\") throw new TypeError(\"Object not disposable.\");\n if (inner) dispose = function() { try { inner.call(this); } catch (e) { return Promise.reject(e); } };\n env.stack.push({ value: value, dispose: dispose, async: async });\n }\n else if (async) {\n env.stack.push({ async: true });\n }\n return value;\n}\n\nvar _SuppressedError = typeof SuppressedError === \"function\" ? SuppressedError : function (error, suppressed, message) {\n var e = new Error(message);\n return e.name = \"SuppressedError\", e.error = error, e.suppressed = suppressed, e;\n};\n\nexport function __disposeResources(env) {\n function fail(e) {\n env.error = env.hasError ? new _SuppressedError(e, env.error, \"An error was suppressed during disposal.\") : e;\n env.hasError = true;\n }\n var r, s = 0;\n function next() {\n while (r = env.stack.pop()) {\n try {\n if (!r.async && s === 1) return s = 0, env.stack.push(r), Promise.resolve().then(next);\n if (r.dispose) {\n var result = r.dispose.call(r.value);\n if (r.async) return s |= 2, Promise.resolve(result).then(next, function(e) { fail(e); return next(); });\n }\n else s |= 1;\n }\n catch (e) {\n fail(e);\n }\n }\n if (s === 1) return env.hasError ? Promise.reject(env.error) : Promise.resolve();\n if (env.hasError) throw env.error;\n }\n return next();\n}\n\nexport default {\n __extends,\n __assign,\n __rest,\n __decorate,\n __param,\n __metadata,\n __awaiter,\n __generator,\n __createBinding,\n __exportStar,\n __values,\n __read,\n __spread,\n __spreadArrays,\n __spreadArray,\n __await,\n __asyncGenerator,\n __asyncDelegator,\n __asyncValues,\n __makeTemplateObject,\n __importStar,\n __importDefault,\n __classPrivateFieldGet,\n __classPrivateFieldSet,\n __classPrivateFieldIn,\n __addDisposableResource,\n __disposeResources,\n};\n", "/**\n * Returns true if the object is a function.\n * @param value The value to check\n */\nexport function isFunction(value: any): value is (...args: any[]) => any {\n return typeof value === 'function';\n}\n", "/**\n * Used to create Error subclasses until the community moves away from ES5.\n *\n * This is because compiling from TypeScript down to ES5 has issues with subclassing Errors\n * as well as other built-in types: https://github.com/Microsoft/TypeScript/issues/12123\n *\n * @param createImpl A factory function to create the actual constructor implementation. The returned\n * function should be a named function that calls `_super` internally.\n */\nexport function createErrorClass(createImpl: (_super: any) => any): T {\n const _super = (instance: any) => {\n Error.call(instance);\n instance.stack = new Error().stack;\n };\n\n const ctorFunc = createImpl(_super);\n ctorFunc.prototype = Object.create(Error.prototype);\n ctorFunc.prototype.constructor = ctorFunc;\n return ctorFunc;\n}\n", "import { createErrorClass } from './createErrorClass';\n\nexport interface UnsubscriptionError extends Error {\n readonly errors: any[];\n}\n\nexport interface UnsubscriptionErrorCtor {\n /**\n * @deprecated Internal implementation detail. Do not construct error instances.\n * Cannot be tagged as internal: https://github.com/ReactiveX/rxjs/issues/6269\n */\n new (errors: any[]): UnsubscriptionError;\n}\n\n/**\n * An error thrown when one or more errors have occurred during the\n * `unsubscribe` of a {@link Subscription}.\n */\nexport const UnsubscriptionError: UnsubscriptionErrorCtor = createErrorClass(\n (_super) =>\n function UnsubscriptionErrorImpl(this: any, errors: (Error | string)[]) {\n _super(this);\n this.message = errors\n ? `${errors.length} errors occurred during unsubscription:\n${errors.map((err, i) => `${i + 1}) ${err.toString()}`).join('\\n ')}`\n : '';\n this.name = 'UnsubscriptionError';\n this.errors = errors;\n }\n);\n", "/**\n * Removes an item from an array, mutating it.\n * @param arr The array to remove the item from\n * @param item The item to remove\n */\nexport function arrRemove(arr: T[] | undefined | null, item: T) {\n if (arr) {\n const index = arr.indexOf(item);\n 0 <= index && arr.splice(index, 1);\n }\n}\n", "import { isFunction } from './util/isFunction';\nimport { UnsubscriptionError } from './util/UnsubscriptionError';\nimport { SubscriptionLike, TeardownLogic, Unsubscribable } from './types';\nimport { arrRemove } from './util/arrRemove';\n\n/**\n * Represents a disposable resource, such as the execution of an Observable. A\n * Subscription has one important method, `unsubscribe`, that takes no argument\n * and just disposes the resource held by the subscription.\n *\n * Additionally, subscriptions may be grouped together through the `add()`\n * method, which will attach a child Subscription to the current Subscription.\n * When a Subscription is unsubscribed, all its children (and its grandchildren)\n * will be unsubscribed as well.\n */\nexport class Subscription implements SubscriptionLike {\n public static EMPTY = (() => {\n const empty = new Subscription();\n empty.closed = true;\n return empty;\n })();\n\n /**\n * A flag to indicate whether this Subscription has already been unsubscribed.\n */\n public closed = false;\n\n private _parentage: Subscription[] | Subscription | null = null;\n\n /**\n * The list of registered finalizers to execute upon unsubscription. Adding and removing from this\n * list occurs in the {@link #add} and {@link #remove} methods.\n */\n private _finalizers: Exclude[] | null = null;\n\n /**\n * @param initialTeardown A function executed first as part of the finalization\n * process that is kicked off when {@link #unsubscribe} is called.\n */\n constructor(private initialTeardown?: () => void) {}\n\n /**\n * Disposes the resources held by the subscription. May, for instance, cancel\n * an ongoing Observable execution or cancel any other type of work that\n * started when the Subscription was created.\n */\n unsubscribe(): void {\n let errors: any[] | undefined;\n\n if (!this.closed) {\n this.closed = true;\n\n // Remove this from it's parents.\n const { _parentage } = this;\n if (_parentage) {\n this._parentage = null;\n if (Array.isArray(_parentage)) {\n for (const parent of _parentage) {\n parent.remove(this);\n }\n } else {\n _parentage.remove(this);\n }\n }\n\n const { initialTeardown: initialFinalizer } = this;\n if (isFunction(initialFinalizer)) {\n try {\n initialFinalizer();\n } catch (e) {\n errors = e instanceof UnsubscriptionError ? e.errors : [e];\n }\n }\n\n const { _finalizers } = this;\n if (_finalizers) {\n this._finalizers = null;\n for (const finalizer of _finalizers) {\n try {\n execFinalizer(finalizer);\n } catch (err) {\n errors = errors ?? [];\n if (err instanceof UnsubscriptionError) {\n errors = [...errors, ...err.errors];\n } else {\n errors.push(err);\n }\n }\n }\n }\n\n if (errors) {\n throw new UnsubscriptionError(errors);\n }\n }\n }\n\n /**\n * Adds a finalizer to this subscription, so that finalization will be unsubscribed/called\n * when this subscription is unsubscribed. If this subscription is already {@link #closed},\n * because it has already been unsubscribed, then whatever finalizer is passed to it\n * will automatically be executed (unless the finalizer itself is also a closed subscription).\n *\n * Closed Subscriptions cannot be added as finalizers to any subscription. Adding a closed\n * subscription to a any subscription will result in no operation. (A noop).\n *\n * Adding a subscription to itself, or adding `null` or `undefined` will not perform any\n * operation at all. (A noop).\n *\n * `Subscription` instances that are added to this instance will automatically remove themselves\n * if they are unsubscribed. Functions and {@link Unsubscribable} objects that you wish to remove\n * will need to be removed manually with {@link #remove}\n *\n * @param teardown The finalization logic to add to this subscription.\n */\n add(teardown: TeardownLogic): void {\n // Only add the finalizer if it's not undefined\n // and don't add a subscription to itself.\n if (teardown && teardown !== this) {\n if (this.closed) {\n // If this subscription is already closed,\n // execute whatever finalizer is handed to it automatically.\n execFinalizer(teardown);\n } else {\n if (teardown instanceof Subscription) {\n // We don't add closed subscriptions, and we don't add the same subscription\n // twice. Subscription unsubscribe is idempotent.\n if (teardown.closed || teardown._hasParent(this)) {\n return;\n }\n teardown._addParent(this);\n }\n (this._finalizers = this._finalizers ?? []).push(teardown);\n }\n }\n }\n\n /**\n * Checks to see if a this subscription already has a particular parent.\n * This will signal that this subscription has already been added to the parent in question.\n * @param parent the parent to check for\n */\n private _hasParent(parent: Subscription) {\n const { _parentage } = this;\n return _parentage === parent || (Array.isArray(_parentage) && _parentage.includes(parent));\n }\n\n /**\n * Adds a parent to this subscription so it can be removed from the parent if it\n * unsubscribes on it's own.\n *\n * NOTE: THIS ASSUMES THAT {@link _hasParent} HAS ALREADY BEEN CHECKED.\n * @param parent The parent subscription to add\n */\n private _addParent(parent: Subscription) {\n const { _parentage } = this;\n this._parentage = Array.isArray(_parentage) ? (_parentage.push(parent), _parentage) : _parentage ? [_parentage, parent] : parent;\n }\n\n /**\n * Called on a child when it is removed via {@link #remove}.\n * @param parent The parent to remove\n */\n private _removeParent(parent: Subscription) {\n const { _parentage } = this;\n if (_parentage === parent) {\n this._parentage = null;\n } else if (Array.isArray(_parentage)) {\n arrRemove(_parentage, parent);\n }\n }\n\n /**\n * Removes a finalizer from this subscription that was previously added with the {@link #add} method.\n *\n * Note that `Subscription` instances, when unsubscribed, will automatically remove themselves\n * from every other `Subscription` they have been added to. This means that using the `remove` method\n * is not a common thing and should be used thoughtfully.\n *\n * If you add the same finalizer instance of a function or an unsubscribable object to a `Subscription` instance\n * more than once, you will need to call `remove` the same number of times to remove all instances.\n *\n * All finalizer instances are removed to free up memory upon unsubscription.\n *\n * @param teardown The finalizer to remove from this subscription\n */\n remove(teardown: Exclude): void {\n const { _finalizers } = this;\n _finalizers && arrRemove(_finalizers, teardown);\n\n if (teardown instanceof Subscription) {\n teardown._removeParent(this);\n }\n }\n}\n\nexport const EMPTY_SUBSCRIPTION = Subscription.EMPTY;\n\nexport function isSubscription(value: any): value is Subscription {\n return (\n value instanceof Subscription ||\n (value && 'closed' in value && isFunction(value.remove) && isFunction(value.add) && isFunction(value.unsubscribe))\n );\n}\n\nfunction execFinalizer(finalizer: Unsubscribable | (() => void)) {\n if (isFunction(finalizer)) {\n finalizer();\n } else {\n finalizer.unsubscribe();\n }\n}\n", "import { Subscriber } from './Subscriber';\nimport { ObservableNotification } from './types';\n\n/**\n * The {@link GlobalConfig} object for RxJS. It is used to configure things\n * like how to react on unhandled errors.\n */\nexport const config: GlobalConfig = {\n onUnhandledError: null,\n onStoppedNotification: null,\n Promise: undefined,\n useDeprecatedSynchronousErrorHandling: false,\n useDeprecatedNextContext: false,\n};\n\n/**\n * The global configuration object for RxJS, used to configure things\n * like how to react on unhandled errors. Accessible via {@link config}\n * object.\n */\nexport interface GlobalConfig {\n /**\n * A registration point for unhandled errors from RxJS. These are errors that\n * cannot were not handled by consuming code in the usual subscription path. For\n * example, if you have this configured, and you subscribe to an observable without\n * providing an error handler, errors from that subscription will end up here. This\n * will _always_ be called asynchronously on another job in the runtime. This is because\n * we do not want errors thrown in this user-configured handler to interfere with the\n * behavior of the library.\n */\n onUnhandledError: ((err: any) => void) | null;\n\n /**\n * A registration point for notifications that cannot be sent to subscribers because they\n * have completed, errored or have been explicitly unsubscribed. By default, next, complete\n * and error notifications sent to stopped subscribers are noops. However, sometimes callers\n * might want a different behavior. For example, with sources that attempt to report errors\n * to stopped subscribers, a caller can configure RxJS to throw an unhandled error instead.\n * This will _always_ be called asynchronously on another job in the runtime. This is because\n * we do not want errors thrown in this user-configured handler to interfere with the\n * behavior of the library.\n */\n onStoppedNotification: ((notification: ObservableNotification, subscriber: Subscriber) => void) | null;\n\n /**\n * The promise constructor used by default for {@link Observable#toPromise toPromise} and {@link Observable#forEach forEach}\n * methods.\n *\n * @deprecated As of version 8, RxJS will no longer support this sort of injection of a\n * Promise constructor. If you need a Promise implementation other than native promises,\n * please polyfill/patch Promise as you see appropriate. Will be removed in v8.\n */\n Promise?: PromiseConstructorLike;\n\n /**\n * If true, turns on synchronous error rethrowing, which is a deprecated behavior\n * in v6 and higher. This behavior enables bad patterns like wrapping a subscribe\n * call in a try/catch block. It also enables producer interference, a nasty bug\n * where a multicast can be broken for all observers by a downstream consumer with\n * an unhandled error. DO NOT USE THIS FLAG UNLESS IT'S NEEDED TO BUY TIME\n * FOR MIGRATION REASONS.\n *\n * @deprecated As of version 8, RxJS will no longer support synchronous throwing\n * of unhandled errors. All errors will be thrown on a separate call stack to prevent bad\n * behaviors described above. Will be removed in v8.\n */\n useDeprecatedSynchronousErrorHandling: boolean;\n\n /**\n * If true, enables an as-of-yet undocumented feature from v5: The ability to access\n * `unsubscribe()` via `this` context in `next` functions created in observers passed\n * to `subscribe`.\n *\n * This is being removed because the performance was severely problematic, and it could also cause\n * issues when types other than POJOs are passed to subscribe as subscribers, as they will likely have\n * their `this` context overwritten.\n *\n * @deprecated As of version 8, RxJS will no longer support altering the\n * context of next functions provided as part of an observer to Subscribe. Instead,\n * you will have access to a subscription or a signal or token that will allow you to do things like\n * unsubscribe and test closed status. Will be removed in v8.\n */\n useDeprecatedNextContext: boolean;\n}\n", "import type { TimerHandle } from './timerHandle';\ntype SetTimeoutFunction = (handler: () => void, timeout?: number, ...args: any[]) => TimerHandle;\ntype ClearTimeoutFunction = (handle: TimerHandle) => void;\n\ninterface TimeoutProvider {\n setTimeout: SetTimeoutFunction;\n clearTimeout: ClearTimeoutFunction;\n delegate:\n | {\n setTimeout: SetTimeoutFunction;\n clearTimeout: ClearTimeoutFunction;\n }\n | undefined;\n}\n\nexport const timeoutProvider: TimeoutProvider = {\n // When accessing the delegate, use the variable rather than `this` so that\n // the functions can be called without being bound to the provider.\n setTimeout(handler: () => void, timeout?: number, ...args) {\n const { delegate } = timeoutProvider;\n if (delegate?.setTimeout) {\n return delegate.setTimeout(handler, timeout, ...args);\n }\n return setTimeout(handler, timeout, ...args);\n },\n clearTimeout(handle) {\n const { delegate } = timeoutProvider;\n return (delegate?.clearTimeout || clearTimeout)(handle as any);\n },\n delegate: undefined,\n};\n", "import { config } from '../config';\nimport { timeoutProvider } from '../scheduler/timeoutProvider';\n\n/**\n * Handles an error on another job either with the user-configured {@link onUnhandledError},\n * or by throwing it on that new job so it can be picked up by `window.onerror`, `process.on('error')`, etc.\n *\n * This should be called whenever there is an error that is out-of-band with the subscription\n * or when an error hits a terminal boundary of the subscription and no error handler was provided.\n *\n * @param err the error to report\n */\nexport function reportUnhandledError(err: any) {\n timeoutProvider.setTimeout(() => {\n const { onUnhandledError } = config;\n if (onUnhandledError) {\n // Execute the user-configured error handler.\n onUnhandledError(err);\n } else {\n // Throw so it is picked up by the runtime's uncaught error mechanism.\n throw err;\n }\n });\n}\n", "/* tslint:disable:no-empty */\nexport function noop() { }\n", "import { CompleteNotification, NextNotification, ErrorNotification } from './types';\n\n/**\n * A completion object optimized for memory use and created to be the\n * same \"shape\" as other notifications in v8.\n * @internal\n */\nexport const COMPLETE_NOTIFICATION = (() => createNotification('C', undefined, undefined) as CompleteNotification)();\n\n/**\n * Internal use only. Creates an optimized error notification that is the same \"shape\"\n * as other notifications.\n * @internal\n */\nexport function errorNotification(error: any): ErrorNotification {\n return createNotification('E', undefined, error) as any;\n}\n\n/**\n * Internal use only. Creates an optimized next notification that is the same \"shape\"\n * as other notifications.\n * @internal\n */\nexport function nextNotification(value: T) {\n return createNotification('N', value, undefined) as NextNotification;\n}\n\n/**\n * Ensures that all notifications created internally have the same \"shape\" in v8.\n *\n * TODO: This is only exported to support a crazy legacy test in `groupBy`.\n * @internal\n */\nexport function createNotification(kind: 'N' | 'E' | 'C', value: any, error: any) {\n return {\n kind,\n value,\n error,\n };\n}\n", "import { config } from '../config';\n\nlet context: { errorThrown: boolean; error: any } | null = null;\n\n/**\n * Handles dealing with errors for super-gross mode. Creates a context, in which\n * any synchronously thrown errors will be passed to {@link captureError}. Which\n * will record the error such that it will be rethrown after the call back is complete.\n * TODO: Remove in v8\n * @param cb An immediately executed function.\n */\nexport function errorContext(cb: () => void) {\n if (config.useDeprecatedSynchronousErrorHandling) {\n const isRoot = !context;\n if (isRoot) {\n context = { errorThrown: false, error: null };\n }\n cb();\n if (isRoot) {\n const { errorThrown, error } = context!;\n context = null;\n if (errorThrown) {\n throw error;\n }\n }\n } else {\n // This is the general non-deprecated path for everyone that\n // isn't crazy enough to use super-gross mode (useDeprecatedSynchronousErrorHandling)\n cb();\n }\n}\n\n/**\n * Captures errors only in super-gross mode.\n * @param err the error to capture\n */\nexport function captureError(err: any) {\n if (config.useDeprecatedSynchronousErrorHandling && context) {\n context.errorThrown = true;\n context.error = err;\n }\n}\n", "import { isFunction } from './util/isFunction';\nimport { Observer, ObservableNotification } from './types';\nimport { isSubscription, Subscription } from './Subscription';\nimport { config } from './config';\nimport { reportUnhandledError } from './util/reportUnhandledError';\nimport { noop } from './util/noop';\nimport { nextNotification, errorNotification, COMPLETE_NOTIFICATION } from './NotificationFactories';\nimport { timeoutProvider } from './scheduler/timeoutProvider';\nimport { captureError } from './util/errorContext';\n\n/**\n * Implements the {@link Observer} interface and extends the\n * {@link Subscription} class. While the {@link Observer} is the public API for\n * consuming the values of an {@link Observable}, all Observers get converted to\n * a Subscriber, in order to provide Subscription-like capabilities such as\n * `unsubscribe`. Subscriber is a common type in RxJS, and crucial for\n * implementing operators, but it is rarely used as a public API.\n */\nexport class Subscriber extends Subscription implements Observer {\n /**\n * A static factory for a Subscriber, given a (potentially partial) definition\n * of an Observer.\n * @param next The `next` callback of an Observer.\n * @param error The `error` callback of an\n * Observer.\n * @param complete The `complete` callback of an\n * Observer.\n * @return A Subscriber wrapping the (partially defined)\n * Observer represented by the given arguments.\n * @deprecated Do not use. Will be removed in v8. There is no replacement for this\n * method, and there is no reason to be creating instances of `Subscriber` directly.\n * If you have a specific use case, please file an issue.\n */\n static create(next?: (x?: T) => void, error?: (e?: any) => void, complete?: () => void): Subscriber {\n return new SafeSubscriber(next, error, complete);\n }\n\n /** @deprecated Internal implementation detail, do not use directly. Will be made internal in v8. */\n protected isStopped: boolean = false;\n /** @deprecated Internal implementation detail, do not use directly. Will be made internal in v8. */\n protected destination: Subscriber | Observer; // this `any` is the escape hatch to erase extra type param (e.g. R)\n\n /**\n * @deprecated Internal implementation detail, do not use directly. Will be made internal in v8.\n * There is no reason to directly create an instance of Subscriber. This type is exported for typings reasons.\n */\n constructor(destination?: Subscriber | Observer) {\n super();\n if (destination) {\n this.destination = destination;\n // Automatically chain subscriptions together here.\n // if destination is a Subscription, then it is a Subscriber.\n if (isSubscription(destination)) {\n destination.add(this);\n }\n } else {\n this.destination = EMPTY_OBSERVER;\n }\n }\n\n /**\n * The {@link Observer} callback to receive notifications of type `next` from\n * the Observable, with a value. The Observable may call this method 0 or more\n * times.\n * @param value The `next` value.\n */\n next(value: T): void {\n if (this.isStopped) {\n handleStoppedNotification(nextNotification(value), this);\n } else {\n this._next(value!);\n }\n }\n\n /**\n * The {@link Observer} callback to receive notifications of type `error` from\n * the Observable, with an attached `Error`. Notifies the Observer that\n * the Observable has experienced an error condition.\n * @param err The `error` exception.\n */\n error(err?: any): void {\n if (this.isStopped) {\n handleStoppedNotification(errorNotification(err), this);\n } else {\n this.isStopped = true;\n this._error(err);\n }\n }\n\n /**\n * The {@link Observer} callback to receive a valueless notification of type\n * `complete` from the Observable. Notifies the Observer that the Observable\n * has finished sending push-based notifications.\n */\n complete(): void {\n if (this.isStopped) {\n handleStoppedNotification(COMPLETE_NOTIFICATION, this);\n } else {\n this.isStopped = true;\n this._complete();\n }\n }\n\n unsubscribe(): void {\n if (!this.closed) {\n this.isStopped = true;\n super.unsubscribe();\n this.destination = null!;\n }\n }\n\n protected _next(value: T): void {\n this.destination.next(value);\n }\n\n protected _error(err: any): void {\n try {\n this.destination.error(err);\n } finally {\n this.unsubscribe();\n }\n }\n\n protected _complete(): void {\n try {\n this.destination.complete();\n } finally {\n this.unsubscribe();\n }\n }\n}\n\n/**\n * This bind is captured here because we want to be able to have\n * compatibility with monoid libraries that tend to use a method named\n * `bind`. In particular, a library called Monio requires this.\n */\nconst _bind = Function.prototype.bind;\n\nfunction bind any>(fn: Fn, thisArg: any): Fn {\n return _bind.call(fn, thisArg);\n}\n\n/**\n * Internal optimization only, DO NOT EXPOSE.\n * @internal\n */\nclass ConsumerObserver implements Observer {\n constructor(private partialObserver: Partial>) {}\n\n next(value: T): void {\n const { partialObserver } = this;\n if (partialObserver.next) {\n try {\n partialObserver.next(value);\n } catch (error) {\n handleUnhandledError(error);\n }\n }\n }\n\n error(err: any): void {\n const { partialObserver } = this;\n if (partialObserver.error) {\n try {\n partialObserver.error(err);\n } catch (error) {\n handleUnhandledError(error);\n }\n } else {\n handleUnhandledError(err);\n }\n }\n\n complete(): void {\n const { partialObserver } = this;\n if (partialObserver.complete) {\n try {\n partialObserver.complete();\n } catch (error) {\n handleUnhandledError(error);\n }\n }\n }\n}\n\nexport class SafeSubscriber extends Subscriber {\n constructor(\n observerOrNext?: Partial> | ((value: T) => void) | null,\n error?: ((e?: any) => void) | null,\n complete?: (() => void) | null\n ) {\n super();\n\n let partialObserver: Partial>;\n if (isFunction(observerOrNext) || !observerOrNext) {\n // The first argument is a function, not an observer. The next\n // two arguments *could* be observers, or they could be empty.\n partialObserver = {\n next: (observerOrNext ?? undefined) as ((value: T) => void) | undefined,\n error: error ?? undefined,\n complete: complete ?? undefined,\n };\n } else {\n // The first argument is a partial observer.\n let context: any;\n if (this && config.useDeprecatedNextContext) {\n // This is a deprecated path that made `this.unsubscribe()` available in\n // next handler functions passed to subscribe. This only exists behind a flag\n // now, as it is *very* slow.\n context = Object.create(observerOrNext);\n context.unsubscribe = () => this.unsubscribe();\n partialObserver = {\n next: observerOrNext.next && bind(observerOrNext.next, context),\n error: observerOrNext.error && bind(observerOrNext.error, context),\n complete: observerOrNext.complete && bind(observerOrNext.complete, context),\n };\n } else {\n // The \"normal\" path. Just use the partial observer directly.\n partialObserver = observerOrNext;\n }\n }\n\n // Wrap the partial observer to ensure it's a full observer, and\n // make sure proper error handling is accounted for.\n this.destination = new ConsumerObserver(partialObserver);\n }\n}\n\nfunction handleUnhandledError(error: any) {\n if (config.useDeprecatedSynchronousErrorHandling) {\n captureError(error);\n } else {\n // Ideal path, we report this as an unhandled error,\n // which is thrown on a new call stack.\n reportUnhandledError(error);\n }\n}\n\n/**\n * An error handler used when no error handler was supplied\n * to the SafeSubscriber -- meaning no error handler was supplied\n * do the `subscribe` call on our observable.\n * @param err The error to handle\n */\nfunction defaultErrorHandler(err: any) {\n throw err;\n}\n\n/**\n * A handler for notifications that cannot be sent to a stopped subscriber.\n * @param notification The notification being sent.\n * @param subscriber The stopped subscriber.\n */\nfunction handleStoppedNotification(notification: ObservableNotification, subscriber: Subscriber) {\n const { onStoppedNotification } = config;\n onStoppedNotification && timeoutProvider.setTimeout(() => onStoppedNotification(notification, subscriber));\n}\n\n/**\n * The observer used as a stub for subscriptions where the user did not\n * pass any arguments to `subscribe`. Comes with the default error handling\n * behavior.\n */\nexport const EMPTY_OBSERVER: Readonly> & { closed: true } = {\n closed: true,\n next: noop,\n error: defaultErrorHandler,\n complete: noop,\n};\n", "/**\n * Symbol.observable or a string \"@@observable\". Used for interop\n *\n * @deprecated We will no longer be exporting this symbol in upcoming versions of RxJS.\n * Instead polyfill and use Symbol.observable directly *or* use https://www.npmjs.com/package/symbol-observable\n */\nexport const observable: string | symbol = (() => (typeof Symbol === 'function' && Symbol.observable) || '@@observable')();\n", "/**\n * This function takes one parameter and just returns it. Simply put,\n * this is like `(x: T): T => x`.\n *\n * ## Examples\n *\n * This is useful in some cases when using things like `mergeMap`\n *\n * ```ts\n * import { interval, take, map, range, mergeMap, identity } from 'rxjs';\n *\n * const source$ = interval(1000).pipe(take(5));\n *\n * const result$ = source$.pipe(\n * map(i => range(i)),\n * mergeMap(identity) // same as mergeMap(x => x)\n * );\n *\n * result$.subscribe({\n * next: console.log\n * });\n * ```\n *\n * Or when you want to selectively apply an operator\n *\n * ```ts\n * import { interval, take, identity } from 'rxjs';\n *\n * const shouldLimit = () => Math.random() < 0.5;\n *\n * const source$ = interval(1000);\n *\n * const result$ = source$.pipe(shouldLimit() ? take(5) : identity);\n *\n * result$.subscribe({\n * next: console.log\n * });\n * ```\n *\n * @param x Any value that is returned by this function\n * @returns The value passed as the first parameter to this function\n */\nexport function identity(x: T): T {\n return x;\n}\n", "import { identity } from './identity';\nimport { UnaryFunction } from '../types';\n\nexport function pipe(): typeof identity;\nexport function pipe(fn1: UnaryFunction): UnaryFunction;\nexport function pipe(fn1: UnaryFunction, fn2: UnaryFunction): UnaryFunction;\nexport function pipe(fn1: UnaryFunction, fn2: UnaryFunction, fn3: UnaryFunction): UnaryFunction;\nexport function pipe(\n fn1: UnaryFunction,\n fn2: UnaryFunction,\n fn3: UnaryFunction,\n fn4: UnaryFunction\n): UnaryFunction;\nexport function pipe(\n fn1: UnaryFunction,\n fn2: UnaryFunction,\n fn3: UnaryFunction,\n fn4: UnaryFunction,\n fn5: UnaryFunction\n): UnaryFunction;\nexport function pipe(\n fn1: UnaryFunction,\n fn2: UnaryFunction,\n fn3: UnaryFunction,\n fn4: UnaryFunction,\n fn5: UnaryFunction,\n fn6: UnaryFunction\n): UnaryFunction;\nexport function pipe(\n fn1: UnaryFunction,\n fn2: UnaryFunction,\n fn3: UnaryFunction,\n fn4: UnaryFunction,\n fn5: UnaryFunction,\n fn6: UnaryFunction,\n fn7: UnaryFunction\n): UnaryFunction;\nexport function pipe(\n fn1: UnaryFunction,\n fn2: UnaryFunction,\n fn3: UnaryFunction,\n fn4: UnaryFunction,\n fn5: UnaryFunction,\n fn6: UnaryFunction,\n fn7: UnaryFunction,\n fn8: UnaryFunction\n): UnaryFunction;\nexport function pipe(\n fn1: UnaryFunction,\n fn2: UnaryFunction,\n fn3: UnaryFunction,\n fn4: UnaryFunction,\n fn5: UnaryFunction,\n fn6: UnaryFunction,\n fn7: UnaryFunction,\n fn8: UnaryFunction,\n fn9: UnaryFunction\n): UnaryFunction;\nexport function pipe(\n fn1: UnaryFunction,\n fn2: UnaryFunction,\n fn3: UnaryFunction,\n fn4: UnaryFunction,\n fn5: UnaryFunction,\n fn6: UnaryFunction,\n fn7: UnaryFunction,\n fn8: UnaryFunction,\n fn9: UnaryFunction,\n ...fns: UnaryFunction[]\n): UnaryFunction;\n\n/**\n * pipe() can be called on one or more functions, each of which can take one argument (\"UnaryFunction\")\n * and uses it to return a value.\n * It returns a function that takes one argument, passes it to the first UnaryFunction, and then\n * passes the result to the next one, passes that result to the next one, and so on. \n */\nexport function pipe(...fns: Array>): UnaryFunction {\n return pipeFromArray(fns);\n}\n\n/** @internal */\nexport function pipeFromArray(fns: Array>): UnaryFunction {\n if (fns.length === 0) {\n return identity as UnaryFunction;\n }\n\n if (fns.length === 1) {\n return fns[0];\n }\n\n return function piped(input: T): R {\n return fns.reduce((prev: any, fn: UnaryFunction) => fn(prev), input as any);\n };\n}\n", "import { Operator } from './Operator';\nimport { SafeSubscriber, Subscriber } from './Subscriber';\nimport { isSubscription, Subscription } from './Subscription';\nimport { TeardownLogic, OperatorFunction, Subscribable, Observer } from './types';\nimport { observable as Symbol_observable } from './symbol/observable';\nimport { pipeFromArray } from './util/pipe';\nimport { config } from './config';\nimport { isFunction } from './util/isFunction';\nimport { errorContext } from './util/errorContext';\n\n/**\n * A representation of any set of values over any amount of time. This is the most basic building block\n * of RxJS.\n */\nexport class Observable implements Subscribable {\n /**\n * @deprecated Internal implementation detail, do not use directly. Will be made internal in v8.\n */\n source: Observable | undefined;\n\n /**\n * @deprecated Internal implementation detail, do not use directly. Will be made internal in v8.\n */\n operator: Operator | undefined;\n\n /**\n * @param subscribe The function that is called when the Observable is\n * initially subscribed to. This function is given a Subscriber, to which new values\n * can be `next`ed, or an `error` method can be called to raise an error, or\n * `complete` can be called to notify of a successful completion.\n */\n constructor(subscribe?: (this: Observable, subscriber: Subscriber) => TeardownLogic) {\n if (subscribe) {\n this._subscribe = subscribe;\n }\n }\n\n // HACK: Since TypeScript inherits static properties too, we have to\n // fight against TypeScript here so Subject can have a different static create signature\n /**\n * Creates a new Observable by calling the Observable constructor\n * @param subscribe the subscriber function to be passed to the Observable constructor\n * @return A new observable.\n * @deprecated Use `new Observable()` instead. Will be removed in v8.\n */\n static create: (...args: any[]) => any = (subscribe?: (subscriber: Subscriber) => TeardownLogic) => {\n return new Observable(subscribe);\n };\n\n /**\n * Creates a new Observable, with this Observable instance as the source, and the passed\n * operator defined as the new observable's operator.\n * @param operator the operator defining the operation to take on the observable\n * @return A new observable with the Operator applied.\n * @deprecated Internal implementation detail, do not use directly. Will be made internal in v8.\n * If you have implemented an operator using `lift`, it is recommended that you create an\n * operator by simply returning `new Observable()` directly. See \"Creating new operators from\n * scratch\" section here: https://rxjs.dev/guide/operators\n */\n lift(operator?: Operator): Observable {\n const observable = new Observable();\n observable.source = this;\n observable.operator = operator;\n return observable;\n }\n\n subscribe(observerOrNext?: Partial> | ((value: T) => void)): Subscription;\n /** @deprecated Instead of passing separate callback arguments, use an observer argument. Signatures taking separate callback arguments will be removed in v8. Details: https://rxjs.dev/deprecations/subscribe-arguments */\n subscribe(next?: ((value: T) => void) | null, error?: ((error: any) => void) | null, complete?: (() => void) | null): Subscription;\n /**\n * Invokes an execution of an Observable and registers Observer handlers for notifications it will emit.\n *\n * Use it when you have all these Observables, but still nothing is happening.\n *\n * `subscribe` is not a regular operator, but a method that calls Observable's internal `subscribe` function. It\n * might be for example a function that you passed to Observable's constructor, but most of the time it is\n * a library implementation, which defines what will be emitted by an Observable, and when it be will emitted. This means\n * that calling `subscribe` is actually the moment when Observable starts its work, not when it is created, as it is often\n * the thought.\n *\n * Apart from starting the execution of an Observable, this method allows you to listen for values\n * that an Observable emits, as well as for when it completes or errors. You can achieve this in two\n * of the following ways.\n *\n * The first way is creating an object that implements {@link Observer} interface. It should have methods\n * defined by that interface, but note that it should be just a regular JavaScript object, which you can create\n * yourself in any way you want (ES6 class, classic function constructor, object literal etc.). In particular, do\n * not attempt to use any RxJS implementation details to create Observers - you don't need them. Remember also\n * that your object does not have to implement all methods. If you find yourself creating a method that doesn't\n * do anything, you can simply omit it. Note however, if the `error` method is not provided and an error happens,\n * it will be thrown asynchronously. Errors thrown asynchronously cannot be caught using `try`/`catch`. Instead,\n * use the {@link onUnhandledError} configuration option or use a runtime handler (like `window.onerror` or\n * `process.on('error)`) to be notified of unhandled errors. Because of this, it's recommended that you provide\n * an `error` method to avoid missing thrown errors.\n *\n * The second way is to give up on Observer object altogether and simply provide callback functions in place of its methods.\n * This means you can provide three functions as arguments to `subscribe`, where the first function is equivalent\n * of a `next` method, the second of an `error` method and the third of a `complete` method. Just as in case of an Observer,\n * if you do not need to listen for something, you can omit a function by passing `undefined` or `null`,\n * since `subscribe` recognizes these functions by where they were placed in function call. When it comes\n * to the `error` function, as with an Observer, if not provided, errors emitted by an Observable will be thrown asynchronously.\n *\n * You can, however, subscribe with no parameters at all. This may be the case where you're not interested in terminal events\n * and you also handled emissions internally by using operators (e.g. using `tap`).\n *\n * Whichever style of calling `subscribe` you use, in both cases it returns a Subscription object.\n * This object allows you to call `unsubscribe` on it, which in turn will stop the work that an Observable does and will clean\n * up all resources that an Observable used. Note that cancelling a subscription will not call `complete` callback\n * provided to `subscribe` function, which is reserved for a regular completion signal that comes from an Observable.\n *\n * Remember that callbacks provided to `subscribe` are not guaranteed to be called asynchronously.\n * It is an Observable itself that decides when these functions will be called. For example {@link of}\n * by default emits all its values synchronously. Always check documentation for how given Observable\n * will behave when subscribed and if its default behavior can be modified with a `scheduler`.\n *\n * #### Examples\n *\n * Subscribe with an {@link guide/observer Observer}\n *\n * ```ts\n * import { of } from 'rxjs';\n *\n * const sumObserver = {\n * sum: 0,\n * next(value) {\n * console.log('Adding: ' + value);\n * this.sum = this.sum + value;\n * },\n * error() {\n * // We actually could just remove this method,\n * // since we do not really care about errors right now.\n * },\n * complete() {\n * console.log('Sum equals: ' + this.sum);\n * }\n * };\n *\n * of(1, 2, 3) // Synchronously emits 1, 2, 3 and then completes.\n * .subscribe(sumObserver);\n *\n * // Logs:\n * // 'Adding: 1'\n * // 'Adding: 2'\n * // 'Adding: 3'\n * // 'Sum equals: 6'\n * ```\n *\n * Subscribe with functions ({@link deprecations/subscribe-arguments deprecated})\n *\n * ```ts\n * import { of } from 'rxjs'\n *\n * let sum = 0;\n *\n * of(1, 2, 3).subscribe(\n * value => {\n * console.log('Adding: ' + value);\n * sum = sum + value;\n * },\n * undefined,\n * () => console.log('Sum equals: ' + sum)\n * );\n *\n * // Logs:\n * // 'Adding: 1'\n * // 'Adding: 2'\n * // 'Adding: 3'\n * // 'Sum equals: 6'\n * ```\n *\n * Cancel a subscription\n *\n * ```ts\n * import { interval } from 'rxjs';\n *\n * const subscription = interval(1000).subscribe({\n * next(num) {\n * console.log(num)\n * },\n * complete() {\n * // Will not be called, even when cancelling subscription.\n * console.log('completed!');\n * }\n * });\n *\n * setTimeout(() => {\n * subscription.unsubscribe();\n * console.log('unsubscribed!');\n * }, 2500);\n *\n * // Logs:\n * // 0 after 1s\n * // 1 after 2s\n * // 'unsubscribed!' after 2.5s\n * ```\n *\n * @param observerOrNext Either an {@link Observer} with some or all callback methods,\n * or the `next` handler that is called for each value emitted from the subscribed Observable.\n * @param error A handler for a terminal event resulting from an error. If no error handler is provided,\n * the error will be thrown asynchronously as unhandled.\n * @param complete A handler for a terminal event resulting from successful completion.\n * @return A subscription reference to the registered handlers.\n */\n subscribe(\n observerOrNext?: Partial> | ((value: T) => void) | null,\n error?: ((error: any) => void) | null,\n complete?: (() => void) | null\n ): Subscription {\n const subscriber = isSubscriber(observerOrNext) ? observerOrNext : new SafeSubscriber(observerOrNext, error, complete);\n\n errorContext(() => {\n const { operator, source } = this;\n subscriber.add(\n operator\n ? // We're dealing with a subscription in the\n // operator chain to one of our lifted operators.\n operator.call(subscriber, source)\n : source\n ? // If `source` has a value, but `operator` does not, something that\n // had intimate knowledge of our API, like our `Subject`, must have\n // set it. We're going to just call `_subscribe` directly.\n this._subscribe(subscriber)\n : // In all other cases, we're likely wrapping a user-provided initializer\n // function, so we need to catch errors and handle them appropriately.\n this._trySubscribe(subscriber)\n );\n });\n\n return subscriber;\n }\n\n /** @internal */\n protected _trySubscribe(sink: Subscriber): TeardownLogic {\n try {\n return this._subscribe(sink);\n } catch (err) {\n // We don't need to return anything in this case,\n // because it's just going to try to `add()` to a subscription\n // above.\n sink.error(err);\n }\n }\n\n /**\n * Used as a NON-CANCELLABLE means of subscribing to an observable, for use with\n * APIs that expect promises, like `async/await`. You cannot unsubscribe from this.\n *\n * **WARNING**: Only use this with observables you *know* will complete. If the source\n * observable does not complete, you will end up with a promise that is hung up, and\n * potentially all of the state of an async function hanging out in memory. To avoid\n * this situation, look into adding something like {@link timeout}, {@link take},\n * {@link takeWhile}, or {@link takeUntil} amongst others.\n *\n * #### Example\n *\n * ```ts\n * import { interval, take } from 'rxjs';\n *\n * const source$ = interval(1000).pipe(take(4));\n *\n * async function getTotal() {\n * let total = 0;\n *\n * await source$.forEach(value => {\n * total += value;\n * console.log('observable -> ' + value);\n * });\n *\n * return total;\n * }\n *\n * getTotal().then(\n * total => console.log('Total: ' + total)\n * );\n *\n * // Expected:\n * // 'observable -> 0'\n * // 'observable -> 1'\n * // 'observable -> 2'\n * // 'observable -> 3'\n * // 'Total: 6'\n * ```\n *\n * @param next A handler for each value emitted by the observable.\n * @return A promise that either resolves on observable completion or\n * rejects with the handled error.\n */\n forEach(next: (value: T) => void): Promise;\n\n /**\n * @param next a handler for each value emitted by the observable\n * @param promiseCtor a constructor function used to instantiate the Promise\n * @return a promise that either resolves on observable completion or\n * rejects with the handled error\n * @deprecated Passing a Promise constructor will no longer be available\n * in upcoming versions of RxJS. This is because it adds weight to the library, for very\n * little benefit. If you need this functionality, it is recommended that you either\n * polyfill Promise, or you create an adapter to convert the returned native promise\n * to whatever promise implementation you wanted. Will be removed in v8.\n */\n forEach(next: (value: T) => void, promiseCtor: PromiseConstructorLike): Promise;\n\n forEach(next: (value: T) => void, promiseCtor?: PromiseConstructorLike): Promise {\n promiseCtor = getPromiseCtor(promiseCtor);\n\n return new promiseCtor((resolve, reject) => {\n const subscriber = new SafeSubscriber({\n next: (value) => {\n try {\n next(value);\n } catch (err) {\n reject(err);\n subscriber.unsubscribe();\n }\n },\n error: reject,\n complete: resolve,\n });\n this.subscribe(subscriber);\n }) as Promise;\n }\n\n /** @internal */\n protected _subscribe(subscriber: Subscriber): TeardownLogic {\n return this.source?.subscribe(subscriber);\n }\n\n /**\n * An interop point defined by the es7-observable spec https://github.com/zenparsing/es-observable\n * @return This instance of the observable.\n */\n [Symbol_observable]() {\n return this;\n }\n\n /* tslint:disable:max-line-length */\n pipe(): Observable;\n pipe(op1: OperatorFunction): Observable;\n pipe(op1: OperatorFunction, op2: OperatorFunction): Observable;\n pipe(op1: OperatorFunction, op2: OperatorFunction, op3: OperatorFunction): Observable;\n pipe(\n op1: OperatorFunction,\n op2: OperatorFunction,\n op3: OperatorFunction,\n op4: OperatorFunction\n ): Observable;\n pipe(\n op1: OperatorFunction,\n op2: OperatorFunction,\n op3: OperatorFunction,\n op4: OperatorFunction,\n op5: OperatorFunction\n ): Observable;\n pipe(\n op1: OperatorFunction,\n op2: OperatorFunction,\n op3: OperatorFunction,\n op4: OperatorFunction,\n op5: OperatorFunction,\n op6: OperatorFunction\n ): Observable;\n pipe(\n op1: OperatorFunction,\n op2: OperatorFunction,\n op3: OperatorFunction,\n op4: OperatorFunction,\n op5: OperatorFunction,\n op6: OperatorFunction,\n op7: OperatorFunction\n ): Observable;\n pipe(\n op1: OperatorFunction,\n op2: OperatorFunction,\n op3: OperatorFunction,\n op4: OperatorFunction,\n op5: OperatorFunction,\n op6: OperatorFunction,\n op7: OperatorFunction,\n op8: OperatorFunction\n ): Observable;\n pipe(\n op1: OperatorFunction,\n op2: OperatorFunction,\n op3: OperatorFunction,\n op4: OperatorFunction,\n op5: OperatorFunction,\n op6: OperatorFunction,\n op7: OperatorFunction,\n op8: OperatorFunction,\n op9: OperatorFunction\n ): Observable;\n pipe(\n op1: OperatorFunction,\n op2: OperatorFunction,\n op3: OperatorFunction,\n op4: OperatorFunction,\n op5: OperatorFunction,\n op6: OperatorFunction,\n op7: OperatorFunction,\n op8: OperatorFunction,\n op9: OperatorFunction,\n ...operations: OperatorFunction[]\n ): Observable;\n /* tslint:enable:max-line-length */\n\n /**\n * Used to stitch together functional operators into a chain.\n *\n * ## Example\n *\n * ```ts\n * import { interval, filter, map, scan } from 'rxjs';\n *\n * interval(1000)\n * .pipe(\n * filter(x => x % 2 === 0),\n * map(x => x + x),\n * scan((acc, x) => acc + x)\n * )\n * .subscribe(x => console.log(x));\n * ```\n *\n * @return The Observable result of all the operators having been called\n * in the order they were passed in.\n */\n pipe(...operations: OperatorFunction[]): Observable {\n return pipeFromArray(operations)(this);\n }\n\n /* tslint:disable:max-line-length */\n /** @deprecated Replaced with {@link firstValueFrom} and {@link lastValueFrom}. Will be removed in v8. Details: https://rxjs.dev/deprecations/to-promise */\n toPromise(): Promise;\n /** @deprecated Replaced with {@link firstValueFrom} and {@link lastValueFrom}. Will be removed in v8. Details: https://rxjs.dev/deprecations/to-promise */\n toPromise(PromiseCtor: typeof Promise): Promise;\n /** @deprecated Replaced with {@link firstValueFrom} and {@link lastValueFrom}. Will be removed in v8. Details: https://rxjs.dev/deprecations/to-promise */\n toPromise(PromiseCtor: PromiseConstructorLike): Promise;\n /* tslint:enable:max-line-length */\n\n /**\n * Subscribe to this Observable and get a Promise resolving on\n * `complete` with the last emission (if any).\n *\n * **WARNING**: Only use this with observables you *know* will complete. If the source\n * observable does not complete, you will end up with a promise that is hung up, and\n * potentially all of the state of an async function hanging out in memory. To avoid\n * this situation, look into adding something like {@link timeout}, {@link take},\n * {@link takeWhile}, or {@link takeUntil} amongst others.\n *\n * @param [promiseCtor] a constructor function used to instantiate\n * the Promise\n * @return A Promise that resolves with the last value emit, or\n * rejects on an error. If there were no emissions, Promise\n * resolves with undefined.\n * @deprecated Replaced with {@link firstValueFrom} and {@link lastValueFrom}. Will be removed in v8. Details: https://rxjs.dev/deprecations/to-promise\n */\n toPromise(promiseCtor?: PromiseConstructorLike): Promise {\n promiseCtor = getPromiseCtor(promiseCtor);\n\n return new promiseCtor((resolve, reject) => {\n let value: T | undefined;\n this.subscribe(\n (x: T) => (value = x),\n (err: any) => reject(err),\n () => resolve(value)\n );\n }) as Promise;\n }\n}\n\n/**\n * Decides between a passed promise constructor from consuming code,\n * A default configured promise constructor, and the native promise\n * constructor and returns it. If nothing can be found, it will throw\n * an error.\n * @param promiseCtor The optional promise constructor to passed by consuming code\n */\nfunction getPromiseCtor(promiseCtor: PromiseConstructorLike | undefined) {\n return promiseCtor ?? config.Promise ?? Promise;\n}\n\nfunction isObserver(value: any): value is Observer {\n return value && isFunction(value.next) && isFunction(value.error) && isFunction(value.complete);\n}\n\nfunction isSubscriber(value: any): value is Subscriber {\n return (value && value instanceof Subscriber) || (isObserver(value) && isSubscription(value));\n}\n", "import { Observable } from '../Observable';\nimport { Subscriber } from '../Subscriber';\nimport { OperatorFunction } from '../types';\nimport { isFunction } from './isFunction';\n\n/**\n * Used to determine if an object is an Observable with a lift function.\n */\nexport function hasLift(source: any): source is { lift: InstanceType['lift'] } {\n return isFunction(source?.lift);\n}\n\n/**\n * Creates an `OperatorFunction`. Used to define operators throughout the library in a concise way.\n * @param init The logic to connect the liftedSource to the subscriber at the moment of subscription.\n */\nexport function operate(\n init: (liftedSource: Observable, subscriber: Subscriber) => (() => void) | void\n): OperatorFunction {\n return (source: Observable) => {\n if (hasLift(source)) {\n return source.lift(function (this: Subscriber, liftedSource: Observable) {\n try {\n return init(liftedSource, this);\n } catch (err) {\n this.error(err);\n }\n });\n }\n throw new TypeError('Unable to lift unknown Observable type');\n };\n}\n", "import { Subscriber } from '../Subscriber';\n\n/**\n * Creates an instance of an `OperatorSubscriber`.\n * @param destination The downstream subscriber.\n * @param onNext Handles next values, only called if this subscriber is not stopped or closed. Any\n * error that occurs in this function is caught and sent to the `error` method of this subscriber.\n * @param onError Handles errors from the subscription, any errors that occur in this handler are caught\n * and send to the `destination` error handler.\n * @param onComplete Handles completion notification from the subscription. Any errors that occur in\n * this handler are sent to the `destination` error handler.\n * @param onFinalize Additional teardown logic here. This will only be called on teardown if the\n * subscriber itself is not already closed. This is called after all other teardown logic is executed.\n */\nexport function createOperatorSubscriber(\n destination: Subscriber,\n onNext?: (value: T) => void,\n onComplete?: () => void,\n onError?: (err: any) => void,\n onFinalize?: () => void\n): Subscriber {\n return new OperatorSubscriber(destination, onNext, onComplete, onError, onFinalize);\n}\n\n/**\n * A generic helper for allowing operators to be created with a Subscriber and\n * use closures to capture necessary state from the operator function itself.\n */\nexport class OperatorSubscriber extends Subscriber {\n /**\n * Creates an instance of an `OperatorSubscriber`.\n * @param destination The downstream subscriber.\n * @param onNext Handles next values, only called if this subscriber is not stopped or closed. Any\n * error that occurs in this function is caught and sent to the `error` method of this subscriber.\n * @param onError Handles errors from the subscription, any errors that occur in this handler are caught\n * and send to the `destination` error handler.\n * @param onComplete Handles completion notification from the subscription. Any errors that occur in\n * this handler are sent to the `destination` error handler.\n * @param onFinalize Additional finalization logic here. This will only be called on finalization if the\n * subscriber itself is not already closed. This is called after all other finalization logic is executed.\n * @param shouldUnsubscribe An optional check to see if an unsubscribe call should truly unsubscribe.\n * NOTE: This currently **ONLY** exists to support the strange behavior of {@link groupBy}, where unsubscription\n * to the resulting observable does not actually disconnect from the source if there are active subscriptions\n * to any grouped observable. (DO NOT EXPOSE OR USE EXTERNALLY!!!)\n */\n constructor(\n destination: Subscriber,\n onNext?: (value: T) => void,\n onComplete?: () => void,\n onError?: (err: any) => void,\n private onFinalize?: () => void,\n private shouldUnsubscribe?: () => boolean\n ) {\n // It's important - for performance reasons - that all of this class's\n // members are initialized and that they are always initialized in the same\n // order. This will ensure that all OperatorSubscriber instances have the\n // same hidden class in V8. This, in turn, will help keep the number of\n // hidden classes involved in property accesses within the base class as\n // low as possible. If the number of hidden classes involved exceeds four,\n // the property accesses will become megamorphic and performance penalties\n // will be incurred - i.e. inline caches won't be used.\n //\n // The reasons for ensuring all instances have the same hidden class are\n // further discussed in this blog post from Benedikt Meurer:\n // https://benediktmeurer.de/2018/03/23/impact-of-polymorphism-on-component-based-frameworks-like-react/\n super(destination);\n this._next = onNext\n ? function (this: OperatorSubscriber, value: T) {\n try {\n onNext(value);\n } catch (err) {\n destination.error(err);\n }\n }\n : super._next;\n this._error = onError\n ? function (this: OperatorSubscriber, err: any) {\n try {\n onError(err);\n } catch (err) {\n // Send any errors that occur down stream.\n destination.error(err);\n } finally {\n // Ensure finalization.\n this.unsubscribe();\n }\n }\n : super._error;\n this._complete = onComplete\n ? function (this: OperatorSubscriber) {\n try {\n onComplete();\n } catch (err) {\n // Send any errors that occur down stream.\n destination.error(err);\n } finally {\n // Ensure finalization.\n this.unsubscribe();\n }\n }\n : super._complete;\n }\n\n unsubscribe() {\n if (!this.shouldUnsubscribe || this.shouldUnsubscribe()) {\n const { closed } = this;\n super.unsubscribe();\n // Execute additional teardown if we have any and we didn't already do so.\n !closed && this.onFinalize?.();\n }\n }\n}\n", "import { Subscription } from '../Subscription';\n\ninterface AnimationFrameProvider {\n schedule(callback: FrameRequestCallback): Subscription;\n requestAnimationFrame: typeof requestAnimationFrame;\n cancelAnimationFrame: typeof cancelAnimationFrame;\n delegate:\n | {\n requestAnimationFrame: typeof requestAnimationFrame;\n cancelAnimationFrame: typeof cancelAnimationFrame;\n }\n | undefined;\n}\n\nexport const animationFrameProvider: AnimationFrameProvider = {\n // When accessing the delegate, use the variable rather than `this` so that\n // the functions can be called without being bound to the provider.\n schedule(callback) {\n let request = requestAnimationFrame;\n let cancel: typeof cancelAnimationFrame | undefined = cancelAnimationFrame;\n const { delegate } = animationFrameProvider;\n if (delegate) {\n request = delegate.requestAnimationFrame;\n cancel = delegate.cancelAnimationFrame;\n }\n const handle = request((timestamp) => {\n // Clear the cancel function. The request has been fulfilled, so\n // attempting to cancel the request upon unsubscription would be\n // pointless.\n cancel = undefined;\n callback(timestamp);\n });\n return new Subscription(() => cancel?.(handle));\n },\n requestAnimationFrame(...args) {\n const { delegate } = animationFrameProvider;\n return (delegate?.requestAnimationFrame || requestAnimationFrame)(...args);\n },\n cancelAnimationFrame(...args) {\n const { delegate } = animationFrameProvider;\n return (delegate?.cancelAnimationFrame || cancelAnimationFrame)(...args);\n },\n delegate: undefined,\n};\n", "import { createErrorClass } from './createErrorClass';\n\nexport interface ObjectUnsubscribedError extends Error {}\n\nexport interface ObjectUnsubscribedErrorCtor {\n /**\n * @deprecated Internal implementation detail. Do not construct error instances.\n * Cannot be tagged as internal: https://github.com/ReactiveX/rxjs/issues/6269\n */\n new (): ObjectUnsubscribedError;\n}\n\n/**\n * An error thrown when an action is invalid because the object has been\n * unsubscribed.\n *\n * @see {@link Subject}\n * @see {@link BehaviorSubject}\n *\n * @class ObjectUnsubscribedError\n */\nexport const ObjectUnsubscribedError: ObjectUnsubscribedErrorCtor = createErrorClass(\n (_super) =>\n function ObjectUnsubscribedErrorImpl(this: any) {\n _super(this);\n this.name = 'ObjectUnsubscribedError';\n this.message = 'object unsubscribed';\n }\n);\n", "import { Operator } from './Operator';\nimport { Observable } from './Observable';\nimport { Subscriber } from './Subscriber';\nimport { Subscription, EMPTY_SUBSCRIPTION } from './Subscription';\nimport { Observer, SubscriptionLike, TeardownLogic } from './types';\nimport { ObjectUnsubscribedError } from './util/ObjectUnsubscribedError';\nimport { arrRemove } from './util/arrRemove';\nimport { errorContext } from './util/errorContext';\n\n/**\n * A Subject is a special type of Observable that allows values to be\n * multicasted to many Observers. Subjects are like EventEmitters.\n *\n * Every Subject is an Observable and an Observer. You can subscribe to a\n * Subject, and you can call next to feed values as well as error and complete.\n */\nexport class Subject extends Observable implements SubscriptionLike {\n closed = false;\n\n private currentObservers: Observer[] | null = null;\n\n /** @deprecated Internal implementation detail, do not use directly. Will be made internal in v8. */\n observers: Observer[] = [];\n /** @deprecated Internal implementation detail, do not use directly. Will be made internal in v8. */\n isStopped = false;\n /** @deprecated Internal implementation detail, do not use directly. Will be made internal in v8. */\n hasError = false;\n /** @deprecated Internal implementation detail, do not use directly. Will be made internal in v8. */\n thrownError: any = null;\n\n /**\n * Creates a \"subject\" by basically gluing an observer to an observable.\n *\n * @deprecated Recommended you do not use. Will be removed at some point in the future. Plans for replacement still under discussion.\n */\n static create: (...args: any[]) => any = (destination: Observer, source: Observable): AnonymousSubject => {\n return new AnonymousSubject(destination, source);\n };\n\n constructor() {\n // NOTE: This must be here to obscure Observable's constructor.\n super();\n }\n\n /** @deprecated Internal implementation detail, do not use directly. Will be made internal in v8. */\n lift(operator: Operator): Observable {\n const subject = new AnonymousSubject(this, this);\n subject.operator = operator as any;\n return subject as any;\n }\n\n /** @internal */\n protected _throwIfClosed() {\n if (this.closed) {\n throw new ObjectUnsubscribedError();\n }\n }\n\n next(value: T) {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n if (!this.currentObservers) {\n this.currentObservers = Array.from(this.observers);\n }\n for (const observer of this.currentObservers) {\n observer.next(value);\n }\n }\n });\n }\n\n error(err: any) {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n this.hasError = this.isStopped = true;\n this.thrownError = err;\n const { observers } = this;\n while (observers.length) {\n observers.shift()!.error(err);\n }\n }\n });\n }\n\n complete() {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n this.isStopped = true;\n const { observers } = this;\n while (observers.length) {\n observers.shift()!.complete();\n }\n }\n });\n }\n\n unsubscribe() {\n this.isStopped = this.closed = true;\n this.observers = this.currentObservers = null!;\n }\n\n get observed() {\n return this.observers?.length > 0;\n }\n\n /** @internal */\n protected _trySubscribe(subscriber: Subscriber): TeardownLogic {\n this._throwIfClosed();\n return super._trySubscribe(subscriber);\n }\n\n /** @internal */\n protected _subscribe(subscriber: Subscriber): Subscription {\n this._throwIfClosed();\n this._checkFinalizedStatuses(subscriber);\n return this._innerSubscribe(subscriber);\n }\n\n /** @internal */\n protected _innerSubscribe(subscriber: Subscriber) {\n const { hasError, isStopped, observers } = this;\n if (hasError || isStopped) {\n return EMPTY_SUBSCRIPTION;\n }\n this.currentObservers = null;\n observers.push(subscriber);\n return new Subscription(() => {\n this.currentObservers = null;\n arrRemove(observers, subscriber);\n });\n }\n\n /** @internal */\n protected _checkFinalizedStatuses(subscriber: Subscriber) {\n const { hasError, thrownError, isStopped } = this;\n if (hasError) {\n subscriber.error(thrownError);\n } else if (isStopped) {\n subscriber.complete();\n }\n }\n\n /**\n * Creates a new Observable with this Subject as the source. You can do this\n * to create custom Observer-side logic of the Subject and conceal it from\n * code that uses the Observable.\n * @return Observable that this Subject casts to.\n */\n asObservable(): Observable {\n const observable: any = new Observable();\n observable.source = this;\n return observable;\n }\n}\n\nexport class AnonymousSubject extends Subject {\n constructor(\n /** @deprecated Internal implementation detail, do not use directly. Will be made internal in v8. */\n public destination?: Observer,\n source?: Observable\n ) {\n super();\n this.source = source;\n }\n\n next(value: T) {\n this.destination?.next?.(value);\n }\n\n error(err: any) {\n this.destination?.error?.(err);\n }\n\n complete() {\n this.destination?.complete?.();\n }\n\n /** @internal */\n protected _subscribe(subscriber: Subscriber): Subscription {\n return this.source?.subscribe(subscriber) ?? EMPTY_SUBSCRIPTION;\n }\n}\n", "import { Subject } from './Subject';\nimport { Subscriber } from './Subscriber';\nimport { Subscription } from './Subscription';\n\n/**\n * A variant of Subject that requires an initial value and emits its current\n * value whenever it is subscribed to.\n */\nexport class BehaviorSubject extends Subject {\n constructor(private _value: T) {\n super();\n }\n\n get value(): T {\n return this.getValue();\n }\n\n /** @internal */\n protected _subscribe(subscriber: Subscriber): Subscription {\n const subscription = super._subscribe(subscriber);\n !subscription.closed && subscriber.next(this._value);\n return subscription;\n }\n\n getValue(): T {\n const { hasError, thrownError, _value } = this;\n if (hasError) {\n throw thrownError;\n }\n this._throwIfClosed();\n return _value;\n }\n\n next(value: T): void {\n super.next((this._value = value));\n }\n}\n", "import { TimestampProvider } from '../types';\n\ninterface DateTimestampProvider extends TimestampProvider {\n delegate: TimestampProvider | undefined;\n}\n\nexport const dateTimestampProvider: DateTimestampProvider = {\n now() {\n // Use the variable rather than `this` so that the function can be called\n // without being bound to the provider.\n return (dateTimestampProvider.delegate || Date).now();\n },\n delegate: undefined,\n};\n", "import { Subject } from './Subject';\nimport { TimestampProvider } from './types';\nimport { Subscriber } from './Subscriber';\nimport { Subscription } from './Subscription';\nimport { dateTimestampProvider } from './scheduler/dateTimestampProvider';\n\n/**\n * A variant of {@link Subject} that \"replays\" old values to new subscribers by emitting them when they first subscribe.\n *\n * `ReplaySubject` has an internal buffer that will store a specified number of values that it has observed. Like `Subject`,\n * `ReplaySubject` \"observes\" values by having them passed to its `next` method. When it observes a value, it will store that\n * value for a time determined by the configuration of the `ReplaySubject`, as passed to its constructor.\n *\n * When a new subscriber subscribes to the `ReplaySubject` instance, it will synchronously emit all values in its buffer in\n * a First-In-First-Out (FIFO) manner. The `ReplaySubject` will also complete, if it has observed completion; and it will\n * error if it has observed an error.\n *\n * There are two main configuration items to be concerned with:\n *\n * 1. `bufferSize` - This will determine how many items are stored in the buffer, defaults to infinite.\n * 2. `windowTime` - The amount of time to hold a value in the buffer before removing it from the buffer.\n *\n * Both configurations may exist simultaneously. So if you would like to buffer a maximum of 3 values, as long as the values\n * are less than 2 seconds old, you could do so with a `new ReplaySubject(3, 2000)`.\n *\n * ### Differences with BehaviorSubject\n *\n * `BehaviorSubject` is similar to `new ReplaySubject(1)`, with a couple of exceptions:\n *\n * 1. `BehaviorSubject` comes \"primed\" with a single value upon construction.\n * 2. `ReplaySubject` will replay values, even after observing an error, where `BehaviorSubject` will not.\n *\n * @see {@link Subject}\n * @see {@link BehaviorSubject}\n * @see {@link shareReplay}\n */\nexport class ReplaySubject extends Subject {\n private _buffer: (T | number)[] = [];\n private _infiniteTimeWindow = true;\n\n /**\n * @param _bufferSize The size of the buffer to replay on subscription\n * @param _windowTime The amount of time the buffered items will stay buffered\n * @param _timestampProvider An object with a `now()` method that provides the current timestamp. This is used to\n * calculate the amount of time something has been buffered.\n */\n constructor(\n private _bufferSize = Infinity,\n private _windowTime = Infinity,\n private _timestampProvider: TimestampProvider = dateTimestampProvider\n ) {\n super();\n this._infiniteTimeWindow = _windowTime === Infinity;\n this._bufferSize = Math.max(1, _bufferSize);\n this._windowTime = Math.max(1, _windowTime);\n }\n\n next(value: T): void {\n const { isStopped, _buffer, _infiniteTimeWindow, _timestampProvider, _windowTime } = this;\n if (!isStopped) {\n _buffer.push(value);\n !_infiniteTimeWindow && _buffer.push(_timestampProvider.now() + _windowTime);\n }\n this._trimBuffer();\n super.next(value);\n }\n\n /** @internal */\n protected _subscribe(subscriber: Subscriber): Subscription {\n this._throwIfClosed();\n this._trimBuffer();\n\n const subscription = this._innerSubscribe(subscriber);\n\n const { _infiniteTimeWindow, _buffer } = this;\n // We use a copy here, so reentrant code does not mutate our array while we're\n // emitting it to a new subscriber.\n const copy = _buffer.slice();\n for (let i = 0; i < copy.length && !subscriber.closed; i += _infiniteTimeWindow ? 1 : 2) {\n subscriber.next(copy[i] as T);\n }\n\n this._checkFinalizedStatuses(subscriber);\n\n return subscription;\n }\n\n private _trimBuffer() {\n const { _bufferSize, _timestampProvider, _buffer, _infiniteTimeWindow } = this;\n // If we don't have an infinite buffer size, and we're over the length,\n // use splice to truncate the old buffer values off. Note that we have to\n // double the size for instances where we're not using an infinite time window\n // because we're storing the values and the timestamps in the same array.\n const adjustedBufferSize = (_infiniteTimeWindow ? 1 : 2) * _bufferSize;\n _bufferSize < Infinity && adjustedBufferSize < _buffer.length && _buffer.splice(0, _buffer.length - adjustedBufferSize);\n\n // Now, if we're not in an infinite time window, remove all values where the time is\n // older than what is allowed.\n if (!_infiniteTimeWindow) {\n const now = _timestampProvider.now();\n let last = 0;\n // Search the array for the first timestamp that isn't expired and\n // truncate the buffer up to that point.\n for (let i = 1; i < _buffer.length && (_buffer[i] as number) <= now; i += 2) {\n last = i;\n }\n last && _buffer.splice(0, last + 1);\n }\n }\n}\n", "import { Scheduler } from '../Scheduler';\nimport { Subscription } from '../Subscription';\nimport { SchedulerAction } from '../types';\n\n/**\n * A unit of work to be executed in a `scheduler`. An action is typically\n * created from within a {@link SchedulerLike} and an RxJS user does not need to concern\n * themselves about creating and manipulating an Action.\n *\n * ```ts\n * class Action extends Subscription {\n * new (scheduler: Scheduler, work: (state?: T) => void);\n * schedule(state?: T, delay: number = 0): Subscription;\n * }\n * ```\n */\nexport class Action extends Subscription {\n constructor(scheduler: Scheduler, work: (this: SchedulerAction, state?: T) => void) {\n super();\n }\n /**\n * Schedules this action on its parent {@link SchedulerLike} for execution. May be passed\n * some context object, `state`. May happen at some point in the future,\n * according to the `delay` parameter, if specified.\n * @param state Some contextual data that the `work` function uses when called by the\n * Scheduler.\n * @param delay Time to wait before executing the work, where the time unit is implicit\n * and defined by the Scheduler.\n * @return A subscription in order to be able to unsubscribe the scheduled work.\n */\n public schedule(state?: T, delay: number = 0): Subscription {\n return this;\n }\n}\n", "import type { TimerHandle } from './timerHandle';\ntype SetIntervalFunction = (handler: () => void, timeout?: number, ...args: any[]) => TimerHandle;\ntype ClearIntervalFunction = (handle: TimerHandle) => void;\n\ninterface IntervalProvider {\n setInterval: SetIntervalFunction;\n clearInterval: ClearIntervalFunction;\n delegate:\n | {\n setInterval: SetIntervalFunction;\n clearInterval: ClearIntervalFunction;\n }\n | undefined;\n}\n\nexport const intervalProvider: IntervalProvider = {\n // When accessing the delegate, use the variable rather than `this` so that\n // the functions can be called without being bound to the provider.\n setInterval(handler: () => void, timeout?: number, ...args) {\n const { delegate } = intervalProvider;\n if (delegate?.setInterval) {\n return delegate.setInterval(handler, timeout, ...args);\n }\n return setInterval(handler, timeout, ...args);\n },\n clearInterval(handle) {\n const { delegate } = intervalProvider;\n return (delegate?.clearInterval || clearInterval)(handle as any);\n },\n delegate: undefined,\n};\n", "import { Action } from './Action';\nimport { SchedulerAction } from '../types';\nimport { Subscription } from '../Subscription';\nimport { AsyncScheduler } from './AsyncScheduler';\nimport { intervalProvider } from './intervalProvider';\nimport { arrRemove } from '../util/arrRemove';\nimport { TimerHandle } from './timerHandle';\n\nexport class AsyncAction extends Action {\n public id: TimerHandle | undefined;\n public state?: T;\n // @ts-ignore: Property has no initializer and is not definitely assigned\n public delay: number;\n protected pending: boolean = false;\n\n constructor(protected scheduler: AsyncScheduler, protected work: (this: SchedulerAction, state?: T) => void) {\n super(scheduler, work);\n }\n\n public schedule(state?: T, delay: number = 0): Subscription {\n if (this.closed) {\n return this;\n }\n\n // Always replace the current state with the new state.\n this.state = state;\n\n const id = this.id;\n const scheduler = this.scheduler;\n\n //\n // Important implementation note:\n //\n // Actions only execute once by default, unless rescheduled from within the\n // scheduled callback. This allows us to implement single and repeat\n // actions via the same code path, without adding API surface area, as well\n // as mimic traditional recursion but across asynchronous boundaries.\n //\n // However, JS runtimes and timers distinguish between intervals achieved by\n // serial `setTimeout` calls vs. a single `setInterval` call. An interval of\n // serial `setTimeout` calls can be individually delayed, which delays\n // scheduling the next `setTimeout`, and so on. `setInterval` attempts to\n // guarantee the interval callback will be invoked more precisely to the\n // interval period, regardless of load.\n //\n // Therefore, we use `setInterval` to schedule single and repeat actions.\n // If the action reschedules itself with the same delay, the interval is not\n // canceled. If the action doesn't reschedule, or reschedules with a\n // different delay, the interval will be canceled after scheduled callback\n // execution.\n //\n if (id != null) {\n this.id = this.recycleAsyncId(scheduler, id, delay);\n }\n\n // Set the pending flag indicating that this action has been scheduled, or\n // has recursively rescheduled itself.\n this.pending = true;\n\n this.delay = delay;\n // If this action has already an async Id, don't request a new one.\n this.id = this.id ?? this.requestAsyncId(scheduler, this.id, delay);\n\n return this;\n }\n\n protected requestAsyncId(scheduler: AsyncScheduler, _id?: TimerHandle, delay: number = 0): TimerHandle {\n return intervalProvider.setInterval(scheduler.flush.bind(scheduler, this), delay);\n }\n\n protected recycleAsyncId(_scheduler: AsyncScheduler, id?: TimerHandle, delay: number | null = 0): TimerHandle | undefined {\n // If this action is rescheduled with the same delay time, don't clear the interval id.\n if (delay != null && this.delay === delay && this.pending === false) {\n return id;\n }\n // Otherwise, if the action's delay time is different from the current delay,\n // or the action has been rescheduled before it's executed, clear the interval id\n if (id != null) {\n intervalProvider.clearInterval(id);\n }\n\n return undefined;\n }\n\n /**\n * Immediately executes this action and the `work` it contains.\n */\n public execute(state: T, delay: number): any {\n if (this.closed) {\n return new Error('executing a cancelled action');\n }\n\n this.pending = false;\n const error = this._execute(state, delay);\n if (error) {\n return error;\n } else if (this.pending === false && this.id != null) {\n // Dequeue if the action didn't reschedule itself. Don't call\n // unsubscribe(), because the action could reschedule later.\n // For example:\n // ```\n // scheduler.schedule(function doWork(counter) {\n // /* ... I'm a busy worker bee ... */\n // var originalAction = this;\n // /* wait 100ms before rescheduling the action */\n // setTimeout(function () {\n // originalAction.schedule(counter + 1);\n // }, 100);\n // }, 1000);\n // ```\n this.id = this.recycleAsyncId(this.scheduler, this.id, null);\n }\n }\n\n protected _execute(state: T, _delay: number): any {\n let errored: boolean = false;\n let errorValue: any;\n try {\n this.work(state);\n } catch (e) {\n errored = true;\n // HACK: Since code elsewhere is relying on the \"truthiness\" of the\n // return here, we can't have it return \"\" or 0 or false.\n // TODO: Clean this up when we refactor schedulers mid-version-8 or so.\n errorValue = e ? e : new Error('Scheduled action threw falsy error');\n }\n if (errored) {\n this.unsubscribe();\n return errorValue;\n }\n }\n\n unsubscribe() {\n if (!this.closed) {\n const { id, scheduler } = this;\n const { actions } = scheduler;\n\n this.work = this.state = this.scheduler = null!;\n this.pending = false;\n\n arrRemove(actions, this);\n if (id != null) {\n this.id = this.recycleAsyncId(scheduler, id, null);\n }\n\n this.delay = null!;\n super.unsubscribe();\n }\n }\n}\n", "import { Action } from './scheduler/Action';\nimport { Subscription } from './Subscription';\nimport { SchedulerLike, SchedulerAction } from './types';\nimport { dateTimestampProvider } from './scheduler/dateTimestampProvider';\n\n/**\n * An execution context and a data structure to order tasks and schedule their\n * execution. Provides a notion of (potentially virtual) time, through the\n * `now()` getter method.\n *\n * Each unit of work in a Scheduler is called an `Action`.\n *\n * ```ts\n * class Scheduler {\n * now(): number;\n * schedule(work, delay?, state?): Subscription;\n * }\n * ```\n *\n * @deprecated Scheduler is an internal implementation detail of RxJS, and\n * should not be used directly. Rather, create your own class and implement\n * {@link SchedulerLike}. Will be made internal in v8.\n */\nexport class Scheduler implements SchedulerLike {\n public static now: () => number = dateTimestampProvider.now;\n\n constructor(private schedulerActionCtor: typeof Action, now: () => number = Scheduler.now) {\n this.now = now;\n }\n\n /**\n * A getter method that returns a number representing the current time\n * (at the time this function was called) according to the scheduler's own\n * internal clock.\n * @return A number that represents the current time. May or may not\n * have a relation to wall-clock time. May or may not refer to a time unit\n * (e.g. milliseconds).\n */\n public now: () => number;\n\n /**\n * Schedules a function, `work`, for execution. May happen at some point in\n * the future, according to the `delay` parameter, if specified. May be passed\n * some context object, `state`, which will be passed to the `work` function.\n *\n * The given arguments will be processed an stored as an Action object in a\n * queue of actions.\n *\n * @param work A function representing a task, or some unit of work to be\n * executed by the Scheduler.\n * @param delay Time to wait before executing the work, where the time unit is\n * implicit and defined by the Scheduler itself.\n * @param state Some contextual data that the `work` function uses when called\n * by the Scheduler.\n * @return A subscription in order to be able to unsubscribe the scheduled work.\n */\n public schedule(work: (this: SchedulerAction, state?: T) => void, delay: number = 0, state?: T): Subscription {\n return new this.schedulerActionCtor(this, work).schedule(state, delay);\n }\n}\n", "import { Scheduler } from '../Scheduler';\nimport { Action } from './Action';\nimport { AsyncAction } from './AsyncAction';\nimport { TimerHandle } from './timerHandle';\n\nexport class AsyncScheduler extends Scheduler {\n public actions: Array> = [];\n /**\n * A flag to indicate whether the Scheduler is currently executing a batch of\n * queued actions.\n * @internal\n */\n public _active: boolean = false;\n /**\n * An internal ID used to track the latest asynchronous task such as those\n * coming from `setTimeout`, `setInterval`, `requestAnimationFrame`, and\n * others.\n * @internal\n */\n public _scheduled: TimerHandle | undefined;\n\n constructor(SchedulerAction: typeof Action, now: () => number = Scheduler.now) {\n super(SchedulerAction, now);\n }\n\n public flush(action: AsyncAction): void {\n const { actions } = this;\n\n if (this._active) {\n actions.push(action);\n return;\n }\n\n let error: any;\n this._active = true;\n\n do {\n if ((error = action.execute(action.state, action.delay))) {\n break;\n }\n } while ((action = actions.shift()!)); // exhaust the scheduler queue\n\n this._active = false;\n\n if (error) {\n while ((action = actions.shift()!)) {\n action.unsubscribe();\n }\n throw error;\n }\n }\n}\n", "import { AsyncAction } from './AsyncAction';\nimport { AsyncScheduler } from './AsyncScheduler';\n\n/**\n *\n * Async Scheduler\n *\n * Schedule task as if you used setTimeout(task, duration)\n *\n * `async` scheduler schedules tasks asynchronously, by putting them on the JavaScript\n * event loop queue. It is best used to delay tasks in time or to schedule tasks repeating\n * in intervals.\n *\n * If you just want to \"defer\" task, that is to perform it right after currently\n * executing synchronous code ends (commonly achieved by `setTimeout(deferredTask, 0)`),\n * better choice will be the {@link asapScheduler} scheduler.\n *\n * ## Examples\n * Use async scheduler to delay task\n * ```ts\n * import { asyncScheduler } from 'rxjs';\n *\n * const task = () => console.log('it works!');\n *\n * asyncScheduler.schedule(task, 2000);\n *\n * // After 2 seconds logs:\n * // \"it works!\"\n * ```\n *\n * Use async scheduler to repeat task in intervals\n * ```ts\n * import { asyncScheduler } from 'rxjs';\n *\n * function task(state) {\n * console.log(state);\n * this.schedule(state + 1, 1000); // `this` references currently executing Action,\n * // which we reschedule with new state and delay\n * }\n *\n * asyncScheduler.schedule(task, 3000, 0);\n *\n * // Logs:\n * // 0 after 3s\n * // 1 after 4s\n * // 2 after 5s\n * // 3 after 6s\n * ```\n */\n\nexport const asyncScheduler = new AsyncScheduler(AsyncAction);\n\n/**\n * @deprecated Renamed to {@link asyncScheduler}. Will be removed in v8.\n */\nexport const async = asyncScheduler;\n", "import { AsyncAction } from './AsyncAction';\nimport { Subscription } from '../Subscription';\nimport { QueueScheduler } from './QueueScheduler';\nimport { SchedulerAction } from '../types';\nimport { TimerHandle } from './timerHandle';\n\nexport class QueueAction extends AsyncAction {\n constructor(protected scheduler: QueueScheduler, protected work: (this: SchedulerAction, state?: T) => void) {\n super(scheduler, work);\n }\n\n public schedule(state?: T, delay: number = 0): Subscription {\n if (delay > 0) {\n return super.schedule(state, delay);\n }\n this.delay = delay;\n this.state = state;\n this.scheduler.flush(this);\n return this;\n }\n\n public execute(state: T, delay: number): any {\n return delay > 0 || this.closed ? super.execute(state, delay) : this._execute(state, delay);\n }\n\n protected requestAsyncId(scheduler: QueueScheduler, id?: TimerHandle, delay: number = 0): TimerHandle {\n // If delay exists and is greater than 0, or if the delay is null (the\n // action wasn't rescheduled) but was originally scheduled as an async\n // action, then recycle as an async action.\n\n if ((delay != null && delay > 0) || (delay == null && this.delay > 0)) {\n return super.requestAsyncId(scheduler, id, delay);\n }\n\n // Otherwise flush the scheduler starting with this action.\n scheduler.flush(this);\n\n // HACK: In the past, this was returning `void`. However, `void` isn't a valid\n // `TimerHandle`, and generally the return value here isn't really used. So the\n // compromise is to return `0` which is both \"falsy\" and a valid `TimerHandle`,\n // as opposed to refactoring every other instanceo of `requestAsyncId`.\n return 0;\n }\n}\n", "import { AsyncScheduler } from './AsyncScheduler';\n\nexport class QueueScheduler extends AsyncScheduler {\n}\n", "import { QueueAction } from './QueueAction';\nimport { QueueScheduler } from './QueueScheduler';\n\n/**\n *\n * Queue Scheduler\n *\n * Put every next task on a queue, instead of executing it immediately\n *\n * `queue` scheduler, when used with delay, behaves the same as {@link asyncScheduler} scheduler.\n *\n * When used without delay, it schedules given task synchronously - executes it right when\n * it is scheduled. However when called recursively, that is when inside the scheduled task,\n * another task is scheduled with queue scheduler, instead of executing immediately as well,\n * that task will be put on a queue and wait for current one to finish.\n *\n * This means that when you execute task with `queue` scheduler, you are sure it will end\n * before any other task scheduled with that scheduler will start.\n *\n * ## Examples\n * Schedule recursively first, then do something\n * ```ts\n * import { queueScheduler } from 'rxjs';\n *\n * queueScheduler.schedule(() => {\n * queueScheduler.schedule(() => console.log('second')); // will not happen now, but will be put on a queue\n *\n * console.log('first');\n * });\n *\n * // Logs:\n * // \"first\"\n * // \"second\"\n * ```\n *\n * Reschedule itself recursively\n * ```ts\n * import { queueScheduler } from 'rxjs';\n *\n * queueScheduler.schedule(function(state) {\n * if (state !== 0) {\n * console.log('before', state);\n * this.schedule(state - 1); // `this` references currently executing Action,\n * // which we reschedule with new state\n * console.log('after', state);\n * }\n * }, 0, 3);\n *\n * // In scheduler that runs recursively, you would expect:\n * // \"before\", 3\n * // \"before\", 2\n * // \"before\", 1\n * // \"after\", 1\n * // \"after\", 2\n * // \"after\", 3\n *\n * // But with queue it logs:\n * // \"before\", 3\n * // \"after\", 3\n * // \"before\", 2\n * // \"after\", 2\n * // \"before\", 1\n * // \"after\", 1\n * ```\n */\n\nexport const queueScheduler = new QueueScheduler(QueueAction);\n\n/**\n * @deprecated Renamed to {@link queueScheduler}. Will be removed in v8.\n */\nexport const queue = queueScheduler;\n", "import { AsyncAction } from './AsyncAction';\nimport { AnimationFrameScheduler } from './AnimationFrameScheduler';\nimport { SchedulerAction } from '../types';\nimport { animationFrameProvider } from './animationFrameProvider';\nimport { TimerHandle } from './timerHandle';\n\nexport class AnimationFrameAction extends AsyncAction {\n constructor(protected scheduler: AnimationFrameScheduler, protected work: (this: SchedulerAction, state?: T) => void) {\n super(scheduler, work);\n }\n\n protected requestAsyncId(scheduler: AnimationFrameScheduler, id?: TimerHandle, delay: number = 0): TimerHandle {\n // If delay is greater than 0, request as an async action.\n if (delay !== null && delay > 0) {\n return super.requestAsyncId(scheduler, id, delay);\n }\n // Push the action to the end of the scheduler queue.\n scheduler.actions.push(this);\n // If an animation frame has already been requested, don't request another\n // one. If an animation frame hasn't been requested yet, request one. Return\n // the current animation frame request id.\n return scheduler._scheduled || (scheduler._scheduled = animationFrameProvider.requestAnimationFrame(() => scheduler.flush(undefined)));\n }\n\n protected recycleAsyncId(scheduler: AnimationFrameScheduler, id?: TimerHandle, delay: number = 0): TimerHandle | undefined {\n // If delay exists and is greater than 0, or if the delay is null (the\n // action wasn't rescheduled) but was originally scheduled as an async\n // action, then recycle as an async action.\n if (delay != null ? delay > 0 : this.delay > 0) {\n return super.recycleAsyncId(scheduler, id, delay);\n }\n // If the scheduler queue has no remaining actions with the same async id,\n // cancel the requested animation frame and set the scheduled flag to\n // undefined so the next AnimationFrameAction will request its own.\n const { actions } = scheduler;\n if (id != null && id === scheduler._scheduled && actions[actions.length - 1]?.id !== id) {\n animationFrameProvider.cancelAnimationFrame(id as number);\n scheduler._scheduled = undefined;\n }\n // Return undefined so the action knows to request a new async id if it's rescheduled.\n return undefined;\n }\n}\n", "import { AsyncAction } from './AsyncAction';\nimport { AsyncScheduler } from './AsyncScheduler';\n\nexport class AnimationFrameScheduler extends AsyncScheduler {\n public flush(action?: AsyncAction): void {\n this._active = true;\n // The async id that effects a call to flush is stored in _scheduled.\n // Before executing an action, it's necessary to check the action's async\n // id to determine whether it's supposed to be executed in the current\n // flush.\n // Previous implementations of this method used a count to determine this,\n // but that was unsound, as actions that are unsubscribed - i.e. cancelled -\n // are removed from the actions array and that can shift actions that are\n // scheduled to be executed in a subsequent flush into positions at which\n // they are executed within the current flush.\n let flushId;\n if (action) {\n flushId = action.id;\n } else {\n flushId = this._scheduled;\n this._scheduled = undefined;\n }\n\n const { actions } = this;\n let error: any;\n action = action || actions.shift()!;\n\n do {\n if ((error = action.execute(action.state, action.delay))) {\n break;\n }\n } while ((action = actions[0]) && action.id === flushId && actions.shift());\n\n this._active = false;\n\n if (error) {\n while ((action = actions[0]) && action.id === flushId && actions.shift()) {\n action.unsubscribe();\n }\n throw error;\n }\n }\n}\n", "import { AnimationFrameAction } from './AnimationFrameAction';\nimport { AnimationFrameScheduler } from './AnimationFrameScheduler';\n\n/**\n *\n * Animation Frame Scheduler\n *\n * Perform task when `window.requestAnimationFrame` would fire\n *\n * When `animationFrame` scheduler is used with delay, it will fall back to {@link asyncScheduler} scheduler\n * behaviour.\n *\n * Without delay, `animationFrame` scheduler can be used to create smooth browser animations.\n * It makes sure scheduled task will happen just before next browser content repaint,\n * thus performing animations as efficiently as possible.\n *\n * ## Example\n * Schedule div height animation\n * ```ts\n * // html:
\n * import { animationFrameScheduler } from 'rxjs';\n *\n * const div = document.querySelector('div');\n *\n * animationFrameScheduler.schedule(function(height) {\n * div.style.height = height + \"px\";\n *\n * this.schedule(height + 1); // `this` references currently executing Action,\n * // which we reschedule with new state\n * }, 0, 0);\n *\n * // You will see a div element growing in height\n * ```\n */\n\nexport const animationFrameScheduler = new AnimationFrameScheduler(AnimationFrameAction);\n\n/**\n * @deprecated Renamed to {@link animationFrameScheduler}. Will be removed in v8.\n */\nexport const animationFrame = animationFrameScheduler;\n", "import { Observable } from '../Observable';\nimport { SchedulerLike } from '../types';\n\n/**\n * A simple Observable that emits no items to the Observer and immediately\n * emits a complete notification.\n *\n * Just emits 'complete', and nothing else.\n *\n * ![](empty.png)\n *\n * A simple Observable that only emits the complete notification. It can be used\n * for composing with other Observables, such as in a {@link mergeMap}.\n *\n * ## Examples\n *\n * Log complete notification\n *\n * ```ts\n * import { EMPTY } from 'rxjs';\n *\n * EMPTY.subscribe({\n * next: () => console.log('Next'),\n * complete: () => console.log('Complete!')\n * });\n *\n * // Outputs\n * // Complete!\n * ```\n *\n * Emit the number 7, then complete\n *\n * ```ts\n * import { EMPTY, startWith } from 'rxjs';\n *\n * const result = EMPTY.pipe(startWith(7));\n * result.subscribe(x => console.log(x));\n *\n * // Outputs\n * // 7\n * ```\n *\n * Map and flatten only odd numbers to the sequence `'a'`, `'b'`, `'c'`\n *\n * ```ts\n * import { interval, mergeMap, of, EMPTY } from 'rxjs';\n *\n * const interval$ = interval(1000);\n * const result = interval$.pipe(\n * mergeMap(x => x % 2 === 1 ? of('a', 'b', 'c') : EMPTY),\n * );\n * result.subscribe(x => console.log(x));\n *\n * // Results in the following to the console:\n * // x is equal to the count on the interval, e.g. (0, 1, 2, 3, ...)\n * // x will occur every 1000ms\n * // if x % 2 is equal to 1, print a, b, c (each on its own)\n * // if x % 2 is not equal to 1, nothing will be output\n * ```\n *\n * @see {@link Observable}\n * @see {@link NEVER}\n * @see {@link of}\n * @see {@link throwError}\n */\nexport const EMPTY = new Observable((subscriber) => subscriber.complete());\n\n/**\n * @param scheduler A {@link SchedulerLike} to use for scheduling\n * the emission of the complete notification.\n * @deprecated Replaced with the {@link EMPTY} constant or {@link scheduled} (e.g. `scheduled([], scheduler)`). Will be removed in v8.\n */\nexport function empty(scheduler?: SchedulerLike) {\n return scheduler ? emptyScheduled(scheduler) : EMPTY;\n}\n\nfunction emptyScheduled(scheduler: SchedulerLike) {\n return new Observable((subscriber) => scheduler.schedule(() => subscriber.complete()));\n}\n", "import { SchedulerLike } from '../types';\nimport { isFunction } from './isFunction';\n\nexport function isScheduler(value: any): value is SchedulerLike {\n return value && isFunction(value.schedule);\n}\n", "import { SchedulerLike } from '../types';\nimport { isFunction } from './isFunction';\nimport { isScheduler } from './isScheduler';\n\nfunction last(arr: T[]): T | undefined {\n return arr[arr.length - 1];\n}\n\nexport function popResultSelector(args: any[]): ((...args: unknown[]) => unknown) | undefined {\n return isFunction(last(args)) ? args.pop() : undefined;\n}\n\nexport function popScheduler(args: any[]): SchedulerLike | undefined {\n return isScheduler(last(args)) ? args.pop() : undefined;\n}\n\nexport function popNumber(args: any[], defaultValue: number): number {\n return typeof last(args) === 'number' ? args.pop()! : defaultValue;\n}\n", "export const isArrayLike = ((x: any): x is ArrayLike => x && typeof x.length === 'number' && typeof x !== 'function');", "import { isFunction } from \"./isFunction\";\n\n/**\n * Tests to see if the object is \"thennable\".\n * @param value the object to test\n */\nexport function isPromise(value: any): value is PromiseLike {\n return isFunction(value?.then);\n}\n", "import { InteropObservable } from '../types';\nimport { observable as Symbol_observable } from '../symbol/observable';\nimport { isFunction } from './isFunction';\n\n/** Identifies an input as being Observable (but not necessary an Rx Observable) */\nexport function isInteropObservable(input: any): input is InteropObservable {\n return isFunction(input[Symbol_observable]);\n}\n", "import { isFunction } from './isFunction';\n\nexport function isAsyncIterable(obj: any): obj is AsyncIterable {\n return Symbol.asyncIterator && isFunction(obj?.[Symbol.asyncIterator]);\n}\n", "/**\n * Creates the TypeError to throw if an invalid object is passed to `from` or `scheduled`.\n * @param input The object that was passed.\n */\nexport function createInvalidObservableTypeError(input: any) {\n // TODO: We should create error codes that can be looked up, so this can be less verbose.\n return new TypeError(\n `You provided ${\n input !== null && typeof input === 'object' ? 'an invalid object' : `'${input}'`\n } where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`\n );\n}\n", "export function getSymbolIterator(): symbol {\n if (typeof Symbol !== 'function' || !Symbol.iterator) {\n return '@@iterator' as any;\n }\n\n return Symbol.iterator;\n}\n\nexport const iterator = getSymbolIterator();\n", "import { iterator as Symbol_iterator } from '../symbol/iterator';\nimport { isFunction } from './isFunction';\n\n/** Identifies an input as being an Iterable */\nexport function isIterable(input: any): input is Iterable {\n return isFunction(input?.[Symbol_iterator]);\n}\n", "import { ReadableStreamLike } from '../types';\nimport { isFunction } from './isFunction';\n\nexport async function* readableStreamLikeToAsyncGenerator(readableStream: ReadableStreamLike): AsyncGenerator {\n const reader = readableStream.getReader();\n try {\n while (true) {\n const { value, done } = await reader.read();\n if (done) {\n return;\n }\n yield value!;\n }\n } finally {\n reader.releaseLock();\n }\n}\n\nexport function isReadableStreamLike(obj: any): obj is ReadableStreamLike {\n // We don't want to use instanceof checks because they would return\n // false for instances from another Realm, like an + + +
+ +
+

Quick Start

+

Familiar with the terminal, git, and Docker? Get Changemaker up and running in minutes:

+
+
# Clone the repository
+git clone https://gitea.bnkhome.org/bnkops/Changemaker.git
+cd Changemaker
+
+ +
+
# Run the config.sh script
+./config.sh
+
+ +
+
# Start all services
+docker compose up -d
+
+ +

That's it! After services start (which may take a few minutes on first run), visit http://localhost:3011 to get started.

+

Access Homepage (only works with if Changemaker installed) +

Important: Make sure to visit https://localhost:9444 immediately to configure Portainer before the installation process times out. See the Portainer documentation for details.

+ Detailed Installation Guide +
+ +
+

What is Changemaker?

+

Changemaker V5 is a curated set of free & open source tools that has been pre-configured into a platform for the express intent of running a digital campaign. It empowers you to deploy secure, locally-built websites, blogs, newsletters, & forms – from personal projects to full-fledged campaigns.

+
+ +
+

Why Changemaker?

+

Changemaker V5 is a project undertaken by The Bunker Operations, a community building organization, headquartered in Edmonton, Alberta, Canada, to provide our community a digital campaign alternative to mainstream American systems. It intends to be a plug-and-play web server platform so we can transition our friends, allies, and comrades off of corporate systems.

+
+ +
+

Core Applications & Services

+

Changemaker V5 comes packed with a suite of powerful, self-hosted tools. Click on any app to learn more about its features and how to use it.

+
+
+
+

dashboardHomepage

+

Main dashboard for Changemaker V5. Your central command center for all services.

+
+ Learn More +
+ +
+
+

codeCode Server

+

Visual Studio Code in your browser. Develop and edit code from any device.

+
+ Learn More +
+ +
+
+

edit_noteFlatnotes

+

Simple, markdown-based note-taking, directly connected to your blog.

+
+ Learn More +
+ +
+
+

mailListmonk

+

Self-hosted newsletter and mailing list manager for full control over campaigns.

+
+ Learn More +
+ +
+
+

table_chartNocoDB

+

Open Source Airtable Alternative. Turn any database into a smart spreadsheet.

+
+ Learn More +
+ +
+
+

question_answerAnswer

+

Self-hosted Q&A platform for teams to share knowledge internally.

+
+ Learn More +
+ +
+
+

drawExcalidraw

+

Virtual whiteboard for sketching and collaborative diagramming.

+
+ Learn More +
+ +
+
+

appsFerdium

+

All-in-one desktop app that helps you organize multiple social media services in one place.

+
+ Learn More +
+ +
+
+

sourceGitea

+

Lightweight, self-hosted Git service for managing repositories and collaboration.

+
+ Learn More +
+ +
+
+

articleMkDocs Material

+

Create beautiful documentation sites with Markdown (like this one!).

+
+ Learn More +
+ +
+
+

peopleMonica CRM

+

Personal relationship management system to organize interactions with your contacts.

+
+ Learn More +
+ +
+
+

integration_instructionsn8n

+

Workflow automation tool that connects various apps and services together.

+
+ Learn More +
+ +
+
+

smart_toyOllama

+

Run open-source large language models locally for AI-powered assistance.

+
+ Learn More +
+ +
+
+

chatOpenWebUI

+

Web interface for interacting with your Ollama AI models.

+
+ Learn More +
+ +
+
+

sailingPortainer

+

Container management platform that simplifies deploying and managing Docker environments.

+
+ Learn More +
+ +
+
+

forumRocket.Chat

+

Self-hosted team communication platform with real-time chat and collaboration.

+
+ Learn More +
+
+
+ +
+

Development Pathway

+

Changemaker is continuously evolving. Here are some identified wants for development:

+
    +
  • Internal integrations for asset management (e.g., shared plain file locations).
  • +
  • Database connections for automation systems (e.g., manuals for NocoDB & n8n).
  • +
  • Enhanced manuals and landing site for the whole system.
  • +
  • Comprehensive training materials.
  • +
+

Stay tuned for updates and new features! For more details, check the full development pathway.

+
+ + + + + + + + + + + + + +
+ + +
+ + +
+
+
+ + + + + + + + + + + + \ No newline at end of file diff --git a/mkdocs/site/overrides/home.html b/mkdocs/site/overrides/home.html new file mode 100644 index 0000000..9e2f8ad --- /dev/null +++ b/mkdocs/site/overrides/home.html @@ -0,0 +1,211 @@ +{% extends "main.html" %} + +{% block content %} + +
+ +
+ +
+

Welcome to Changemaker V5

+

A self-hosted, open-source platform for digital campaigns.

+

Changemaker V5 is a battle-tested, lightweight, self-hosted productivity suite that empowers you to build secure websites, blogs, newsletters, and forms. With 100% locally hosted AI and automation systems, it helps you manage a community of collaborators—from personal projects to full-fledged campaigns—granting you complete control, inherent security, and true freedom of speech for your content.

+

Build your power, don't rent it.

+ Explore Applications + + code Code + +
+ +
+

Quick Start

+

Familiar with the terminal, git, and Docker? Get Changemaker up and running in minutes:

+
+
# Clone the repository
+git clone https://gitea.bnkhome.org/bnkops/Changemaker.git
+cd Changemaker
+
+ +
+
# Run the config.sh script
+./config.sh
+
+ +
+
# Start all services
+docker compose up -d
+
+ +

That's it! After services start (which may take a few minutes on first run), visit http://localhost:3011 to get started.

+

Access Homepage (only works with if Changemaker installed) +

Important: Make sure to visit https://localhost:9444 immediately to configure Portainer before the installation process times out. See the Portainer documentation for details.

+ Detailed Installation Guide +
+ +
+

What is Changemaker?

+

Changemaker V5 is a curated set of free & open source tools that has been pre-configured into a platform for the express intent of running a digital campaign. It empowers you to deploy secure, locally-built websites, blogs, newsletters, & forms – from personal projects to full-fledged campaigns.

+
+ +
+

Why Changemaker?

+

Changemaker V5 is a project undertaken by The Bunker Operations, a community building organization, headquartered in Edmonton, Alberta, Canada, to provide our community a digital campaign alternative to mainstream American systems. It intends to be a plug-and-play web server platform so we can transition our friends, allies, and comrades off of corporate systems.

+
+ +
+

Core Applications & Services

+

Changemaker V5 comes packed with a suite of powerful, self-hosted tools. Click on any app to learn more about its features and how to use it.

+
+
+
+

dashboardHomepage

+

Main dashboard for Changemaker V5. Your central command center for all services.

+
+ Learn More +
+ +
+
+

codeCode Server

+

Visual Studio Code in your browser. Develop and edit code from any device.

+
+ Learn More +
+ +
+
+

edit_noteFlatnotes

+

Simple, markdown-based note-taking, directly connected to your blog.

+
+ Learn More +
+ +
+
+

mailListmonk

+

Self-hosted newsletter and mailing list manager for full control over campaigns.

+
+ Learn More +
+ +
+
+

table_chartNocoDB

+

Open Source Airtable Alternative. Turn any database into a smart spreadsheet.

+
+ Learn More +
+ +
+
+

question_answerAnswer

+

Self-hosted Q&A platform for teams to share knowledge internally.

+
+ Learn More +
+ +
+
+

drawExcalidraw

+

Virtual whiteboard for sketching and collaborative diagramming.

+
+ Learn More +
+ +
+
+

appsFerdium

+

All-in-one desktop app that helps you organize multiple social media services in one place.

+
+ Learn More +
+ +
+
+

sourceGitea

+

Lightweight, self-hosted Git service for managing repositories and collaboration.

+
+ Learn More +
+ +
+
+

articleMkDocs Material

+

Create beautiful documentation sites with Markdown (like this one!).

+
+ Learn More +
+ +
+
+

peopleMonica CRM

+

Personal relationship management system to organize interactions with your contacts.

+
+ Learn More +
+ +
+
+

integration_instructionsn8n

+

Workflow automation tool that connects various apps and services together.

+
+ Learn More +
+ +
+
+

smart_toyOllama

+

Run open-source large language models locally for AI-powered assistance.

+
+ Learn More +
+ +
+
+

chatOpenWebUI

+

Web interface for interacting with your Ollama AI models.

+
+ Learn More +
+ +
+
+

sailingPortainer

+

Container management platform that simplifies deploying and managing Docker environments.

+
+ Learn More +
+ +
+
+

forumRocket.Chat

+

Self-hosted team communication platform with real-time chat and collaboration.

+
+ Learn More +
+
+
+ +
+

Development Pathway

+

Changemaker is continuously evolving. Here are some identified wants for development:

+
    +
  • Internal integrations for asset management (e.g., shared plain file locations).
  • +
  • Database connections for automation systems (e.g., manuals for NocoDB & n8n).
  • +
  • Enhanced manuals and landing site for the whole system.
  • +
  • Comprehensive training materials.
  • +
+

Stay tuned for updates and new features! For more details, check the full development pathway.

+
+ +{% endblock %} + +{% block tabs %} + {{ super() }} +{% endblock %} \ No newline at end of file diff --git a/mkdocs/site/overrides/main.html b/mkdocs/site/overrides/main.html new file mode 100644 index 0000000..db9be4d --- /dev/null +++ b/mkdocs/site/overrides/main.html @@ -0,0 +1,4 @@ +{% extends "base.html" %} {% block extrahead %} {% endblock %} {% block announce %} + +Changemaker Archive. Learn more +{% endblock %} {% block scripts %} {{ super() }} {% endblock %} \ No newline at end of file diff --git a/mkdocs/site/quick-commands/index.html b/mkdocs/site/quick-commands/index.html new file mode 100644 index 0000000..16bfad7 --- /dev/null +++ b/mkdocs/site/quick-commands/index.html @@ -0,0 +1,1170 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + Quick Commands - Changemaker Documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + +
+ + +
+ +
+ + + + + + + + + +
+
+ + + +
+
+
+ + + + + + + +
+
+
+ + + +
+
+
+ + + +
+
+
+ + + +
+
+ + + + + +

Quick Commands

+

Build Site

+
# navigate to mkdocs directory 
+mkdocs build
+
+

Ollama

+

Pull a model into the ollama environment:

+
# Replace action and model with your own...
+docker exec -it ollama-changemaker ollama [action] [model]
+
+ + + + + + + + + + + + + + + + +
+
+ + + +
+ + + +
+ +
+ + +
+ +
+
+
+
+ + + + + + + + + + + + \ No newline at end of file diff --git a/mkdocs/site/readme/index.html b/mkdocs/site/readme/index.html new file mode 100644 index 0000000..a8bdb2c --- /dev/null +++ b/mkdocs/site/readme/index.html @@ -0,0 +1,2094 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Get Started - Changemaker Documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + +
+ + +
+ +
+ + + + + + + + + +
+
+ + + +
+
+
+ + + + + + + +
+
+
+ + + + + + + +
+
+ + + + + +

Changemaker V5

+

changemakergif

+
+

Changemaker V5 is a battle-tested, lightweight, self-hosted productivity suite which empowers you to deploy secure, locally-built websites, blogs, newsletters, & forms – from personal projects to full-fledged campaigns – granting you complete control, inherent security, and true freedom of speech.

+

It is a project undertaken by The Bunker Operations, headquarted in Edmonton, Alberta, Canada, as to provide our community a digital campaign alternative to mainstream American systems.

+

build your power

+

Contents

+ +
+

Development Pathway

+

Changemaker's identified wants for development:

+
    +
  • Internal integrations for assset management i.e. shared plain file locations
  • +
  • Database connections for automation systems i.e. manauls for Nocodb & n8n on connecting services
  • +
  • Manual & landing site for the whole system i.e. upgrading bnkops.com
  • +
  • Trainings and manuals across the board
  • +
+

Idenitfied Feature Requests:

+
    +
  • Event Management: Looking at hi.ewvents
  • +
  • Scheduling: Looking at rally
  • +
  • Support and user chat: looking at chatwoot
  • +
  • Mass community chat: looking at thelounge
  • +
  • Team chat and project management: looking at rocket chat ✔️
  • +
+

Bugs:

+
    +
  • Readme needs a full flow redo - ✅ next up
  • +
  • Config script needs to be updated for nocodb for a simpler string / set the string - ✅
  • +
  • Gitea DNS application access bypass not properly setting - ✅ bypass needing manual setup / need to explore api more
  • +
  • Portainer not serving to http - 🤔 portainer to be limited to local access
  • +
  • nocodb setup upping odd - ✅ password needs no special characters
  • +
  • ferdium port mismatch - ✅ was a cloudflare port setting missmatch
  • +
+

Prerequisites

+
    +
  • A Linux server (Ubuntu 22.04/24.04 recommended)
  • +
  • Docker & Docker Compose
  • +
  • Internet connection
  • +
  • (Optional) Root or sudo access
  • +
  • (Optional) A domain name for remote access
  • +
  • (Optional) Cloudflare account for tunnel setup
  • +
+

Quick Start for Local Dev

+

Review all off the applications here

+

If you're familiar with Docker and want to get started quickly:

+
# Clone the repository
+git clone https://gitea.bnkhome.org/bnkops/Changemaker.git
+cd changemaker
+
+

See Setting Up Cloudflare Credentials for how to get cloudflare credentials for config.sh.

+
# Use default configuration for local development.
+# To configure for remote deployment with Cloudflare, first make the script executable:
+chmod +x config.sh
+
+# Then run the configuration script. You will need your Cloudflare details.
+./config.sh
+
+
# Start all services
+docker compose up -d
+
+

First time installation can take several miniutes

+

On a 1GB internet connection, instal time is approximately 5 minutes.

+

⚠️ Configure Portainer Immediately 🦊

+

Portainer has a timed build process that needs to be completed on successful build. Proceed to configure the service by visiting https://localhost:9444

+

Gitea has a install process that you should complete immediately after connecting system to dns and domain services.

+

On Successful Build, Vist Local Homepage

+

The local homepage - http://localhost:3011 is configured with all of the services you can access securely locally.

+

To access services outside of network, configure a VPN, Tailscale, or continue to Cloudflare publishing documentation.

+

Local Service Ports

+

When running Changemaker locally, you can access the services at the following ports on your server:

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ServiceLocal PortLocal URL
Root/Website (Nginx)4001http://localhost:4001
Homepage (local)3011http://locahost:3011
Homepage3010http://localhost:3010
Excalidraw3333http://localhost:3333
Listmonk9000http://localhost:9000
Monica CRM8085http://localhost:8085
MkDocs4000http://localhost:4000
Flatnotes8089http://localhost:8089
Code Server8888http://localhost:8888
Ollama11435http://localhost:11435
OpenWebUI3005http://localhost:3005
Gitea3030http://localhost:3030
Portainer8005https://localhost:9444
Mini QR8081http://localhost:8081
Ferdium3009http://localhost:3009
Answer9080http://localhost:9080
NocoDB8090http://localhost:8090
n8n5678http://localhost:5678
ConvertX3100http://localhost:3100
Rocket.Chat3004http://localhost:3004
+

Ubuntu OS & Build Outs

+

You can deploy Changemaker on any OS using Docker however we also provide several full Ubuntu build-outs. These scripts can speed up your deployment immensely and Changemaker is developed on a like system:

+
    +
  1. build.server - this build-out is a lightweight deployment aimed for dedicated server machines. It is focused on entry level users who would build on a dedicated machine.
  2. +
  3. build.homelab - this build-out is full-some development focused build-out that The Bunker Operations uses for our day-to-day operations.
  4. +
+

Configuration and services scripts for futher developing the system can be found at the scripts repo.

+

1. Install Docker and Docker Compose

+

Install Docker and Docker Compose on your system if they're not already installed:

+

Install Docker & Docker Compose

+

Verify that Docker and Docker Compose are installed correctly:

+
docker --version
+docker compose version
+
+

2. Clone the Repository

+
git clone https://github.com/your-org/changemaker-v5.git
+cd changemaker-v5
+
+

2. Configure Your Environment

+

Setting Up Cloudflare Credentials

+

To use the configuration script, you'll need to collect several Cloudflare credentials:

+
+

Required Cloudflare Information

+
+

You'll need three important pieces of information from your Cloudflare account: + - API Token with proper permissions + - Zone ID for your domain + - Tunnel ID

+
1. Create an API Token
+
    +
  1. Go to your Cloudflare Dashboard → Profile → API Tokens
  2. +
  3. Click "Create Token"
  4. +
  5. Choose one of these options:
  6. +
  7. Use the "Edit zone DNS" template
  8. +
  9. Create a custom token with these permissions:
      +
    • Zone:DNS:Edit
    • +
    • Access:Apps:Edit
    • +
    +
  10. +
  11. Restrict the token to only your specific zone/domain
  12. +
  13. Generate and copy the token
  14. +
+
2. Get your Zone ID
+
    +
  1. Go to your domain's overview page in the Cloudflare dashboard
  2. +
  3. The Zone ID is displayed on the right sidebar
  4. +
  5. It looks like: 023e105f4ecef8ad9ca31a8372d0c353
  6. +
+
3. Get your Tunnel ID
+
    +
  1. If you've already created a tunnel, you can find the ID:
  2. +
  3. Go to Cloudflare Zero Trust dashboard → Access → Tunnels
  4. +
  5. Click on your tunnel
  6. +
  7. The Tunnel ID is in the URL: https://dash.teams.cloudflare.com/xxx/network/tunnels/xxxx
  8. +
  9. It looks like: 6ff42ae2-765d-4adf-8112-31c55c1551ef
  10. +
+
+

Keep Your Credentials Secure

+
+

Store these credentials securely. Never commit them to public repositories or share them in unsecured communications.

+

You have two options:

+

Option A: Use the configuration wizard (recommended)

+
# Make the script executable
+chmod +x config.sh
+
+# Run the configuration wizard
+./config.sh
+
+

Option B: Configure manually +

# Edit the .env file with your settings
+nano .env
+

+

4. Start the Services

+
# Pull and start all containers in detached mode
+docker compose up -d
+
+
+

Configure Portainer

+

Portainer has a timed build process. Make sure to immediatly configure the service at https://localhost:9444 following successful build.

+
+

All services can now be accessed through on local machine. If deploying to public, it is recommended to configure portainer and then continue configuration for all other services once tunnel is established. Then use the public links for configuration of services. For online deployment with Cloudflare, continue to next steps.

+

4. Cloudflare Tunnel Setup

+

For secure remote access to your services, you can set up a Cloudflare Tunnel.

+

Install Cloudflared on Ubuntu 24.04

+

Cloudflared Installation Guide

+

Configure Your Cloudflare Tunnel

+

You can use our Cloudflare Configuration Guide however remember to copy the values of the example config for this deployment.

+

Create a Cloudflare System Service

+

Cloudflare Service Setup Guide

+

Add CNAME Records

+

After setting up your Cloudflare Tunnel, you need to add CNAME records for your services. You can do this manually in the Cloudflare DNS panel or with using the following script: add-cname-records.sh

+
# Make the script executable
+chmod +x add-cname-records.sh
+
+# Run the script to add CNAME records
+./add-cname-records.sh
+
+

This script will add CNAME records for all Changemaker services to your Cloudflare DNS.

+

It will also set up a Cloudflare Access Application for all services execpt for your website and gitea. This is a extra layer of security that we do recommend for your deployment. It will automatically allow any emails with from the root domain that you set in the config.sh process. For example, if you set your root domain to example.com your access rule will allow emails ending with @example.com thorugh. You can update your access settings in the Cloudflare Zero Trust dashboard.

+
+

Cloudflare Zero Trust

+

To ensure that system is secure, we highly recommend setting up some level of access control using Cloudflare Zero Trust. The add-cname-records.sh will do this automatically however the user is encouraged to familiarize themselves with Cloudflares Zero Trust access system.

+
+

Website Build and Deployment Workflow

+

Changemaker uses MkDocs to create your website content, which is then served by an Nginx server. To update your website, you need to:

+
    +
  1. Edit your content using either the Code Server or locally on your machine
  2. +
  3. Build the static site files
  4. +
  5. Let the Nginx server (mkdocs-site-server) serve the built site
  6. +
+

Building Your Website

+

You can build your website in two ways:

+ +
    +
  1. Access Code Server at http://localhost:8888 or https://code-server.yourdomain.com
  2. +
  3. Navigate to the mkdocs directory /home/coder/mkdocs/
  4. +
  5. Open a terminal in Code Server
  6. +
  7. Run the build command: +
    cd /home/coder/mkdocs
    +mkdocs build
    +
  8. +
+

Option 2: Locally on your machine

+
    +
  1. Navigate to the mkdocs directory in your project: +
    cd /home/bunker-admin/Changemaker/mkdocs
    +
  2. +
  3. Run the build command: +
    mkdocs build
    +
  4. +
+

After building, the static site files will be generated in the mkdocs/site directory, which is automatically mounted to the Nginx server (mkdocs-site-server). Your website will be immediately available at: +- Locally: http://localhost:4001 +- With Cloudflare: https://yourdomain.com

+

Development vs Production

+
    +
  • During development, you can use the MkDocs live server at port 4000, which automatically rebuilds when you make changes
  • +
  • For production, build your site as described above and let the Nginx server at port 4001 serve the static files
  • +
+

Accessing Your Services

+

The Homepage acts as a central dashboard for all your Changemaker services. You can access it at:

+
    +
  • Locally: http://localhost:3011 or http://your-server-ip:3011
  • +
  • With Cloudflare: https://homepage.yourdomain.com
  • +
+

The Homepage will display links to all your deployed services, making it easy to navigate your Changemaker ecosystem.

+

After installation and cloudflare deployment you can also access individual services at the following URLs:

+
    +
  • Website: https://yourdomain.com
  • +
  • Homepage: https://homepage.yourdomain.com
  • +
  • Live Preview: https://live.yourdomain.com
  • +
  • Excalidraw: https://excalidraw.yourdomain.com
  • +
  • Listmonk: https://listmonk.yourdomain.com
  • +
  • Monica CRM: https://monica.yourdomain.com
  • +
  • MkDocs: https://yourdomain.com
  • +
  • Flatnotes: https://flatnotes.yourdomain.com
  • +
  • Code Server: https://code-server.yourdomain.com
  • +
  • Ollama: https://ollama.yourdomain.com
  • +
  • OpenWebUI: https://open-web-ui.yourdomain.com
  • +
  • Gitea: https://gitea.yourdomain.com
  • +
  • Portainer: https://portainer.yourdomain.com
  • +
  • Mini QR: https://mini-qr.yourdomain.com
  • +
  • Ferdium: https://ferdium.yourdomain.com
  • +
  • Answer: https://answer.yourdomain.com
  • +
  • NocoDB: https://nocodb.yourdomain.com
  • +
  • n8n: https://n8n.yourdomain.com
  • +
  • ConvertX: https://convertx.yourdomain.com
  • +
  • Rocket.Chat: https://rocket.yourdomain.com
  • +
+

Troubleshooting

+

If you encounter issues:

+
    +
  1. +

    Check the Docker logs: +

    docker compose logs
    +

    +
  2. +
  3. +

    Verify service status: +

    docker compose ps
    +

    +
  4. +
  5. +

    Ensure your Cloudflare Tunnel is running: +

    sudo systemctl status cloudflared
    +

    +
  6. +
  7. +

    Check CNAME records in your Cloudflare dashboard.

    +
  8. +
+

For additional help, please file an issue on our GitHub repository.

+ + + + + + + + + + + + + + + + +
+
+ + + +
+ + + +
+ +
+ + +
+ +
+
+
+
+ + + + + + + + + + + + \ No newline at end of file diff --git a/mkdocs/site/search/search_index.json b/mkdocs/site/search/search_index.json new file mode 100644 index 0000000..49eb55f --- /dev/null +++ b/mkdocs/site/search/search_index.json @@ -0,0 +1 @@ +{"config":{"lang":["en"],"separator":"[\\s\\-]+","pipeline":["stopWordFilter"]},"docs":[{"location":"quick-commands/","title":"Quick Commands","text":""},{"location":"quick-commands/#build-site","title":"Build Site","text":"
# navigate to mkdocs directory \nmkdocs build\n
"},{"location":"quick-commands/#ollama","title":"Ollama","text":"

Pull a model into the ollama environment:

# Replace action and model with your own...\ndocker exec -it ollama-changemaker ollama [action] [model]\n
"},{"location":"readme/","title":"Changemaker V5","text":"

Changemaker V5 is a battle-tested, lightweight, self-hosted productivity suite which empowers you to deploy secure, locally-built websites, blogs, newsletters, & forms \u2013 from personal projects to full-fledged campaigns \u2013 granting you complete control, inherent security, and true freedom of speech.

It is a project undertaken by The Bunker Operations, headquarted in Edmonton, Alberta, Canada, as to provide our community a digital campaign alternative to mainstream American systems.

"},{"location":"readme/#contents","title":"Contents","text":"
  • Prerequisites
  • Quick Start
  • Detailed Installation
  • 1. Install Docker and Docker Compose
  • 2. Clone the Repository
  • 3. Configure Your Environment
  • 4. Start the Services
  • 5. Run Post-Installation Tasks
  • Local Service Ports
  • Cloudflare Tunnel Setup
  • Install Cloudflared on Ubuntu 24.04
  • Configure Your Cloudflare Tunnel
  • Create a Cloudflare System Service
  • Add CNAME Records
  • Website Build and Deployment Workflow
  • Accessing Your Services
  • Troubleshooting
"},{"location":"readme/#development-pathway","title":"Development Pathway","text":"

Changemaker's identified wants for development:

  • Internal integrations for assset management i.e. shared plain file locations
  • Database connections for automation systems i.e. manauls for Nocodb & n8n on connecting services
  • Manual & landing site for the whole system i.e. upgrading bnkops.com
  • Trainings and manuals across the board

Idenitfied Feature Requests:

  • Event Management: Looking at hi.ewvents
  • Scheduling: Looking at rally
  • Support and user chat: looking at chatwoot
  • Mass community chat: looking at thelounge
  • Team chat and project management: looking at rocket chat \u2714\ufe0f

Bugs:

  • Readme needs a full flow redo - \u2705 next up
  • Config script needs to be updated for nocodb for a simpler string / set the string -
  • Gitea DNS application access bypass not properly setting - \u2705 bypass needing manual setup / need to explore api more
  • Portainer not serving to http - \ud83e\udd14 portainer to be limited to local access
  • nocodb setup upping odd - \u2705 password needs no special characters
  • ferdium port mismatch - \u2705 was a cloudflare port setting missmatch
"},{"location":"readme/#prerequisites","title":"Prerequisites","text":"
  • A Linux server (Ubuntu 22.04/24.04 recommended)
  • Docker & Docker Compose
  • Internet connection
  • (Optional) Root or sudo access
  • (Optional) A domain name for remote access
  • (Optional) Cloudflare account for tunnel setup
"},{"location":"readme/#quick-start-for-local-dev","title":"Quick Start for Local Dev","text":"

Review all off the applications here

If you're familiar with Docker and want to get started quickly:

# Clone the repository\ngit clone https://gitea.bnkhome.org/bnkops/Changemaker.git\ncd changemaker\n

See Setting Up Cloudflare Credentials for how to get cloudflare credentials for config.sh.

# Use default configuration for local development.\n# To configure for remote deployment with Cloudflare, first make the script executable:\nchmod +x config.sh\n\n# Then run the configuration script. You will need your Cloudflare details.\n./config.sh\n
# Start all services\ndocker compose up -d\n

First time installation can take several miniutes

On a 1GB internet connection, instal time is approximately 5 minutes.

"},{"location":"readme/#configure-portainer-immediately","title":"\u26a0\ufe0f Configure Portainer Immediately \ud83e\udd8a","text":"

Portainer has a timed build process that needs to be completed on successful build. Proceed to configure the service by visiting https://localhost:9444

Gitea has a install process that you should complete immediately after connecting system to dns and domain services.

"},{"location":"readme/#on-successful-build-vist-local-homepage","title":"On Successful Build, Vist Local Homepage","text":"

The local homepage - http://localhost:3011 is configured with all of the services you can access securely locally.

To access services outside of network, configure a VPN, Tailscale, or continue to Cloudflare publishing documentation.

"},{"location":"readme/#local-service-ports","title":"Local Service Ports","text":"

When running Changemaker locally, you can access the services at the following ports on your server:

Service Local Port Local URL Root/Website (Nginx) 4001 http://localhost:4001 Homepage (local) 3011 http://locahost:3011 Homepage 3010 http://localhost:3010 Excalidraw 3333 http://localhost:3333 Listmonk 9000 http://localhost:9000 Monica CRM 8085 http://localhost:8085 MkDocs 4000 http://localhost:4000 Flatnotes 8089 http://localhost:8089 Code Server 8888 http://localhost:8888 Ollama 11435 http://localhost:11435 OpenWebUI 3005 http://localhost:3005 Gitea 3030 http://localhost:3030 Portainer 8005 https://localhost:9444 Mini QR 8081 http://localhost:8081 Ferdium 3009 http://localhost:3009 Answer 9080 http://localhost:9080 NocoDB 8090 http://localhost:8090 n8n 5678 http://localhost:5678 ConvertX 3100 http://localhost:3100 Rocket.Chat 3004 http://localhost:3004"},{"location":"readme/#ubuntu-os-build-outs","title":"Ubuntu OS & Build Outs","text":"

You can deploy Changemaker on any OS using Docker however we also provide several full Ubuntu build-outs. These scripts can speed up your deployment immensely and Changemaker is developed on a like system:

  1. build.server - this build-out is a lightweight deployment aimed for dedicated server machines. It is focused on entry level users who would build on a dedicated machine.
  2. build.homelab - this build-out is full-some development focused build-out that The Bunker Operations uses for our day-to-day operations.

Configuration and services scripts for futher developing the system can be found at the scripts repo.

"},{"location":"readme/#1-install-docker-and-docker-compose","title":"1. Install Docker and Docker Compose","text":"

Install Docker and Docker Compose on your system if they're not already installed:

Install Docker & Docker Compose

Verify that Docker and Docker Compose are installed correctly:

docker --version\ndocker compose version\n
"},{"location":"readme/#2-clone-the-repository","title":"2. Clone the Repository","text":"
git clone https://github.com/your-org/changemaker-v5.git\ncd changemaker-v5\n
"},{"location":"readme/#2-configure-your-environment","title":"2. Configure Your Environment","text":""},{"location":"readme/#setting-up-cloudflare-credentials","title":"Setting Up Cloudflare Credentials","text":"

To use the configuration script, you'll need to collect several Cloudflare credentials:

Required Cloudflare Information

You'll need three important pieces of information from your Cloudflare account: - API Token with proper permissions - Zone ID for your domain - Tunnel ID

"},{"location":"readme/#1-create-an-api-token","title":"1. Create an API Token","text":"
  1. Go to your Cloudflare Dashboard \u2192 Profile \u2192 API Tokens
  2. Click \"Create Token\"
  3. Choose one of these options:
  4. Use the \"Edit zone DNS\" template
  5. Create a custom token with these permissions:
    • Zone:DNS:Edit
    • Access:Apps:Edit
  6. Restrict the token to only your specific zone/domain
  7. Generate and copy the token
"},{"location":"readme/#2-get-your-zone-id","title":"2. Get your Zone ID","text":"
  1. Go to your domain's overview page in the Cloudflare dashboard
  2. The Zone ID is displayed on the right sidebar
  3. It looks like: 023e105f4ecef8ad9ca31a8372d0c353
"},{"location":"readme/#3-get-your-tunnel-id","title":"3. Get your Tunnel ID","text":"
  1. If you've already created a tunnel, you can find the ID:
  2. Go to Cloudflare Zero Trust dashboard \u2192 Access \u2192 Tunnels
  3. Click on your tunnel
  4. The Tunnel ID is in the URL: https://dash.teams.cloudflare.com/xxx/network/tunnels/xxxx
  5. It looks like: 6ff42ae2-765d-4adf-8112-31c55c1551ef

Keep Your Credentials Secure

Store these credentials securely. Never commit them to public repositories or share them in unsecured communications.

You have two options:

Option A: Use the configuration wizard (recommended)

# Make the script executable\nchmod +x config.sh\n\n# Run the configuration wizard\n./config.sh\n

Option B: Configure manually

# Edit the .env file with your settings\nnano .env\n

"},{"location":"readme/#4-start-the-services","title":"4. Start the Services","text":"
# Pull and start all containers in detached mode\ndocker compose up -d\n

Configure Portainer

Portainer has a timed build process. Make sure to immediatly configure the service at https://localhost:9444 following successful build.

All services can now be accessed through on local machine. If deploying to public, it is recommended to configure portainer and then continue configuration for all other services once tunnel is established. Then use the public links for configuration of services. For online deployment with Cloudflare, continue to next steps.

"},{"location":"readme/#4-cloudflare-tunnel-setup","title":"4. Cloudflare Tunnel Setup","text":"

For secure remote access to your services, you can set up a Cloudflare Tunnel.

"},{"location":"readme/#install-cloudflared-on-ubuntu-2404","title":"Install Cloudflared on Ubuntu 24.04","text":"

Cloudflared Installation Guide

"},{"location":"readme/#configure-your-cloudflare-tunnel","title":"Configure Your Cloudflare Tunnel","text":"

You can use our Cloudflare Configuration Guide however remember to copy the values of the example config for this deployment.

"},{"location":"readme/#create-a-cloudflare-system-service","title":"Create a Cloudflare System Service","text":"

Cloudflare Service Setup Guide

"},{"location":"readme/#add-cname-records","title":"Add CNAME Records","text":"

After setting up your Cloudflare Tunnel, you need to add CNAME records for your services. You can do this manually in the Cloudflare DNS panel or with using the following script: add-cname-records.sh

# Make the script executable\nchmod +x add-cname-records.sh\n\n# Run the script to add CNAME records\n./add-cname-records.sh\n

This script will add CNAME records for all Changemaker services to your Cloudflare DNS.

It will also set up a Cloudflare Access Application for all services execpt for your website and gitea. This is a extra layer of security that we do recommend for your deployment. It will automatically allow any emails with from the root domain that you set in the config.sh process. For example, if you set your root domain to example.com your access rule will allow emails ending with @example.com thorugh. You can update your access settings in the Cloudflare Zero Trust dashboard.

Cloudflare Zero Trust

To ensure that system is secure, we highly recommend setting up some level of access control using Cloudflare Zero Trust. The add-cname-records.sh will do this automatically however the user is encouraged to familiarize themselves with Cloudflares Zero Trust access system.

"},{"location":"readme/#website-build-and-deployment-workflow","title":"Website Build and Deployment Workflow","text":"

Changemaker uses MkDocs to create your website content, which is then served by an Nginx server. To update your website, you need to:

  1. Edit your content using either the Code Server or locally on your machine
  2. Build the static site files
  3. Let the Nginx server (mkdocs-site-server) serve the built site
"},{"location":"readme/#building-your-website","title":"Building Your Website","text":"

You can build your website in two ways:

"},{"location":"readme/#option-1-using-code-server-recommended-for-remote-deployments","title":"Option 1: Using Code Server (recommended for remote deployments)","text":"
  1. Access Code Server at http://localhost:8888 or https://code-server.yourdomain.com
  2. Navigate to the mkdocs directory /home/coder/mkdocs/
  3. Open a terminal in Code Server
  4. Run the build command:
    cd /home/coder/mkdocs\nmkdocs build\n
"},{"location":"readme/#option-2-locally-on-your-machine","title":"Option 2: Locally on your machine","text":"
  1. Navigate to the mkdocs directory in your project:
    cd /home/bunker-admin/Changemaker/mkdocs\n
  2. Run the build command:
    mkdocs build\n

After building, the static site files will be generated in the mkdocs/site directory, which is automatically mounted to the Nginx server (mkdocs-site-server). Your website will be immediately available at: - Locally: http://localhost:4001 - With Cloudflare: https://yourdomain.com

"},{"location":"readme/#development-vs-production","title":"Development vs Production","text":"
  • During development, you can use the MkDocs live server at port 4000, which automatically rebuilds when you make changes
  • For production, build your site as described above and let the Nginx server at port 4001 serve the static files
"},{"location":"readme/#accessing-your-services","title":"Accessing Your Services","text":"

The Homepage acts as a central dashboard for all your Changemaker services. You can access it at:

  • Locally: http://localhost:3011 or http://your-server-ip:3011
  • With Cloudflare: https://homepage.yourdomain.com

The Homepage will display links to all your deployed services, making it easy to navigate your Changemaker ecosystem.

After installation and cloudflare deployment you can also access individual services at the following URLs:

  • Website: https://yourdomain.com
  • Homepage: https://homepage.yourdomain.com
  • Live Preview: https://live.yourdomain.com
  • Excalidraw: https://excalidraw.yourdomain.com
  • Listmonk: https://listmonk.yourdomain.com
  • Monica CRM: https://monica.yourdomain.com
  • MkDocs: https://yourdomain.com
  • Flatnotes: https://flatnotes.yourdomain.com
  • Code Server: https://code-server.yourdomain.com
  • Ollama: https://ollama.yourdomain.com
  • OpenWebUI: https://open-web-ui.yourdomain.com
  • Gitea: https://gitea.yourdomain.com
  • Portainer: https://portainer.yourdomain.com
  • Mini QR: https://mini-qr.yourdomain.com
  • Ferdium: https://ferdium.yourdomain.com
  • Answer: https://answer.yourdomain.com
  • NocoDB: https://nocodb.yourdomain.com
  • n8n: https://n8n.yourdomain.com
  • ConvertX: https://convertx.yourdomain.com
  • Rocket.Chat: https://rocket.yourdomain.com
"},{"location":"readme/#troubleshooting","title":"Troubleshooting","text":"

If you encounter issues:

  1. Check the Docker logs:

    docker compose logs\n

  2. Verify service status:

    docker compose ps\n

  3. Ensure your Cloudflare Tunnel is running:

    sudo systemctl status cloudflared\n

  4. Check CNAME records in your Cloudflare dashboard.

For additional help, please file an issue on our GitHub repository.

"},{"location":"apps/","title":"Changemaker V5 - Apps & Services Documentation","text":"

This document provides an overview of all the applications and services included in the Changemaker V5 productivity suite, along with links to their documentation.

"},{"location":"apps/#dashboard","title":"Dashboard","text":""},{"location":"apps/#homepage","title":"Homepage","text":"
  • Description: Main dashboard for Changemaker V5
  • Documentation: Homepage Docs
  • Local Access: http://localhost:3010/
  • Details: Homepage serves as your central command center, providing a unified dashboard to access all Changemaker services from one place. It features customizable layouts, service status monitoring, and bookmarks to frequently used pages, eliminating the need to remember numerous URLs.
"},{"location":"apps/#essential-tools","title":"Essential Tools","text":""},{"location":"apps/#code-server","title":"Code Server","text":"
  • Description: Visual Studio Code in the browser
  • Documentation: Code Server Docs
  • Local Access: http://localhost:8888/
  • Details: Code Server brings the power of VS Code to your browser, allowing you to develop and edit code from any device without local installation. This makes it perfect for quick edits to website content, fixing formatting issues, or developing from tablets or borrowed computers. The familiar VS Code interface includes extensions, syntax highlighting, and Git integration.
"},{"location":"apps/#flatnotes","title":"Flatnotes","text":"
  • Description: Simple note-taking app - connected directly to blog
  • Documentation: Flatnotes Docs
  • Local Access: http://localhost:8089/
  • Details: Flatnotes offers distraction-free, markdown-based note-taking with automatic saving and powerful search. Perfect for capturing ideas that can be directly published to your blog without reformatting. Use it for drafting newsletters, documenting processes, or maintaining a knowledge base that's both private and publishable.
"},{"location":"apps/#listmonk","title":"Listmonk","text":"
  • Description: Self-hosted newsletter and mailing list manager
  • Documentation: Listmonk Docs
  • Local Access: http://localhost:9000/
  • Details: Listmonk provides complete control over your email campaigns without subscription fees or content restrictions. Create segmented lists, design professional newsletters, track engagement metrics, and manage opt-ins/unsubscribes\u2014all while keeping your audience data private. Perfect for consistent communication with supporters without the censorship risks or costs of commercial platforms.
"},{"location":"apps/#nocodb","title":"NocoDB","text":"
  • Description: Open Source Airtable Alternative
  • Documentation: NocoDB Docs
  • Local Access: http://localhost:8090/
  • Details: NocoDB transforms any database into a smart spreadsheet with advanced features like forms, views, and automations. Use it to create volunteer signup systems, event management databases, or campaign tracking tools without subscription costs. Its familiar spreadsheet interface makes it accessible to non-technical users while providing the power of a relational database.
"},{"location":"apps/#content-creation","title":"Content Creation","text":""},{"location":"apps/#mkdocs-material-theme","title":"MkDocs - Material Theme","text":"
  • Description: Static site generator and documentation builder
  • Documentation: MkDocs Docs
  • Local Access: http://localhost:4000/
  • Details: MkDocs with Material theme transforms simple markdown files into beautiful, professional documentation sites. Ideal for creating campaign websites, project documentation, or public-facing content that loads quickly and ranks well in search engines. The Material theme adds responsive design, dark mode, and advanced navigation features.
"},{"location":"apps/#excalidraw","title":"Excalidraw","text":"
  • Description: Virtual collaborative whiteboard for sketching and drawing
  • Documentation: Excalidraw Docs
  • Local Access: http://localhost:3333/
  • Details: Excalidraw provides a virtual whiteboard for creating diagrams, flowcharts, or sketches with a hand-drawn feel. It's excellent for visual brainstorming, planning project workflows, or mapping out campaign strategies. Multiple people can collaborate in real-time, making it ideal for remote team planning sessions.
"},{"location":"apps/#gitea","title":"Gitea","text":"
  • Description: Lightweight self-hosted Git service
  • Documentation: Gitea Docs
  • Local Access: http://localhost:3030/
  • Details: Gitea provides a complete code and document version control system similar to GitHub but fully under your control. Use it to track changes to campaign materials, collaborate on content development, manage website code, or maintain configuration files with full revision history. Multiple contributors can work together without overwriting each other's changes.
"},{"location":"apps/#openwebui","title":"OpenWebUI","text":"
  • Description: Web interface for Ollama
  • Documentation: OpenWebUI Docs
  • Local Access: http://localhost:3005/
  • Details: OpenWebUI provides a user-friendly chat interface for interacting with your Ollama AI models. This makes AI accessible to non-technical team members for tasks like drafting responses, generating creative content, or researching topics. The familiar chat format allows anyone to leverage AI assistance without needing to understand the underlying technology.
"},{"location":"apps/#community-data","title":"Community & Data","text":""},{"location":"apps/#monica-crm","title":"Monica CRM","text":"
  • Description: Personal relationship management system
  • Documentation: Monica Docs
  • Local Access: http://localhost:8085/
  • Details: Monica CRM helps you maintain meaningful relationships by tracking interactions, important dates, and personal details about contacts. It's perfect for community organizers to remember conversation contexts, follow up appropriately, and nurture connections with supporters. Unlike corporate CRMs, Monica focuses on the human aspects of relationships rather than just sales metrics.
"},{"location":"apps/#answer","title":"Answer","text":"
  • Description: Q&A platform for teams
  • Documentation: Answer Docs
  • Local Access: http://localhost:9080/
  • Details: Answer creates a knowledge-sharing community where team members or supporters can ask questions, provide solutions, and vote on the best responses. It builds an organized, searchable knowledge base that grows over time. Use it for internal team support, public FAQs, or gathering community input on initiatives while keeping valuable information accessible rather than buried in email threads.
"},{"location":"apps/#ferdium","title":"Ferdium","text":"
  • Description: All-in-one messaging application
  • Documentation: Ferdium Docs
  • Local Access: http://localhost:3002/
  • Details: Ferdium consolidates all your communication platforms (Slack, Discord, WhatsApp, Telegram, etc.) into a single interface. This allows you to monitor and respond across channels without constantly switching applications. Perfect for community managers who need to maintain presence across multiple platforms without missing messages or getting overwhelmed.
"},{"location":"apps/#rocketchat","title":"Rocket.Chat","text":"
  • Description: Team collaboration platform with chat, channels, and video conferencing
  • Documentation: Rocket.Chat Docs
  • Local Access: http://localhost:3004/
  • Details: Rocket.Chat provides a complete communication platform for your team or community. Features include real-time chat, channels, direct messaging, file sharing, video calls, and integrations with other services. It's perfect for creating private discussion spaces, coordinating campaigns, or building community engagement. Unlike commercial platforms, you maintain full data sovereignty and control over user privacy.
"},{"location":"apps/#development","title":"Development","text":""},{"location":"apps/#ollama","title":"Ollama","text":"
  • Description: Local AI model server for running large language models
  • Documentation: Ollama Docs
  • Local Access: http://localhost:11435/
  • Details: Ollama runs powerful AI language models locally on your server, providing AI capabilities without sending sensitive data to third-party services. Use it for content generation, research assistance, or data analysis with complete privacy. Models run on your hardware, giving you full control over what AI can access and ensuring your information stays confidential.
"},{"location":"apps/#portainer","title":"Portainer","text":"
  • Description: Docker container management UI
  • Documentation: Portainer Docs
  • Local Access: https://localhost:9443/
  • Details: Portainer simplifies Docker management with a visual interface for controlling containers, images, networks, and volumes. Instead of complex command-line operations, you can start/stop services, view logs, and manage resources through an intuitive UI, making system maintenance accessible to non-technical users.
"},{"location":"apps/#mini-qr","title":"Mini-QR","text":"
  • Description: QR Code Generator
  • Documentation: Mini-QR Docs
  • Local Access: http://localhost:8081/
  • Details: Mini-QR enables you to quickly generate customizable QR codes for any URL, text, or contact information. Perfect for campaign materials, business cards, or event signage. Create codes that link to your digital materials without relying on third-party services that may track usage or expire.
"},{"location":"apps/#convertx","title":"ConvertX","text":"
  • Description: Self-hosted file conversion tool
  • Documentation: ConvertX GitHub
  • Local Access: http://localhost:3100/
  • Details: ConvertX provides a simple web interface for converting files between different formats. It supports a wide range of file types including documents, images, audio, and video. This enables you to maintain full control over your file conversions without relying on potentially insecure third-party services. Perfect for converting documents for campaigns, optimizing images for web use, or preparing media files for different platforms.
"},{"location":"apps/#n8n","title":"n8n","text":"
  • Description: Workflow automation platform
  • Documentation: n8n Docs
  • Local Access: http://localhost:5678/
  • Details: n8n automates repetitive tasks by connecting your applications and services with visual workflows. You can create automations like sending welcome emails to new supporters, posting social media updates across platforms, or synchronizing contacts between databases\u2014all without coding. This saves hours of manual work and ensures consistent follow-through on processes.
"},{"location":"apps/#remote-access","title":"Remote Access","text":"

When configured with Cloudflare Tunnels, you can access these services remotely at:

  • Homepage: https://homepage.yourdomain.com
  • Excalidraw: https://excalidraw.yourdomain.com
  • Listmonk: https://listmonk.yourdomain.com
  • Monica CRM: https://monica.yourdomain.com
  • MkDocs: https://yourdomain.com
  • Flatnotes: https://flatnotes.yourdomain.com
  • Code Server: https://code-server.yourdomain.com
  • Ollama: https://ollama.yourdomain.com
  • OpenWebUI: https://open-web-ui.yourdomain.com
  • Gitea: https://gitea.yourdomain.com
  • Portainer: https://portainer.yourdomain.com
  • Mini QR: https://mini-qr.yourdomain.com
  • Ferdium: https://ferdium.yourdomain.com
  • Answer: https://answer.yourdomain.com
  • NocoDB: https://nocodb.yourdomain.com
  • n8n: https://n8n.yourdomain.com
  • ConvertX: https://convertx.yourdomain.com
  • Rocket.Chat: https://rocket.yourdomain.com
"},{"location":"apps/answer/","title":"Answer: Q&A Knowledge Base Platform","text":"

Answer is a self-hosted, open-source Q&A platform designed to help teams and communities build a shared knowledge base. Users can ask questions, provide answers, and vote on the best solutions, creating an organized and searchable repository of information.

"},{"location":"apps/answer/#key-features","title":"Key Features","text":"
  • Question & Answer Format: Familiar Stack Overflow-like interface.
  • Voting System: Users can upvote or downvote questions and answers to highlight the best content.
  • Tagging: Organize questions with tags for easy filtering and discovery.
  • Search Functionality: Powerful search to find existing answers quickly.
  • User Reputation: (Often a feature in Q&A platforms) Users can earn reputation for helpful contributions.
  • Markdown Support: Write questions and answers using Markdown.
  • Self-Hosted: Full control over your data and platform.
"},{"location":"apps/answer/#documentation","title":"Documentation","text":"

For more detailed information about Answer, visit the official documentation.

"},{"location":"apps/answer/#getting-started-with-answer","title":"Getting Started with Answer","text":""},{"location":"apps/answer/#accessing-answer","title":"Accessing Answer","text":"
  1. URL: Access Answer locally via http://localhost:9080/ (or your configured external URL).
  2. Account Creation/Login: You will likely need to create an account or log in to participate (ask questions, answer, vote). The first user might be an admin.
"},{"location":"apps/answer/#basic-usage","title":"Basic Usage","text":"
  1. Asking a Question:

    • Look for a button like \"Ask Question.\"
    • Write a clear and concise title for your question.
    • Provide detailed context and information in the body of the question using Markdown.
    • Add relevant tags to help categorize your question.
  2. Answering a Question:

    • Browse or search for questions you can help with.
    • Write your answer in the provided text area, using Markdown for formatting.
    • Submit your answer.
  3. Voting and Commenting:

    • Upvote helpful questions and answers to increase their visibility.
    • Downvote incorrect or unhelpful content.
    • Leave comments to ask for clarification or provide additional information without writing a full answer.
  4. Searching for Information: Use the search bar to find if your question has already been asked and answered.

  5. Managing Content (Admins/Moderators):

    • Admins can typically manage users, tags, and content (e.g., edit or delete inappropriate posts).
"},{"location":"apps/answer/#use-cases-within-changemaker","title":"Use Cases within Changemaker","text":"
  • Internal Team Support: Create a knowledge base for your team to ask and answer questions about processes, tools, or projects.
  • Public FAQs: Set up a public-facing Q&A site for your campaign or organization where supporters can find answers to common questions.
  • Community Forum: Foster a community where users can help each other and share knowledge related to your cause or Changemaker itself.
  • Documentation Supplement: Use it alongside your main MkDocs site to handle dynamic questions that arise from users.
"},{"location":"apps/answer/#editing-the-site","title":"Editing the Site","text":"

Answer is a platform for building a Q&A knowledge base. It is not used for editing this main documentation site (the one you are reading). Site editing is done via Code Server.

"},{"location":"apps/answer/#further-information","title":"Further Information","text":"
  • Answer Official Website & Documentation: https://answer.dev/ and https://answer.dev/docs
"},{"location":"apps/code-server/","title":"Code Server: VS Code in Your Browser","text":"

Code Server brings the powerful and familiar Visual Studio Code experience directly to your web browser. This allows you to develop, edit code, and manage your projects from any device with internet access, without needing to install VS Code locally.

It's an essential tool within Changemaker for making quick edits to your website content, managing configuration files, or even full-fledged development tasks on the go.

"},{"location":"apps/code-server/#key-features","title":"Key Features","text":"
  • Full VS Code Experience: Access almost all features of desktop VS Code, including the editor, terminal, debugger (for supported languages), extensions, themes, and settings.
  • Remote Access: Code from anywhere, on any device (laptops, tablets, etc.).
  • Workspace Management: Open and manage your project folders just like in desktop VS Code.
  • Extension Marketplace: Install and use your favorite VS Code extensions.
  • Integrated Terminal: Access a terminal directly within the browser interface.
  • Git Integration: Manage your version control seamlessly.
"},{"location":"apps/code-server/#documentation","title":"Documentation","text":"

For more detailed information about Code Server, visit the official repository.

"},{"location":"apps/code-server/#getting-started-with-code-server","title":"Getting Started with Code Server","text":""},{"location":"apps/code-server/#accessing-code-server","title":"Accessing Code Server","text":"
  1. URL: You can access Code Server locally via http://localhost:8888/ (or your configured external URL if set up).
  2. Login: You will be prompted for a password. This password can be found in the configuration file located at configs/code-server/.config/code-server/config.yaml within your main Changemaker project directory (e.g., /home/bunker-admin/Changemaker/configs/code-server/.config/code-server/config.yaml). You might need to access this file directly on your server or through another method for the initial password retrieval.
"},{"location":"apps/code-server/#basic-usage-editing-your-documentation-site","title":"Basic Usage: Editing Your Documentation Site","text":"

A common use case within Changemaker is editing your MkDocs documentation site.

  1. Open Your Workspace:

    • Once logged into Code Server, use the \"File\" menu or the Explorer sidebar to \"Open Folder...\".
    • Navigate to and select the root directory of your Changemaker project (e.g., /home/bunker-admin/Changemaker/ or the path where your Changemaker files are located if different, typically where the docker-compose.yml for Changemaker is).
  2. Navigate to Documentation Files:

    • In the Explorer sidebar, expand the mkdocs folder, then the docs folder.
    • Here you'll find all your Markdown (.md) files (like index.md, readme.md, files within apps/, etc.), your site configuration (mkdocs.yml), and custom assets (like stylesheets/extra.css or files in overrides/).
  3. Edit a File:

    • Click on a Markdown file (e.g., index.md or any page you want to change like apps/code-server.md itself!).
    • The file will open in the editor. Make your changes using standard Markdown syntax. You'll benefit from live preview capabilities if you have the appropriate VS Code extensions installed (e.g., Markdown Preview Enhanced).
  4. Save Changes:

    • Press Ctrl+S (or Cmd+S on Mac) to save your changes.
    • If your MkDocs development server is running with live reload (e.g., via mkdocs serve executed in a terminal, perhaps within Code Server itself or on your host machine), your documentation site should update automatically in your browser. Otherwise, you may need to rebuild/redeploy your MkDocs site.
"},{"location":"apps/code-server/#using-the-integrated-terminal","title":"Using the Integrated Terminal","text":"

The integrated terminal is extremely useful for various tasks without leaving Code Server: * Running Git commands (git pull, git add ., git commit -m \"docs: update content\", git push). * Managing your MkDocs site (mkdocs serve to start a live-preview server, mkdocs build to generate static files). * Any other shell commands needed for your project.

To open the terminal: Go to \"Terminal\" > \"New Terminal\" in the Code Server menu, or use the shortcut (often Ctrl+\\ or Ctrl+~).

"},{"location":"apps/code-server/#further-information","title":"Further Information","text":"

For more detailed information on Code Server's features, advanced configurations, and troubleshooting, please refer to the official Code Server Documentation.

"},{"location":"apps/excalidraw/","title":"Excalidraw: Collaborative Virtual Whiteboard","text":"

Excalidraw is a virtual collaborative whiteboard tool that lets you easily sketch diagrams with a hand-drawn feel. It's excellent for brainstorming, creating flowcharts, planning project workflows, or mapping out campaign strategies.

"},{"location":"apps/excalidraw/#key-features","title":"Key Features","text":"
  • Hand-drawn Feel: Creates diagrams that look informal and approachable.
  • Real-time Collaboration: Multiple users can work on the same drawing simultaneously.
  • Simple Interface: Easy to learn and use, with essential drawing tools.
  • Export Options: Save your drawings as PNG, SVG, or .excalidraw files (for later editing).
  • Library Support: Create and use libraries of reusable components.
  • Self-Hosted: As part of Changemaker, your Excalidraw instance is self-hosted, keeping your data private.
"},{"location":"apps/excalidraw/#documentation","title":"Documentation","text":"

For more detailed information about Excalidraw, visit the official repository.

"},{"location":"apps/excalidraw/#getting-started-with-excalidraw","title":"Getting Started with Excalidraw","text":""},{"location":"apps/excalidraw/#accessing-excalidraw","title":"Accessing Excalidraw","text":"
  1. URL: Access Excalidraw locally via http://localhost:3333/ (or your configured external URL).
  2. No Login Required (Typically): Excalidraw itself usually doesn't require a login to start drawing or collaborating if someone shares a link with you.
"},{"location":"apps/excalidraw/#basic-usage","title":"Basic Usage","text":"
  1. Start Drawing:

    • The interface presents a canvas and a toolbar with drawing tools (select, rectangle, diamond, ellipse, arrow, line, free-draw, text).
    • Select a tool and click/drag on the canvas to create shapes or text.
  2. Styling Elements:

    • Select an element on the canvas.
    • Use the context menu that appears to change properties like color, fill style, stroke width, font size, alignment, etc.
  3. Connecting Shapes: Use arrows or lines to connect shapes to create flowcharts or diagrams.

  4. Collaboration (If needed):

    • Click on the \"Live collaboration\" button (often a users icon).
    • Start a session. You'll get a unique link to share with others.
    • Anyone with the link can join the session and draw in real-time.
  5. Saving Your Work:

    • Export: Click the menu icon (usually top-left) and choose \"Export image\". You can select format (PNG, SVG), background options, etc.
    • Save to .excalidraw file: To save your drawing with all its properties for future editing in Excalidraw, choose \"Save to file\". This will download an .excalidraw JSON file.
  6. Loading a Drawing:

    • Click the menu icon and choose \"Open\" to load a previously saved .excalidraw file.
"},{"location":"apps/excalidraw/#use-cases-within-changemaker","title":"Use Cases within Changemaker","text":"
  • Brainstorming ideas for campaigns or projects.
  • Creating sitemaps or user flow diagrams for your website.
  • Designing simple graphics or illustrations for your documentation or blog posts.
  • Collaboratively planning workflows with team members.
"},{"location":"apps/excalidraw/#editing-the-site","title":"Editing the Site","text":"

Editing of the main Changemaker documentation site (the one you are reading now) is done via Code Server, not Excalidraw. Excalidraw is a tool for creating visual content that you might then include in your documentation (e.g., by exporting an image and adding it to a Markdown file).

"},{"location":"apps/excalidraw/#further-information","title":"Further Information","text":"
  • Excalidraw Official Site: Excalidraw.com (for general info and the public version)
  • Excalidraw GitHub Repository: Excalidraw on GitHub (for documentation, source code, and community discussions).
"},{"location":"apps/ferdium/","title":"Ferdium: All-in-One Messaging Application","text":"

Ferdium is a desktop application that allows you to combine all your messaging services into one place. It's a fork of Franz and Ferdi, designed to help you manage multiple chat and communication platforms without needing to switch between numerous browser tabs or apps.

Note: Ferdium is typically a desktop application you install on your computer, not a web service you access via a browser within the Changemaker suite in the same way as other listed web apps. However, if it's been containerized and made accessible via a web interface in your specific Changemaker setup (e.g., via Kasm or a similar VNC/RDP in Docker setup), the access method would be specific to that.

Assuming it's accessible via a web URL in your Changemaker instance:

"},{"location":"apps/ferdium/#key-features-general-ferdium-features","title":"Key Features (General Ferdium Features)","text":"
  • Service Integration: Supports a vast number of services (Slack, WhatsApp, Telegram, Discord, Gmail, Messenger, Twitter, and many more).
  • Unified Interface: Manage all your communication from a single window.
  • Workspaces: Organize services into different workspaces (e.g., personal, work).
  • Customization: Themes, notifications, and service-specific settings.
  • Cross-Platform: Available for Windows, macOS, and Linux (as a desktop app).
  • Open Source: Community-driven development.
"},{"location":"apps/ferdium/#documentation","title":"Documentation","text":"

For more detailed information about Ferdium, visit the official repository.

"},{"location":"apps/ferdium/#getting-started-with-ferdium-web-access-within-changemaker","title":"Getting Started with Ferdium (Web Access within Changemaker)","text":""},{"location":"apps/ferdium/#accessing-ferdium-if-web-accessible","title":"Accessing Ferdium (If Web-Accessible)","text":"
  1. URL: Access Ferdium locally via http://localhost:3002/ (or your configured external URL). This URL implies it's running as a web-accessible service in your Docker setup.
  2. Setup/Login:
    • You might be presented with a desktop-like interface within your browser.
    • The first step would be to add services (e.g., connect your Slack, WhatsApp accounts).
"},{"location":"apps/ferdium/#basic-usage-general-ferdium-workflow","title":"Basic Usage (General Ferdium Workflow)","text":"
  1. Add Services:

    • Look for an option to \"Add a new service\" or a similar button.
    • Browse the list of available services and select the ones you use.
    • You will need to log in to each service individually within Ferdium (e.g., enter your Slack credentials, scan a WhatsApp QR code).
  2. Organize Services:

    • Services will typically appear in a sidebar.
    • You can reorder them or group them into workspaces if the feature is prominent in the web version.
  3. Using Services:

    • Click on a service in the sidebar to open its interface within Ferdium.
    • Interact with it as you normally would (send messages, check notifications).
  4. Manage Notifications: Configure how you want to receive notifications for each service to avoid being overwhelmed.

"},{"location":"apps/ferdium/#use-cases-within-changemaker","title":"Use Cases within Changemaker","text":"
  • Centralized Communication: For community managers or team members who need to monitor and respond across multiple platforms (Discord, Telegram, Slack, email, etc.) without constantly switching browser tabs or apps.
  • Improved Focus: Reduces distractions by having all communication in one place.
"},{"location":"apps/ferdium/#editing-the-site","title":"Editing the Site","text":"

Ferdium is a messaging application. It is not used for editing this documentation site. Site editing is done via Code Server.

"},{"location":"apps/ferdium/#further-information","title":"Further Information","text":"
  • Ferdium Official Website: https://ferdium.org/
  • Ferdium GitHub: https://github.com/ferdium/ferdium-app (for the desktop app, but may have info relevant to a containerized version if that's what you are running).

Important Consideration for Changemaker: If Ferdium is indeed running as a web-accessible service at http://localhost:3002/, its setup and usage might be slightly different from the standard desktop application. The documentation specific to the Docker image or method used to deploy it within Changemaker would be most relevant.

"},{"location":"apps/flatnotes/","title":"Flatnotes: Simple Markdown Note-Taking","text":"

Flatnotes is a straightforward, self-hosted, markdown-based note-taking application. It's designed for simplicity and efficiency, allowing you to quickly capture ideas, draft content, and organize your notes. A key feature in the Changemaker context is its potential to directly feed into your blog or documentation.

"},{"location":"apps/flatnotes/#key-features","title":"Key Features","text":"
  • Markdown First: Write notes using the familiar and versatile Markdown syntax.
  • Live Preview: (Often a feature) See how your Markdown will render as you type.
  • Tagging/Organization: Organize notes with tags or a folder-like structure.
  • Search: Quickly find the information you need within your notes.
  • Automatic Saving: Reduces the risk of losing work.
  • Simple Interface: Distraction-free writing environment.
  • Self-Hosted: Your notes remain private on your server.
  • Potential Blog Integration: Notes can be easily copied or potentially directly published to your MkDocs site or other blog platforms that use Markdown.
"},{"location":"apps/flatnotes/#documentation","title":"Documentation","text":"

For more detailed information about Flatnotes, visit the official repository.

"},{"location":"apps/flatnotes/#getting-started-with-flatnotes","title":"Getting Started with Flatnotes","text":""},{"location":"apps/flatnotes/#accessing-flatnotes","title":"Accessing Flatnotes","text":"
  1. URL: Access Flatnotes locally via http://localhost:8089/ (or your configured external URL).
  2. Login: Flatnotes will have its own authentication. You should have set up credentials during the Changemaker installation or the first time you accessed Flatnotes.
"},{"location":"apps/flatnotes/#basic-usage","title":"Basic Usage","text":"
  1. Creating a New Note:

    • Look for a \"New Note\" button or similar interface element.
    • Give your note a title.
    • Start typing your content in Markdown in the main editor pane.
  2. Writing in Markdown:

    • Use standard Markdown syntax for headings, lists, bold/italic text, links, images, code blocks, etc.
    • Example:
      # My Awesome Idea\n\nThis is a *brilliant* idea that I need to remember.\n\n## Steps\n1. Draft initial thoughts.\n2. Research more.\n3. Write a blog post.\n\n[Link to relevant site](https://example.com)\n
  3. Saving Notes:

    • Flatnotes typically saves your notes automatically as you type or when you switch to another note.
  4. Organizing Notes:

    • Explore options for tagging your notes or organizing them into categories/folders if the interface supports it. This helps in managing a large number of notes.
  5. Searching Notes:

    • Use the search bar to find notes based on keywords in their title or content.
"},{"location":"apps/flatnotes/#using-flatnotes-for-blogdocumentation-content","title":"Using Flatnotes for Blog/Documentation Content","text":"

Flatnotes is excellent for drafting content that will eventually become part of your MkDocs site:

  1. Draft Your Article/Page: Write the full content in Flatnotes, focusing on the text and structure.
  2. Copy Markdown: Once you're satisfied, select all the text in your note and copy it.
  3. Create/Edit MkDocs File:
    • Go to Code Server.
    • Navigate to your mkdocs/docs/ directory (or a subdirectory like blog/posts/).
    • Create a new .md file or open an existing one.
    • Paste the Markdown content you copied from Flatnotes.
  4. Save and Preview: Save the file in Code Server. If mkdocs serve is running, your site will update, and you can preview the new content.
"},{"location":"apps/flatnotes/#further-information","title":"Further Information","text":"

For more specific details on Flatnotes features, customization, or troubleshooting, refer to the official Flatnotes Documentation (as it's a GitHub-hosted project, the README and repository wiki are the primary sources of documentation).

"},{"location":"apps/gitea/","title":"Gitea: Self-Hosted Git Service","text":"

Gitea is a lightweight, self-hosted Git service. It provides a web interface for managing your Git repositories, similar to GitHub or GitLab, but running on your own server. This gives you full control over your code, documents, and version history.

"},{"location":"apps/gitea/#key-features","title":"Key Features","text":"
  • Repository Management: Create, manage, and browse Git repositories.
  • Version Control: Track changes to code, documentation, and other files.
  • Collaboration: Supports pull requests, issues, and wikis for team collaboration.
  • User Management: Manage users and organizations with permission controls.
  • Lightweight: Designed to be efficient and run on modest hardware.
  • Self-Hosted: Full control over your data and infrastructure.
  • Web Interface: User-friendly interface for common Git operations.
"},{"location":"apps/gitea/#documentation","title":"Documentation","text":"

For more detailed information about Gitea, visit the official documentation.

"},{"location":"apps/gitea/#getting-started-with-gitea","title":"Getting Started with Gitea","text":""},{"location":"apps/gitea/#accessing-gitea","title":"Accessing Gitea","text":"
  1. URL: Access Gitea locally via http://localhost:3030/ (or your configured external URL).
  2. Login/Registration:
    • The first time you access Gitea, you might need to go through an initial setup process or register an administrator account.
    • For subsequent access, log in with your Gitea credentials.
"},{"location":"apps/gitea/#basic-usage","title":"Basic Usage","text":"
  1. Create a Repository:

    • Once logged in, look for a \"New Repository\" button (often a \"+\" icon in the header).
    • Give your repository a name, description, and choose visibility (public or private).
    • You can initialize it with a README, .gitignore, and license if desired.
  2. Cloning a Repository:

    • On the repository page, find the clone URL (HTTPS or SSH).
    • Use this URL with the git clone command in your local terminal or within Code Server's terminal:
      git clone http://localhost:3030/YourUsername/YourRepository.git\n
  3. Making Changes and Pushing:

    • Make changes to files in your cloned repository locally.
    • Use standard Git commands to commit and push your changes:
      git add .\ngit commit -m \"Your commit message\"\ngit push origin main # Or your default branch name\n
  4. Using the Web Interface:

    • Browse Files: View files and commit history directly in Gitea.
    • Issues: Track bugs, feature requests, or tasks.
    • Pull Requests: If collaborating, use pull requests to review and merge changes.
    • Settings: Manage repository settings, collaborators, webhooks, etc.
"},{"location":"apps/gitea/#use-cases-within-changemaker","title":"Use Cases within Changemaker","text":"
  • Version Control for Documentation: Store and manage the Markdown files for your MkDocs site in a Gitea repository. This allows you to track changes, revert to previous versions, and collaborate on content.
  • Code Management: If you are developing any custom code or scripts for your Changemaker instance or related projects.
  • Configuration File Management: Keep track of important configuration files with version history.
  • Collaborative Content Development: Teams can work on documents, with changes reviewed via pull requests before merging.
"},{"location":"apps/gitea/#editing-the-site","title":"Editing the Site","text":"

While Gitea hosts the source files (e.g., Markdown files for this documentation), the actual editing process for this MkDocs site is typically done using Code Server. You would: 1. Clone your documentation repository from Gitea to your local workspace (or open it directly if it's already part of your Changemaker file structure accessible by Code Server). 2. Edit the Markdown files using Code Server. 3. Commit and push your changes back to Gitea using Git commands in the Code Server terminal.

"},{"location":"apps/gitea/#further-information","title":"Further Information","text":"
  • Gitea Official Documentation: https://docs.gitea.io/
"},{"location":"apps/homepage/","title":"Homepage Dashboard: Your Central Hub","text":"

Homepage is your personal, customizable application dashboard. Within Changemaker V5, it acts as the central command center, providing a unified interface to access all integrated services, monitor their status, and keep bookmarks for frequently used internal and external pages.

"},{"location":"apps/homepage/#key-features","title":"Key Features","text":"
  • Unified Access: Quickly launch any Changemaker application (Code Server, Flatnotes, Listmonk, NocoDB, etc.) from one place.
  • Service Status Monitoring: (If configured) See at a glance if your services are online and operational.
  • Customizable Layout: Organize your dashboard with groups, links, and widgets to fit your workflow.
  • Bookmarks: Keep important links (both internal Changemaker services and external websites) readily accessible.
  • Themeable: Customize the look and feel to your preference.
  • Lightweight & Fast: Loads quickly and efficiently.
"},{"location":"apps/homepage/#getting-started-with-homepage","title":"Getting Started with Homepage","text":""},{"location":"apps/homepage/#accessing-homepage","title":"Accessing Homepage","text":"
  1. URL: You can typically access Homepage locally via http://localhost:3010/ (or your configured external URL if set up).
  2. No Login Required (Usually): By default, Homepage itself doesn't require a login, but the services it links to (like Code Server or Listmonk) will have their own authentication.
"},{"location":"apps/homepage/#basic-usage","title":"Basic Usage","text":"
  1. Exploring the Dashboard:

    • The main view will show configured service groups and individual service links.
    • Clicking on a service link (e.g., \"Code Server\") will open that application in a new tab or the current window, depending on its configuration.
  2. Understanding the Default Configuration:

    • Changemaker V5 comes with a pre-configured settings.yaml, services.yaml, and potentially bookmarks.yaml for Homepage, located in the configs/homepage/ directory within your Changemaker project structure.
    • These files define what you see on your dashboard.
  3. Customizing Your Dashboard (Advanced):

    • To customize Homepage, you'll typically edit its YAML configuration files. This can be done using Code Server.
    • Navigate to Configuration: In Code Server, open your Changemaker project folder, then navigate to configs/homepage/.
    • Edit services.yaml: To add, remove, or modify the services displayed. Example: Adding a new service
      # In services.yaml\n- My Services:\n  - My New App:\n      href: http://localhost:XXXX # URL of your new app\n      description: Description of my new app\n      icon: fas fa-rocket # Font Awesome icon\n
    • Edit bookmarks.yaml: To add your own bookmarks, organized into groups. Example: Adding a bookmark group
      # In bookmarks.yaml\n- Development:\n  - GitHub:\n      href: https://github.com/\n      icon: fab fa-github\n
    • Edit settings.yaml: For general settings like page title, background, etc.
    • Edit widgets.yaml: To add dynamic information like weather, search bars, etc.
    • Apply Changes: After saving changes to these YAML files, you usually need to restart the Homepage Docker container for them to take effect, or Homepage might pick them up automatically depending on its setup.
"},{"location":"apps/homepage/#further-information","title":"Further Information","text":"

For more detailed information on configuring Homepage, available widgets, and advanced customization options, please refer to the official Homepage Documentation.

"},{"location":"apps/listmonk/","title":"Listmonk: Self-Hosted Newsletter & Mailing List Manager","text":"

Listmonk is a powerful, self-hosted newsletter and mailing list manager. It gives you complete control over your email campaigns, subscriber data, and messaging without relying on third-party services that might have restrictive terms, high costs, or data privacy concerns. It's ideal for building and engaging with your community.

"},{"location":"apps/listmonk/#key-features","title":"Key Features","text":"
  • Subscriber Management: Import, organize, and segment your subscriber lists.
  • Campaign Creation: Design and send email campaigns using rich text or plain Markdown.
  • Templating: Create reusable email templates for consistent branding.
  • Analytics: Track campaign performance with metrics like open rates, click-through rates, etc.
  • Double Opt-In: Ensure compliance and list quality with double opt-in mechanisms.
  • Self-Hosted: Full ownership of your data and infrastructure.
  • API Access: Integrate Listmonk with other systems programmatically.
  • Multi-lingual: Supports multiple languages.
"},{"location":"apps/listmonk/#documentation","title":"Documentation","text":"

For more detailed information about Listmonk, visit the official documentation.

"},{"location":"apps/listmonk/#getting-started-with-listmonk","title":"Getting Started with Listmonk","text":""},{"location":"apps/listmonk/#accessing-listmonk","title":"Accessing Listmonk","text":"
  1. URL: Access Listmonk locally via http://localhost:9000/ (or your configured external URL).
  2. Login: You will need to log in with the administrator credentials you configured during the Changemaker setup or the first time you accessed Listmonk.
"},{"location":"apps/listmonk/#basic-workflow","title":"Basic Workflow","text":"
  1. Configure Mail Settings (Important First Step):

    • After logging in for the first time, navigate to Settings > SMTP.
    • You MUST configure an SMTP server for Listmonk to be able to send emails. This could be a transactional email service (like SendGrid, Mailgun, Amazon SES - some offer free tiers) or your own mail server.
    • Enter the SMTP host, port, username, and password for your chosen email provider.
    • Send a test email from Listmonk to verify the settings.
  2. Create a Mailing List:

    • Go to Lists and click \"New List\".
    • Give your list a name (e.g., \"Monthly Newsletter Subscribers\"), a description, and choose its type (public or private).
    • Set opt-in preferences (single or double opt-in).
  3. Import Subscribers:

    • Go to Subscribers.
    • You can add subscribers manually or import them from a CSV file.
    • Ensure you have consent from your subscribers before adding them.
    • Map CSV columns to Listmonk fields (email, name, etc.).
  4. Create an Email Template (Optional but Recommended):

    • Go to Templates and click \"New Template\".
    • Design a reusable HTML or Markdown template for your emails to maintain consistent branding.
    • Use template variables (e.g., {{ .Subscriber.Email }}, {{ .Subscriber.Name }}) to personalize emails.
  5. Create and Send a Campaign:

    • Go to Campaigns and click \"New Campaign\".
    • Name: Give your campaign a descriptive name.
    • Subject: Write a compelling email subject line.
    • Lists: Select the mailing list(s) to send the campaign to.
    • Content: Write your email content. You can choose:
      • Rich Text Editor: A WYSIWYG editor.
      • Plain Text + Markdown: Write in Markdown for simplicity and version control friendliness.
      • Use a Template: Select one of your pre-designed templates and fill in the content areas.
    • Send Test Email: Always send a test email to yourself or a small group to check formatting and links before sending to your entire list.
    • Schedule or Send: You can schedule the campaign to be sent at a later time or send it immediately.
  6. Analyze Campaign Performance:

    • After a campaign is sent, go to Campaigns, click on the campaign name, and view its statistics (sent, opened, clicked, etc.).
"},{"location":"apps/listmonk/#further-information","title":"Further Information","text":"

For comprehensive details on all Listmonk features, advanced configurations (like bounce handling, API usage), and troubleshooting, please consult the official Listmonk Documentation.

"},{"location":"apps/mkdocs-material/","title":"MkDocs with Material Theme: Your Documentation Powerhouse","text":"

Changemaker V5 utilizes MkDocs with the Material theme to build this very documentation site. MkDocs is a fast, simple, and downright gorgeous static site generator that's geared towards building project documentation with Markdown.

"},{"location":"apps/mkdocs-material/#key-features-of-mkdocs-material-theme","title":"Key Features of MkDocs & Material Theme","text":"
  • Simple Markdown Syntax: Write documentation in plain Markdown files.
  • Fast and Lightweight: Generates static HTML files that load quickly.
  • Material Design: A clean, modern, and responsive design out-of-the-box.
  • Highly Customizable: Extensive configuration options for themes, navigation, plugins, and more.
  • Search Functionality: Built-in search makes it easy for users to find information.
  • Plugin Ecosystem: Extend MkDocs with various plugins (e.g., for blog functionality, social cards, diagrams).
  • Live Reload Server: mkdocs serve provides a development server that automatically reloads when you save changes.
"},{"location":"apps/mkdocs-material/#documentation","title":"Documentation","text":"

For more detailed information about MkDocs, visit the official documentation.

"},{"location":"apps/mkdocs-material/#editing-this-site-your-changemaker-documentation","title":"Editing This Site (Your Changemaker Documentation)","text":"

All content for this documentation site is managed as Markdown files within the mkdocs/docs/ directory of your Changemaker project.

"},{"location":"apps/mkdocs-material/#how-to-edit-or-add-content","title":"How to Edit or Add Content:","text":"
  1. Access Code Server: As outlined on the homepage and in the Code Server documentation, log into Code Server. Your password is in configs/code-server/.config/code-server/config.yaml.
  2. Navigate to the docs Directory:
    • In Code Server's file explorer, open your Changemaker project folder (e.g., /home/bunker-admin/Changemaker/).
    • Go into the mkdocs/docs/ subdirectory.
  3. Find or Create Your Page:
    • To edit an existing page: Navigate to the relevant .md file (e.g., apps/code-server.md to edit the Code Server page, or index.md for the homepage content if not using home.html override directly).
    • To create a new page: Create a new .md file in the appropriate location (e.g., apps/my-new-app.md).
  4. Write in Markdown: Use standard Markdown syntax. Refer to the guides/authoring-content.md for tips on Markdown and MkDocs Material specific features.
  5. Update Navigation (if adding a new page):
    • Open mkdocs/mkdocs.yml.
    • Add your new page to the nav: section to make it appear in the site navigation. For example:
      nav:\n  - Home: index.md\n  - ...\n  - Applications:\n    - ...\n    - My New App: apps/my-new-app.md # Add your new page here\n  - ...\n
  6. Save Your Changes: Press Ctrl+S (or Cmd+S on Mac) in Code Server.
  7. Preview Changes:
    • The MkDocs development server (if you've run mkdocs serve in a terminal within your mkdocs directory) will automatically rebuild the site and your browser should refresh to show the changes.
    • The typical URL for the local development server is http://localhost:8000 or http://127.0.0.1:8000.
"},{"location":"apps/mkdocs-material/#site-configuration","title":"Site Configuration","text":"

The main configuration for the documentation site is in mkdocs/mkdocs.yml. Here you can change: * site_name, site_description, site_author * Theme features and palette * Markdown extensions * Navigation structure (nav) * Plugins

"},{"location":"apps/mkdocs-material/#further-information","title":"Further Information","text":"
  • MkDocs: Official MkDocs Documentation
  • MkDocs Material Theme: Official Material for MkDocs Documentation
  • Your Site's Authoring Guide: Check out guides/authoring-content.md in your mkdocs/docs/ directory.
"},{"location":"apps/monica-crm/","title":"Monica CRM: Personal Relationship Management","text":"

Monica CRM is a self-hosted, open-source personal relationship management system. It helps you organize and record interactions with your friends, family, and professional contacts, focusing on the human aspects of your relationships rather than just sales metrics like traditional CRMs.

"},{"location":"apps/monica-crm/#key-features","title":"Key Features","text":"
  • Contact Management: Store detailed information about your contacts (important dates, how you met, family members, etc.).
  • Interaction Logging: Record activities, conversations, and reminders related to your contacts.
  • Reminders: Set reminders for birthdays, anniversaries, or to get back in touch.
  • Journaling: Keep a personal journal that can be linked to contacts or events.
  • Data Ownership: Self-hosted, so you control your data.
  • Focus on Personal Connections: Designed to strengthen personal relationships.
"},{"location":"apps/monica-crm/#documentation","title":"Documentation","text":"

For more detailed information about Monica CRM, visit the official documentation.

"},{"location":"apps/monica-crm/#getting-started-with-monica-crm","title":"Getting Started with Monica CRM","text":""},{"location":"apps/monica-crm/#accessing-monica-crm","title":"Accessing Monica CRM","text":"
  1. URL: Access Monica CRM locally via http://localhost:8085/ (or your configured external URL).
  2. Account Creation/Login: The first time you access Monica, you will need to create an account (email, password). Subsequent visits will require you to log in.
"},{"location":"apps/monica-crm/#basic-usage","title":"Basic Usage","text":"
  1. Adding Contacts:

    • Look for an \"Add Contact\" or similar button.
    • Fill in as much information as you know: name, relationship to you, important dates (birthdays), how you met, contact information, etc.
    • You can add notes, family members, and even how they pronounce their name.
  2. Logging Activities/Interactions:

    • On a contact's page, find options to \"Log an activity,\" \"Schedule a reminder,\" or \"Add a note.\"
    • Record details about conversations, meetings, or significant events.
    • Set reminders to follow up or for important dates.
  3. Using the Dashboard: The dashboard usually provides an overview of upcoming reminders, recent activities, and statistics about your relationships.

  4. Journaling: Explore the journaling feature to write personal entries, which can sometimes be linked to specific contacts or events.

  5. Managing Relationships: Regularly update contact information and log interactions to keep your relationship history current.

"},{"location":"apps/monica-crm/#use-cases-within-changemaker","title":"Use Cases within Changemaker","text":"
  • Community Organizers: Keep track of interactions with supporters, volunteers, and community members.
  • Networking: Manage professional contacts and remember important details about them.
  • Personal Use: Strengthen relationships with friends and family by remembering important dates and conversations.
  • Campaign Management: Track interactions with key stakeholders or donors (though for larger scale campaign CRM, a dedicated tool might be more suitable, Monica excels at the personal touch).
"},{"location":"apps/monica-crm/#editing-the-site","title":"Editing the Site","text":"

Monica CRM is a tool for managing personal relationships. It is not used for editing this documentation site. Site editing is done via Code Server.

"},{"location":"apps/monica-crm/#further-information","title":"Further Information","text":"
  • Monica CRM Official Website & Documentation: https://www.monicahq.com/ and https://www.monicahq.com/docs
"},{"location":"apps/n8n/","title":"n8n: Automate Your Workflows","text":"

n8n is a powerful workflow automation platform that allows you to connect different services and systems together without needing complex programming skills. Within Changemaker V5, it enables you to create automated processes that save time and ensure consistency across your operations.

"},{"location":"apps/n8n/#key-features","title":"Key Features","text":"
  • Visual Workflow Builder: Create automation flows using an intuitive drag-and-drop interface.
  • Pre-built Integrations: Connect to hundreds of services including email, social media, databases, and more.
  • Custom Functionality: Create your own nodes for custom integrations when needed.
  • Scheduling: Run workflows on schedules or trigger them based on events.
  • Error Handling: Configure what happens when steps fail, with options to retry or alert.
  • Self-hosted: Keep your automation data and credentials completely under your control.
  • Credential Management: Securely store and reuse authentication details for various services.
"},{"location":"apps/n8n/#documentation","title":"Documentation","text":"

For more detailed information about n8n, visit the official documentation.

"},{"location":"apps/n8n/#getting-started-with-n8n","title":"Getting Started with n8n","text":""},{"location":"apps/n8n/#accessing-n8n","title":"Accessing n8n","text":"
  1. URL: You can access n8n locally via http://localhost:5678/ (or your configured external URL if set up).
  2. Authentication: The first time you access n8n, you'll need to set up an account with admin credentials.
"},{"location":"apps/n8n/#basic-usage","title":"Basic Usage","text":"
  1. Creating Your First Workflow:
  2. Click the \"+\" button in the top right to create a new workflow.
  3. Add a trigger node (e.g., \"Schedule\" for time-based triggers or \"Webhook\" for event-based triggers).
  4. Connect additional nodes for the actions you want to perform.
  5. Save your workflow and activate it using the toggle at the top of the editor.

  6. Example Workflow: Automatic Welcome Emails

  7. Start with a \"Webhook\" node that triggers when a new contact is added to your system.
  8. Connect to an \"Email\" node configured to send your welcome message.
  9. Optionally, add a \"Slack\" or \"Rocket.Chat\" node to notify your team about the new contact.

  10. Common Use Cases:

  11. Content Publishing: Automatically post blog updates to social media channels.
  12. Data Synchronization: Keep contacts in sync between different systems.
  13. Event Management: Send reminders before events and follow-ups afterward.
  14. Monitoring: Get notifications when important metrics change or thresholds are reached.
  15. Form Processing: Automatically handle form submissions with confirmation emails and data storage.
"},{"location":"apps/n8n/#integration-with-other-changemaker-services","title":"Integration with Other Changemaker Services","text":"

n8n works particularly well with other services in your Changemaker environment:

  • NocoDB: Connect to your databases to automate record creation, updates, or data processing.
  • Listmonk: Trigger email campaigns based on events or schedules.
  • Gitea: Automate responses to code changes or issue creation.
  • Monica CRM: Update contact records automatically when interactions occur.
  • Rocket.Chat: Send automated notifications to team channels.
"},{"location":"apps/n8n/#advanced-features","title":"Advanced Features","text":"
  • Error Handling: Configure error workflows and retries for increased reliability.
  • Splitting and Merging: Process multiple items in parallel and then combine results.
  • Expressions: Use JavaScript expressions for dynamic data manipulation.
  • Webhooks: Create endpoints that can receive data from external services.
  • Function Nodes: Write custom JavaScript code for complex data transformations.
  • Cron Jobs: Schedule workflows to run at specific intervals.
"},{"location":"apps/n8n/#further-information","title":"Further Information","text":"

For more detailed information on creating complex workflows, available integrations, and best practices, please refer to the official n8n Documentation.

"},{"location":"apps/nocodb/","title":"NocoDB: Open Source Airtable Alternative","text":"

NocoDB is a powerful open-source alternative to services like Airtable. It allows you to turn various types of SQL databases (like MySQL, PostgreSQL, SQL Server, SQLite) into a smart spreadsheet interface. This makes data management, collaboration, and even building simple applications much more accessible without extensive coding.

"},{"location":"apps/nocodb/#key-features","title":"Key Features","text":"
  • Spreadsheet Interface: View and manage your database tables like a spreadsheet.
  • Multiple View Types: Beyond grids, create Kanban boards, forms, galleries, and calendar views from your data.
  • Connect to Existing Databases: Bring your existing SQL databases into NocoDB or create new ones from scratch.
  • API Access: NocoDB automatically generates REST APIs for your tables, enabling integration with other applications and services.
  • Collaboration: Share bases and tables with team members with granular permission controls.
  • App Store / Integrations: Extend functionality with built-in or third-party apps and integrations.
  • Self-Hosted: Maintain full control over your data and infrastructure.
  • No-Code/Low-Code: Build simple applications and workflows with minimal to no coding.
"},{"location":"apps/nocodb/#documentation","title":"Documentation","text":"

For more detailed information about NocoDB, visit the official documentation.

"},{"location":"apps/nocodb/#getting-started-with-nocodb","title":"Getting Started with NocoDB","text":""},{"location":"apps/nocodb/#accessing-nocodb","title":"Accessing NocoDB","text":"
  1. URL: Access NocoDB locally via http://localhost:8090/ (or your configured external URL).
  2. Initial Setup / Login:
    • The first time you access NocoDB, you might be guided through a setup process to create an initial super admin user.
    • For subsequent access, you'll log in with these credentials.
"},{"location":"apps/nocodb/#basic-workflow","title":"Basic Workflow","text":"
  1. Understanding the Interface:

    • Workspace/Projects (or Bases): NocoDB organizes data into projects or bases, similar to Airtable bases. Each project can contain multiple tables.
    • Tables: These are your database tables, displayed in a spreadsheet-like grid by default.
    • Views: For each table, you can create multiple views (Grid, Form, Kanban, Gallery, Calendar) to visualize and interact with the data in different ways.
  2. Creating a New Project/Base:

    • Look for an option like \"New Project\" or \"Create Base\".
    • You might be asked to connect to an existing database or create a new one (often SQLite by default for ease of use if not connecting to an external DB).
  3. Creating a Table:

    • Within a project, create new tables.
    • Define columns (fields) for your table, specifying the data type for each (e.g., Text, Number, Date, Email, Select, Attachment, Formula, Link to Another Record).
  4. Adding and Editing Data:

    • Click into cells in the grid view to add or edit data, just like a spreadsheet.
    • Use forms (if you create a form view) for more structured data entry.
  5. Creating Different Views:

    • For any table, click on the view switcher (often near the table name) and select \"Create View\".
    • Choose the view type (e.g., Kanban).
    • Configure the view (e.g., for Kanban, select the single-select field that will define the columns/stacks).
  6. Linking Tables (Relational Data):

    • Use the \"Link to Another Record\" field type to create relationships between tables (e.g., link a Tasks table to a Projects table).
    • This allows you to look up and display related data across tables.
  7. Using Formulas:

    • Create formula fields to compute values based on other fields in the same table, similar to spreadsheet formulas.
  8. Exploring APIs:

    • NocoDB automatically provides REST API endpoints for your tables. Look for an \"API Docs\" or similar section to explore these APIs, which can be used to integrate NocoDB data with other applications (e.g., your website, automation scripts).
"},{"location":"apps/nocodb/#use-cases-within-changemaker","title":"Use Cases within Changemaker","text":"
  • Content Management: Manage structured content for your website or blog (e.g., a list of events, resources, testimonials).
  • Contact Management/CRM: Keep track of contacts, leads, or supporters.
  • Project Management: Track tasks, projects, and deadlines.
  • Inventory Management: If applicable to your campaign or project.
  • Data Collection: Use NocoDB forms to collect information.
"},{"location":"apps/nocodb/#further-information","title":"Further Information","text":"

NocoDB is a feature-rich platform. For detailed guides, tutorials, API documentation, and advanced usage, refer to the official NocoDB Documentation.

"},{"location":"apps/ollama/","title":"Ollama: Local AI Model Server","text":"

Ollama is a tool that allows you to run large language models (LLMs) locally on your own server or computer. It simplifies the process of downloading, setting up, and interacting with powerful open-source AI models, providing AI capabilities without relying on third-party cloud services and ensuring data privacy.

"},{"location":"apps/ollama/#key-features","title":"Key Features","text":"
  • Run LLMs Locally: Host and run various open-source large language models (like Llama, Gemma, Mistral, etc.) on your own hardware.
  • Simple CLI: Easy-to-use command-line interface for downloading models (ollama pull), running them (ollama run), and managing them (ollama list).
  • API Server: Ollama serves models through a local API, allowing other applications (like OpenWebUI) to interact with them.
  • Data Privacy: Since models run locally, your data doesn't leave your server when you interact with them.
  • Growing Model Library: Access a growing library of popular open-source models.
  • Customization: Create custom model files (Modelfiles) to tailor model behavior.
"},{"location":"apps/ollama/#documentation","title":"Documentation","text":"

For more detailed information about Ollama, visit the official repository.

"},{"location":"apps/ollama/#getting-started-with-ollama-within-changemaker","title":"Getting Started with Ollama (within Changemaker)","text":"

Ollama itself is primarily a command-line tool and an API server. You typically interact with it via a terminal or through a UI like OpenWebUI.

"},{"location":"apps/ollama/#managing-ollama-via-terminal-eg-in-code-server","title":"Managing Ollama via Terminal (e.g., in Code Server)","text":"
  1. Access a Terminal:

    • Open the integrated terminal in Code Server.
    • Alternatively, SSH directly into your Changemaker server.
  2. Common Ollama Commands:

    • List Downloaded Models: See which models you currently have.

      docker exec -it ollama-changemaker ollama list\n
      (The docker exec -it ollama-changemaker part is necessary if Ollama is running in a Docker container named ollama-changemaker, which is common. If Ollama is installed directly on the host, you'd just run ollama list.)

    • Pull (Download) a New Model: Download a model from the Ollama library. Replace gemma:2b with the desired model name and tag.

      docker exec -it ollama-changemaker ollama pull gemma:2b \n
      (Example: ollama pull llama3, ollama pull mistral)

    • Run a Model (Interactive Chat in Terminal): Chat directly with a model in the terminal.

      docker exec -it ollama-changemaker ollama run gemma:2b\n
      (Press Ctrl+D or type /bye to exit the chat.)

    • Remove a Model: Delete a downloaded model to free up space.

      docker exec -it ollama-changemaker ollama rm gemma:2b\n

"},{"location":"apps/ollama/#interacting-with-ollama-via-openwebui","title":"Interacting with Ollama via OpenWebUI","text":"

For a more user-friendly chat experience, use OpenWebUI, which connects to your Ollama service. See the apps/openwebui.md documentation for details.

"},{"location":"apps/ollama/#use-cases-within-changemaker","title":"Use Cases within Changemaker","text":"
  • Powering OpenWebUI: Ollama is the backend engine that OpenWebUI uses to provide its chat interface.
  • AI-Assisted Content Creation: Generate text, summaries, ideas, or code snippets with privacy.
  • Custom AI Applications: Developers can build custom applications that leverage the Ollama API for various AI tasks.
  • Offline AI Capabilities: Use AI models even without an active internet connection (once models are downloaded).
"},{"location":"apps/ollama/#editing-the-site","title":"Editing the Site","text":"

Ollama is an AI model server. It is not used for editing this documentation site. Site editing is done via Code Server.

"},{"location":"apps/ollama/#further-information","title":"Further Information","text":"
  • Ollama Official Website: https://ollama.ai/
  • Ollama Documentation: https://ollama.ai/docs
  • Ollama GitHub: https://github.com/ollama/ollama
  • The existing ollama.md at the root of the docs folder in your project might also contain specific setup notes for your Changemaker instance.
"},{"location":"apps/openwebui/","title":"OpenWebUI: Chat Interface for Ollama","text":"

OpenWebUI provides a user-friendly, web-based chat interface for interacting with local AI models run by Ollama. It makes leveraging the power of large language models (LLMs) accessible to users who may not be comfortable with command-line interfaces, offering a familiar chat experience.

"},{"location":"apps/openwebui/#key-features","title":"Key Features","text":"
  • Chat Interface: Intuitive, ChatGPT-like interface for interacting with Ollama models.
  • Model Selection: Easily switch between different AI models you have downloaded via Ollama.
  • Conversation History: Keeps track of your chats.
  • Responsive Design: Usable on various devices.
  • Self-Hosted: Runs locally as part of your Changemaker suite, ensuring data privacy.
  • Markdown Support: Renders model responses that include Markdown for better formatting.
"},{"location":"apps/openwebui/#documentation","title":"Documentation","text":"

For more detailed information about OpenWebUI, visit the official documentation.

"},{"location":"apps/openwebui/#getting-started-with-openwebui","title":"Getting Started with OpenWebUI","text":""},{"location":"apps/openwebui/#prerequisites","title":"Prerequisites","text":"
  • Ollama Must Be Running: OpenWebUI is an interface for Ollama. Ensure your Ollama service is running and you have downloaded some models (e.g., ollama pull llama3).
"},{"location":"apps/openwebui/#accessing-openwebui","title":"Accessing OpenWebUI","text":"
  1. URL: Access OpenWebUI locally via http://localhost:3005/ (or your configured external URL).
  2. Account Creation (First Time): The first time you access OpenWebUI, you'll likely need to sign up or create an admin account for the interface itself.
"},{"location":"apps/openwebui/#basic-usage","title":"Basic Usage","text":"
  1. Log In: Sign in with your OpenWebUI credentials.
  2. Select a Model:
    • There should be an option (often a dropdown menu) to select which Ollama model you want to chat with. This list will populate based on the models you have pulled using the Ollama service.
    • If you don't see any models, you may need to go to a terminal (e.g., in Code Server or directly on your server) and run ollama list to see available models or ollama pull <modelname> (e.g., ollama pull gemma:2b) to download a new one.
  3. Start Chatting:
    • Type your prompt or question into the message box at the bottom of the screen and press Enter or click the send button.
    • The selected Ollama model will process your input and generate a response, which will appear in the chat window.
  4. Manage Conversations: You can typically start new chats or revisit previous conversations from a sidebar.
"},{"location":"apps/openwebui/#use-cases-within-changemaker","title":"Use Cases within Changemaker","text":"
  • Content Generation: Draft blog posts, newsletter content, social media updates, or documentation.
  • Brainstorming: Generate ideas for campaigns, projects, or problem-solving.
  • Research Assistance: Ask questions and get summaries on various topics (ensure you verify information from LLMs).
  • Drafting Responses: Help formulate replies to emails or messages.
  • Learning & Exploration: Experiment with different AI models and their capabilities.
"},{"location":"apps/openwebui/#editing-the-site","title":"Editing the Site","text":"

OpenWebUI is a tool for interacting with AI models. It is not used for editing this documentation site. Site editing is done via Code Server.

"},{"location":"apps/openwebui/#further-information","title":"Further Information","text":"
  • OpenWebUI Official Documentation/GitHub: https://docs.openwebui.com/ or their GitHub repository (often linked from the UI itself).
  • Ollama Documentation: https://ollama.ai/docs (for information on managing Ollama and downloading models).
"},{"location":"apps/portainer/","title":"Portainer: Docker Container Management UI","text":"

Portainer is a lightweight management UI that allows you to easily manage your Docker environments (or other container orchestrators like Kubernetes). Changemaker V5 runs its applications as Docker containers, and Portainer provides a visual interface to see, manage, and troubleshoot these containers.

"},{"location":"apps/portainer/#key-features","title":"Key Features","text":"
  • Container Management: View, start, stop, restart, remove, and inspect Docker containers.
  • Image Management: Pull, remove, and inspect Docker images.
  • Volume Management: Manage Docker volumes used for persistent storage.
  • Network Management: Manage Docker networks.
  • Stacks/Compose: Deploy and manage multi-container applications defined in Docker Compose files (stacks).
  • Logs & Stats: View container logs and resource usage statistics (CPU, memory).
  • User-Friendly Interface: Simplifies Docker management for users who may not be comfortable with the command line.
  • Multi-Environment Support: Can manage multiple Docker hosts or Kubernetes clusters (though in Changemaker, it's typically managing the local Docker environment).
"},{"location":"apps/portainer/#documentation","title":"Documentation","text":"

For more detailed information about Portainer, visit the official documentation.

"},{"location":"apps/portainer/#getting-started-with-portainer","title":"Getting Started with Portainer","text":""},{"location":"apps/portainer/#accessing-portainer","title":"Accessing Portainer","text":"
  1. URL: Access Portainer locally via http://localhost:9002/ (or your configured external URL).
  2. Initial Setup/Login:
    • The first time you access Portainer, you will need to set up an administrator account (username and password).
    • You will then connect Portainer to the Docker environment it should manage. For Changemaker, this is usually the local Docker socket.
"},{"location":"apps/portainer/#basic-usage","title":"Basic Usage","text":"
  1. Dashboard: The main dashboard provides an overview of your Docker environment (number of containers, volumes, images, etc.).

  2. Containers List:

    • Navigate to \"Containers\" from the sidebar.
    • You'll see a list of all running and stopped containers (e.g., code-server, flatnotes, listmonk, etc., that make up Changemaker).
    • Actions: For each container, you can perform actions like:
      • Logs: View real-time logs.
      • Inspect: See detailed configuration and state.
      • Stats: View resource usage.
      • Console: Connect to the container's terminal (if supported by the container).
      • Stop/Start/Restart/Remove.
  3. Images List:

    • Navigate to \"Images\" to see all Docker images pulled to your server.
    • You can pull new images from Docker Hub or other registries, or remove unused images.
  4. Volumes List:

    • Navigate to \"Volumes\" to see Docker volumes, which are used by Changemaker apps to store persistent data (e.g., your notes in Flatnotes, your Listmonk database).
  5. Stacks (Docker Compose):

    • Navigate to \"Stacks.\"
    • Changemaker itself is likely deployed as a stack using its docker-compose.yml file. You might see it listed here.
    • You can add new stacks (deploy other Docker Compose applications) or manage existing ones.
"},{"location":"apps/portainer/#use-cases-within-changemaker","title":"Use Cases within Changemaker","text":"
  • Monitoring Application Status: Quickly see if all Changemaker application containers are running.
  • Viewing Logs: Troubleshoot issues by checking the logs of specific application containers.
  • Restarting Applications: If an application becomes unresponsive, you can try restarting its container via Portainer.
  • Resource Management: Check CPU and memory usage of containers if you suspect performance issues.
  • Advanced Management: For users comfortable with Docker, Portainer provides an easier interface for tasks that would otherwise require command-line operations.
"},{"location":"apps/portainer/#editing-the-site","title":"Editing the Site","text":"

Portainer is for managing the Docker containers that run the applications. It is not used for editing this documentation site. Site editing is done via Code Server.

"},{"location":"apps/portainer/#further-information","title":"Further Information","text":"
  • Portainer Official Website: https://www.portainer.io/
  • Portainer Documentation: https://docs.portainer.io/
"},{"location":"apps/rocketchat/","title":"Rocket.Chat: Team & Community Collaboration Platform","text":"

Rocket.Chat is a powerful, open-source team collaboration platform. It offers a wide range of communication tools, including real-time chat, channels, direct messaging, video conferencing, and file sharing. It's designed for teams and communities to communicate and collaborate effectively in a self-hosted environment.

"},{"location":"apps/rocketchat/#key-features","title":"Key Features","text":"
  • Real-time Chat: Public channels, private groups, and direct messages.
  • File Sharing: Share documents, images, and other files.
  • Voice and Video Conferencing: Integrated audio and video calls.
  • Guest Access: Allow external users to participate in specific channels.
  • Integrations: Connect with other tools and services through bots and APIs.
  • Customization: Themes, permissions, and extensive administrative controls.
  • Self-Hosted: Full data sovereignty and control over user privacy.
  • Mobile and Desktop Apps: Access Rocket.Chat from various devices.
"},{"location":"apps/rocketchat/#documentation","title":"Documentation","text":"

For more detailed information about Rocket.Chat, visit the official documentation.

"},{"location":"apps/rocketchat/#getting-started-with-rocketchat","title":"Getting Started with Rocket.Chat","text":""},{"location":"apps/rocketchat/#accessing-rocketchat","title":"Accessing Rocket.Chat","text":"
  1. URL: Access Rocket.Chat locally via http://localhost:3004/ (or your configured external URL).
  2. Account Registration/Login:
    • The first time you access it, you or an administrator will need to set up an admin account and configure the server.
    • Users will then need to register for an account or be invited by an admin.
"},{"location":"apps/rocketchat/#basic-usage","title":"Basic Usage","text":"
  1. Interface Overview:

    • Channels/Rooms: The main area for discussions. Channels can be public or private.
    • Direct Messages: For one-on-one conversations.
    • User List: See who is online and available.
    • Search: Find messages, users, or channels.
  2. Joining Channels:

    • Browse the directory of public channels or be invited to private ones.
  3. Sending Messages:

    • Type your message in the input box at the bottom of a channel or direct message.
    • Use Markdown for formatting, emojis, and @mentions to notify users.
  4. Starting a Video/Audio Call: Look for the call icons within a channel or direct message to start a voice or video call.

  5. Managing Your Profile: Update your profile picture, status, and notification preferences.

  6. Administration (For Admins):

    • Access the administration panel to manage users, permissions, channels, integrations, and server settings.
"},{"location":"apps/rocketchat/#use-cases-within-changemaker","title":"Use Cases within Changemaker","text":"
  • Internal Team Communication: A central place for your campaign team or organization members to chat, share files, and coordinate efforts.
  • Community Building: Create a private or public chat community for your supporters or users.
  • Project Collaboration: Dedicate channels to specific projects or tasks.
  • Support Channel: Offer a real-time support channel for your users or community members.
  • Alternative to Slack/Discord: A self-hosted option providing similar functionality with more control.
"},{"location":"apps/rocketchat/#editing-the-site","title":"Editing the Site","text":"

Rocket.Chat is a communication platform. It is not used for editing this documentation site. Site editing is done via Code Server.

"},{"location":"apps/rocketchat/#further-information","title":"Further Information","text":"
  • Rocket.Chat Official Website: https://www.rocket.chat/
  • Rocket.Chat Documentation: https://docs.rocket.chat/
"},{"location":"blog/","title":"Blog","text":""},{"location":"blog/2025/03/06/testing/","title":"Testing","text":""},{"location":"blog/2025/03/06/testing/#hello-world-mk","title":"hello world mk","text":""},{"location":"guides/","title":"Guides","text":"

The following guides to properly configure your site.

"},{"location":"guides/authoring-content/","title":"Authoring Content with Markdown and MkDocs Material","text":"

This guide provides a brief overview of writing content using Markdown and leveraging the styling capabilities of the MkDocs Material theme for your Changemaker documentation site.

"},{"location":"guides/authoring-content/#markdown-basics","title":"Markdown Basics","text":"

Markdown is a lightweight markup language with plain-text formatting syntax. It's designed to be easy to read and write.

"},{"location":"guides/authoring-content/#headings","title":"Headings","text":"
# Heading 1\n## Heading 2\n### Heading 3\n
"},{"location":"guides/authoring-content/#emphasis","title":"Emphasis","text":"
*Italic text* or _Italic text_\n**Bold text** or __Bold text__\n~~Strikethrough text~~\n
"},{"location":"guides/authoring-content/#lists","title":"Lists","text":"

Ordered List:

1. First item\n2. Second item\n3. Third item\n

Unordered List:

- Item A\n- Item B\n  - Sub-item B1\n  - Sub-item B2\n* Item C\n

"},{"location":"guides/authoring-content/#links","title":"Links","text":"
[Link Text](https://www.example.com)\n[Link with Title](https://www.example.com \"An example link\")\n[Relative Link to another page](../apps/code-server.md)\n
"},{"location":"guides/authoring-content/#images","title":"Images","text":"

![Alt text for image](/assets/images/changemaker.png \"Optional Image Title\")\n
Place your images in the mkdocs/docs/assets/images/ directory (or create it if it doesn't exist) and reference them accordingly.

"},{"location":"guides/authoring-content/#code-blocks","title":"Code Blocks","text":"

Inline Code: Use backticks: this is inline code.

Fenced Code Blocks (Recommended for multi-line code): Specify the language for syntax highlighting.

```python\ndef hello_world():\n  print(\"Hello, world!\")\n```\n\n```html\n<h1>Hello</h1>\n```\n
"},{"location":"guides/authoring-content/#blockquotes","title":"Blockquotes","text":"
> This is a blockquote.\n> It can span multiple lines.\n
"},{"location":"guides/authoring-content/#horizontal-rule","title":"Horizontal Rule","text":"
---\n***\n
"},{"location":"guides/authoring-content/#tables","title":"Tables","text":"
| Header 1 | Header 2 | Header 3 |\n| :------- | :------: | -------: |\n| Align L  | Center   | Align R  |\n| Cell 1   | Cell 2   | Cell 3   |\n
"},{"location":"guides/authoring-content/#mkdocs-material-theme-features","title":"MkDocs Material Theme Features","text":"

MkDocs Material provides many enhancements and custom syntax options on top of standard Markdown.

"},{"location":"guides/authoring-content/#admonitions-call-outs","title":"Admonitions (Call-outs)","text":"

These are great for highlighting information.

!!! note\n    This is a note.\n\n!!! tip \"Optional Title\"\n    Here's a helpful tip!\n\n!!! warning\n    Be careful with this action.\n\n!!! danger \"Critical Alert\"\n    This is a critical warning.\n\n!!! abstract \"Summary\"\n    This is an abstract or summary.\n

Supported types include: note, abstract, info, tip, success, question, warning, failure, danger, bug, example, quote.

"},{"location":"guides/authoring-content/#code-blocks-with-titles-and-line-numbers","title":"Code Blocks with Titles and Line Numbers","text":"

Your mkdocs.yml is configured for pymdownx.highlight which supports this.

```python title=\"my_script.py\" linenums=\"1\"\nprint(\"Hello from Python\")\n```\n
"},{"location":"guides/authoring-content/#emojis","title":"Emojis","text":"

Your mkdocs.yml has pymdownx.emoji enabled.

:smile: :rocket: :warning:\n
See the MkDocs Material Emoji List for available emojis.

"},{"location":"guides/authoring-content/#footnotes","title":"Footnotes","text":"

Your mkdocs.yml has footnotes enabled.

This is some text with a footnote.[^1]\n\n[^1]: This is the footnote definition.\n
"},{"location":"guides/authoring-content/#content-tabs","title":"Content Tabs","text":"

Group related content under tabs.

=== \"Tab 1 Title\"\n    Content for tab 1 (can be Markdown)\n\n=== \"Tab 2 Title\"\n    Content for tab 2\n\n    ```python\n    # Code blocks work here too\n    print(\"Hello from Tab 2\")\n    ```\n
"},{"location":"guides/authoring-content/#task-lists","title":"Task Lists","text":"
- [x] Completed task\n- [ ] Incomplete task\n- [ ] Another task\n
"},{"location":"guides/authoring-content/#styling-with-attributes-attr_list","title":"Styling with Attributes (attr_list)","text":"

You can add CSS classes or IDs to elements.

This is a paragraph with a custom class.\n{: .my-custom-class }\n\n## A Heading with an ID {#custom-heading-id}\n
This is useful for applying custom CSS from your extra.css file.

"},{"location":"guides/authoring-content/#buttons","title":"Buttons","text":"

MkDocs Material has a nice way to create buttons from links:

[This is a button link](https://example.com){ .md-button }\n[Primary button](https://example.com){ .md-button .md-button--primary }\n[Another button](another-page.md){ .md-button }\n
"},{"location":"guides/authoring-content/#editing-workflow","title":"Editing Workflow","text":"
  1. Use Code Server: Access Code Server from your Changemaker dashboard.
  2. Navigate: Open the mkdocs/docs/ directory.
  3. Create or Edit: Create new .md files or edit existing ones.
  4. Save: Save your changes (Ctrl+S or Cmd+S).
  5. Preview:
    • If you have mkdocs serve running (either locally on your machine if developing there, or in a terminal within Code Server pointing to the mkdocs directory), your documentation site (usually at http://localhost:8000 or http://127.0.0.1:8000) will auto-reload.
    • Alternatively, you can use VS Code extensions like \"Markdown Preview Enhanced\" within Code Server for a live preview pane.
"},{"location":"guides/authoring-content/#further-reading","title":"Further Reading","text":"
  • MkDocs Material Reference: The official documentation for all features.
  • Markdown Guide: For general Markdown syntax.

This guide should give you a solid start. Explore the MkDocs Material documentation for even more advanced features like diagrams, math formulas, and more complex page layouts.

"},{"location":"guides/ollama-vscode/","title":"Using Ollama Models in VS Code (Code-Server)","text":"

You can integrate Ollama models with your VS Code environment (code-server) in several ways:

"},{"location":"guides/ollama-vscode/#option-1-install-a-vs-code-extension","title":"Option 1: Install a VS Code Extension","text":"

The easiest approach is to install a VS Code extension that connects to Ollama:

  1. In code-server (your VS Code interface), open the Extensions panel
  2. Search for \"Continue\" or \"Ollama\" and install an extension like \"Continue\" or \"Ollama Chat\"
  3. Configure the extension to connect to Ollama using the internal Docker network URL:
    http://ollama-changemaker:11434\n
"},{"location":"guides/ollama-vscode/#option-2-use-the-api-directly-from-the-vs-code-terminal","title":"Option 2: Use the API Directly from the VS Code Terminal","text":"

Since the Docker CLI isn't available inside the code-server container, we can interact with the Ollama API directly using curl:

# List available models\ncurl http://ollama-changemaker:11434/api/tags\n\n# Generate text with a model\ncurl -X POST http://ollama-changemaker:11434/api/generate -d '{\n  \"model\": \"llama3\",\n  \"prompt\": \"Write a function to calculate Fibonacci numbers\"\n}'\n\n# Pull a new model\ncurl -X POST http://ollama-changemaker:11434/api/pull -d '{\n  \"name\": \"mistral:7b\"\n}'\n
"},{"location":"guides/ollama-vscode/#option-3-write-code-that-uses-the-ollama-api","title":"Option 3: Write Code That Uses the Ollama API","text":"

You can write scripts that connect to Ollama's API. For example, in Python:

import requests\n\ndef ask_ollama(prompt, model=\"llama3\"):\n    response = requests.post(\n        \"http://ollama-changemaker:11434/api/generate\",\n        json={\"model\": model, \"prompt\": prompt}\n    )\n    return response.json()[\"response\"]\n\n# Example usage\nresult = ask_ollama(\"What is the capital of France?\")\nprint(result)\n\n# List available models\ndef list_models():\n    response = requests.get(\"http://ollama-changemaker:11434/api/tags\")\n    models = response.json()[\"models\"]\n    return [model[\"name\"] for model in models]\n\n# Pull a new model\ndef pull_model(model_name):\n    response = requests.post(\n        \"http://ollama-changemaker:11434/api/pull\",\n        json={\"name\": model_name}\n    )\n    # This will take time for large models\n    return response.status_code\n
"},{"location":"guides/ollama-vscode/#from-your-host-machines-terminal-not-vs-code","title":"From Your Host Machine's Terminal (Not VS Code)","text":"

If you want to use Docker commands, you'll need to run them from your host machine's terminal, not from inside VS Code:

# List available models\ndocker exec -it ollama-changemaker ollama list\n\n# Pull models\ndocker exec -it ollama-changemaker ollama pull llama3\ndocker exec -it ollama-changemaker ollama pull mistral:7b\ndocker exec -it ollama-changemaker ollama pull codellama\n

The key is using the Docker network hostname ollama-changemaker with port 11434 as your connection point, which should be accessible from your code-server container since they're on the same network.

"},{"location":"blog/archive/2025/","title":"2025","text":""}]} \ No newline at end of file diff --git a/mkdocs/site/sitemap.xml b/mkdocs/site/sitemap.xml new file mode 100644 index 0000000..acb8b61 --- /dev/null +++ b/mkdocs/site/sitemap.xml @@ -0,0 +1,107 @@ + + + + http://betteredmonton.org/ + 2025-05-13 + + + http://betteredmonton.org/quick-commands/ + 2025-05-13 + + + http://betteredmonton.org/readme/ + 2025-05-13 + + + http://betteredmonton.org/apps/ + 2025-05-13 + + + http://betteredmonton.org/apps/answer/ + 2025-05-13 + + + http://betteredmonton.org/apps/code-server/ + 2025-05-13 + + + http://betteredmonton.org/apps/excalidraw/ + 2025-05-13 + + + http://betteredmonton.org/apps/ferdium/ + 2025-05-13 + + + http://betteredmonton.org/apps/flatnotes/ + 2025-05-13 + + + http://betteredmonton.org/apps/gitea/ + 2025-05-13 + + + http://betteredmonton.org/apps/homepage/ + 2025-05-13 + + + http://betteredmonton.org/apps/listmonk/ + 2025-05-13 + + + http://betteredmonton.org/apps/mkdocs-material/ + 2025-05-13 + + + http://betteredmonton.org/apps/monica-crm/ + 2025-05-13 + + + http://betteredmonton.org/apps/n8n/ + 2025-05-13 + + + http://betteredmonton.org/apps/nocodb/ + 2025-05-13 + + + http://betteredmonton.org/apps/ollama/ + 2025-05-13 + + + http://betteredmonton.org/apps/openwebui/ + 2025-05-13 + + + http://betteredmonton.org/apps/portainer/ + 2025-05-13 + + + http://betteredmonton.org/apps/rocketchat/ + 2025-05-13 + + + http://betteredmonton.org/blog/ + 2025-05-13 + + + http://betteredmonton.org/blog/2025/03/06/testing/ + 2025-05-13 + + + http://betteredmonton.org/guides/ + 2025-05-13 + + + http://betteredmonton.org/guides/authoring-content/ + 2025-05-13 + + + http://betteredmonton.org/guides/ollama-vscode/ + 2025-05-13 + + + http://betteredmonton.org/blog/archive/2025/ + 2025-05-13 + + \ No newline at end of file diff --git a/mkdocs/site/sitemap.xml.gz b/mkdocs/site/sitemap.xml.gz new file mode 100644 index 0000000..0d40e9c Binary files /dev/null and b/mkdocs/site/sitemap.xml.gz differ diff --git a/mkdocs/site/stylesheets/extra.css b/mkdocs/site/stylesheets/extra.css new file mode 100644 index 0000000..973ed0a --- /dev/null +++ b/mkdocs/site/stylesheets/extra.css @@ -0,0 +1,315 @@ +.login-button { + display: inline-block; + padding: 2px 10px; + margin-left: auto; /* Push the button to the right */ + margin-right: 10px; + background-color: #1565c0; /* Use a solid, high-contrast color */ + color: #fff; /* Ensure text is white */ + text-decoration: none; + border-radius: 4px; + font-weight: bold; + transition: background-color 0.2s ease; + font-size: 0.9em; + vertical-align: middle; +} + +.login-button:hover { + background-color: #003c8f; /* Darker shade for hover */ + text-decoration: none; +} + +.git-code-button { + display: inline-block; + background: #30363d; + color: white !important; + padding: 0.6rem 1.2rem; + border-radius: 20px; + text-decoration: none; + font-size: 0.95rem; + font-weight: bold; + margin-left: 1rem; + transition: all 0.3s ease; + box-shadow: 0 2px 5px rgba(0,0,0,0.2); +} + +.git-code-button:hover { + background: #444d56; + transform: translateY(-2px); + box-shadow: 0 4px 8px rgba(0,0,0,0.3); + text-decoration: none; +} + +.git-code-button .material-icons { + font-size: 1rem; + vertical-align: middle; + margin-right: 4px; +} + +/* Styles for the new home page design */ +:root { + --bnk-dark-bg: #1e2127; /* Existing */ + --bnk-yellow: #ffd700; /* Existing */ + --bnk-text: rgba(255, 255, 255, 0.95); /* Existing */ + --bnk-accent: #9f70ff; /* Existing */ + --bnk-yellow-transparent: rgba(255, 215, 0, 0.2); +} + +.hero-section { + text-align: center; + padding: 3rem 1rem; + margin-bottom: 2rem; +} + +.hero-section h1 { + color: var(--bnk-yellow); + font-size: 2.8rem; + margin-bottom: 0.75rem; + font-weight: 700; +} + +.hero-section .subtitle { + font-size: 1.4rem; + color: var(--bnk-text); + margin-bottom: 2.5rem; + max-width: 700px; + margin-left: auto; + margin-right: auto; + line-height: 1.5; +} + +.hero-section .cta-button { + display: inline-block; + background: var(--bnk-accent); + color: white !important; + padding: 0.8rem 1.8rem; + border-radius: 5px; + text-decoration: none; + font-size: 1.1rem; + font-weight: bold; + transition: background 0.3s ease, transform 0.2s ease; +} + +.hero-section .cta-button:hover { + background: #8656e5; + transform: translateY(-2px); + text-decoration: none; +} + +.quick-start-section { + background: rgba(40, 44, 52, 0.5); /* Similar to info-section */ + border: 1px solid rgba(var(--md-code-fg-color--rgb), 0.12); /* Consistent border */ + border-radius: 8px; /* Rounded corners */ + padding: 2rem; + margin: 2.5rem auto; + max-width: 850px; /* Consistent max-width */ + text-align: left; /* Align text to the left */ +} + +.quick-start-section h2 { + color: var(--bnk-yellow); /* Consistent heading color */ + margin-top: 0; + margin-bottom: 1.5rem; + font-size: 1.8rem; /* Consistent heading size */ + border-bottom: 2px solid var(--bnk-accent); /* Accent border */ + padding-bottom: 0.5rem; +} + +.quick-start-section p { + line-height: 1.7; + font-size: 1.05rem; + color: var(--bnk-text); /* Consistent text color */ + margin-bottom: 1rem; +} + +.quick-start-section .code-container { + background: rgba(0, 0, 0, 0.6); /* Darker background for code */ + border-radius: 8px; + padding: 1rem; + margin: 1.5rem 0; + font-family: 'Fira Code', monospace; /* Monospace font for code */ + color: #e0e0e0; /* Light text color for code */ + border: 1px solid rgba(var(--md-code-fg-color--rgb), 0.1); +} + +.quick-start-section .code-container pre { + margin: 0; + white-space: pre-wrap; + word-break: break-all; + background: transparent !important; /* Ensure pre background is transparent */ + padding: 0; /* Remove padding from pre if container handles it */ +} + +.quick-start-section .code-container code { + font-family: 'Fira Code', monospace; /* Ensure code tag also uses monospace */ + color: #e0e0e0; /* Consistent code text color */ + background: transparent !important; /* Ensure code background is transparent */ + font-size: 0.95rem; /* Slightly smaller font for code block */ +} + +.quick-start-section .quick-note { + font-size: 0.9rem; + color: rgba(255, 255, 255, 0.7); /* Subtler text color for the note */ + margin-top: 1rem; + margin-bottom: 1.5rem; +} + +.quick-start-section .button { + display: inline-block; + background: var(--bnk-accent); + color: white !important; + padding: 0.7rem 1.4rem; + border-radius: 5px; + text-decoration: none; + font-weight: bold; + transition: background 0.3s ease; +} + +.quick-start-section .button:hover { + background: #8656e5; + text-decoration: none; +} + +.info-section { + background: rgba(40, 44, 52, 0.5); + border: 1px solid rgba(var(--md-code-fg-color--rgb), 0.12); + border-radius: 8px; + padding: 2rem; + margin: 2.5rem auto; + max-width: 850px; +} + +.info-section h2 { + color: var(--bnk-yellow); + margin-top: 0; + margin-bottom: 1.5rem; + font-size: 1.8rem; + border-bottom: 2px solid var(--bnk-accent); + padding-bottom: 0.5rem; +} + +.info-section p, .info-section ul { + line-height: 1.7; + font-size: 1.05rem; + color: var(--bnk-text); /* Or var(--md-default-fg-color) for theme consistency */ +} + +.info-section ul { + padding-left: 20px; +} +.info-section ul li { + margin-bottom: 0.5rem; +} + +.info-section .code-block { + background: rgba(0, 0, 0, 0.6); + border-radius: 8px; + padding: 1rem; + margin: 1.5rem 0; + font-family: 'Fira Code', monospace; /* Or var(--md-code-font-family) */ + color: #e0e0e0; /* Or var(--md-code-fg-color) */ + border: 1px solid rgba(var(--md-code-fg-color--rgb), 0.1); +} +.info-section .code-block pre { + margin: 0; + white-space: pre-wrap; + word-break: break-all; +} + +.apps-grid-container { + max-width: 1200px; + margin: 2.5rem auto; + padding: 0 1rem; +} + +.apps-grid-container h2 { + color: var(--bnk-yellow); + font-size: 2rem; + text-align: center; + margin-bottom: 1rem; +} + +.apps-grid { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); + gap: 2rem; +} + +.app-card { + background: var(--md-typeset-table-color); + border: 1px solid rgba(var(--md-code-fg-color--rgb), 0.12); + border-radius: 8px; + padding: 1.75rem; + display: flex; + flex-direction: column; + justify-content: space-between; + transition: transform 0.3s ease, box-shadow 0.3s ease; + box-shadow: 0 2px 5px rgba(0,0,0,0.1); +} + +.app-card:hover { + transform: translateY(-6px); + box-shadow: 0 12px 24px rgba(0,0,0,0.15), 0 0 15px var(--bnk-yellow-transparent); +} + +.app-card h3 { + color: var(--bnk-yellow); + margin-top: 0; + margin-bottom: 1rem; + font-size: 1.4rem; + display: flex; + align-items: center; +} +.app-card h3 .material-icons { + margin-right: 0.75rem; + color: var(--bnk-accent); +} + +.app-card p { + font-size: 1rem; + color: var(--md-default-fg-color); + flex-grow: 1; + margin-bottom: 1.25rem; + line-height: 1.6; +} + +.app-card .button { + display: inline-block; + background: var(--bnk-accent); + color: white !important; + padding: 0.7rem 1.4rem; + border-radius: 5px; + text-decoration: none; + font-weight: bold; + margin-top: 1rem; + transition: background 0.3s ease; + align-self: flex-start; +} + +.app-card .button:hover { + background: #8656e5; + text-decoration: none; +} + +@media (max-width: 768px) { + .hero-section h1 { + font-size: 2.2rem; + } + .hero-section .subtitle { + font-size: 1.2rem; + } + .info-section h2 { + font-size: 1.5rem; + } + .apps-grid-container h2 { + font-size: 1.7rem; + } + .apps-grid { + grid-template-columns: 1fr; + } + .app-card h3 { + font-size: 1.25rem; + } + .app-card p { + font-size: 0.95rem; + } +} diff --git a/site/404.html b/site/404.html new file mode 100644 index 0000000..5d6e3d8 --- /dev/null +++ b/site/404.html @@ -0,0 +1,92 @@ + + + + + + The Bunker Operations - Page Not Found + + + + + + +
+ +
+ +
+
+
+
404
+

Page Not Found

+

We're sorry, but the page you are looking for doesn't exist or has been moved.

+ +
+
+ +
+
+ + +
🔍
+
🏳️‍⚧️
+
💻
+
+ +
+
+ + +
+
+ + + + diff --git a/site/css/responsive.css b/site/css/responsive.css new file mode 100644 index 0000000..d6f4a2e --- /dev/null +++ b/site/css/responsive.css @@ -0,0 +1,204 @@ +/* + * Responsive Stylesheet for BNKOps Website + * Version: 2.0.0 + * Date: May 2025 + * Theme: Dark Purple with Trans Pride Colors + */ + +/* ==================== + Responsive Design + ==================== */ + +/* Extra large devices (large desktops, 1200px and up) */ +@media (max-width: 1200px) { + .container { + max-width: 960px; + } + + .emoji-sticker { + font-size: 2.5rem; + } +} + +/* Large devices (desktops, 992px and up) */ +@media (max-width: 992px) { + .container { + max-width: 720px; + } + + section { + padding: 60px 0; + } + + .section-header h2 { + font-size: 2rem; + } + + .about-content, + .contact-content, + .error-container .container { + grid-template-columns: 1fr; + gap: 30px; + } + + .about-stats { + margin-top: 30px; + } + + .error-illustration { + display: none; + } + + .post-it { + transform: rotate(0deg) !important; + } + + .post-it:hover { + transform: scale(1.03) !important; + } +} + +/* Medium devices (tablets, 768px and up) */ +@media (max-width: 768px) { + .container { + max-width: 540px; + } + + .menu-toggle { + display: block; + } + + .nav-menu { + position: fixed; + top: 70px; + left: -100%; + background-color: rgba(16, 0, 43, 0.95); + backdrop-filter: blur(10px); + -webkit-backdrop-filter: blur(10px); + width: 100%; + height: calc(100vh - 70px); + flex-direction: column; + align-items: center; + justify-content: flex-start; + padding-top: 50px; + transition: var(--transition); + box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3); + z-index: 100; + } + + .nav-menu.active { + left: 0; + } + + .nav-menu li { + margin: 0 0 20px 0; + } + + .nav-menu a { + font-size: 1.2rem; + } + + .hero h1 { + font-size: 2.5rem; + } + + .services-grid { + grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); + gap: 20px; + } + + .about-stats { + grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); + } + + .emoji-sticker { + font-size: 2rem; + } + + .footer-content { + grid-template-columns: 1fr; + text-align: center; + } + + .footer-links h3::after, + .footer-social h3::after { + left: 50%; + transform: translateX(-50%); + } + + .social-icons { + justify-content: center; + } + + .error-actions { + flex-direction: column; + } + + .polaroid { + max-width: 220px; + padding: 10px 10px 40px 10px; + margin: 0 auto 20px; + } +} + +/* Small devices (landscape phones, 576px and up) */ +@media (max-width: 576px) { + .container { + width: 95%; + padding: 0 10px; + } + + section { + padding: 50px 0; + } + + .section-header { + margin-bottom: 30px; + } + + .section-header h2 { + font-size: 1.8rem; + } + + .section-header p { + font-size: 1rem; + } + + .hero h1 { + font-size: 2rem; + } + + .hero p { + font-size: 1rem; + } + + .btn { + padding: 10px 20px; + font-size: 0.9rem; + } + + .service-card { + padding: 20px; + } + + .error-code { + font-size: 6rem; + } + + .error-content h1 { + font-size: 2rem; + } + + .sitemap-content { + grid-template-columns: 1fr; + } + + .emoji-sticker { + font-size: 1.5rem; + } + + .polaroid { + max-width: 180px; + padding: 8px 8px 35px 8px; + } +} diff --git a/site/css/styles.css b/site/css/styles.css new file mode 100644 index 0000000..2822050 --- /dev/null +++ b/site/css/styles.css @@ -0,0 +1,964 @@ +/* + * Main Stylesheet for BNKOps Website + * Version: 2.0.0 + * Date: May 2025 + */ + +/* ==================== + Base Styling + ==================== */ +:root { + /* Trans Pride Theme Colors */ + --trans-blue: #5BCEFA; + --trans-pink: #F5A9B8; + --trans-white: #FFFFFF; + + /* Primary dark purple theme */ + --primary-color: #7B2CBF; + --secondary-color: #9D4EDD; + --accent-color: #C77DFF; + + /* Additional theme colors */ + --dark-purple: #3C096C; + --light-purple: #E0AAFF; + + /* UI Colors */ + --light-color: #F8F9FA; + --dark-color: #240046; + --text-color: #F8F9FA; + --body-bg: #10002B; + --footer-bg: #240046; + --card-bg: #3C096C; + + /* Utility */ + --border-radius: 8px; + --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25); + --transition: all 0.3s ease; + + /* Post-it note colors */ + --postit-blue: var(--trans-blue); + --postit-pink: var(--trans-pink); + --postit-white: var(--trans-white); + --postit-purple: var(--primary-color); +} + +* { + margin: 0; + padding: 0; + box-sizing: border-box; +} + +html { + scroll-behavior: smooth; +} + +body { + font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; + line-height: 1.6; + color: var(--text-color); + background-color: var(--body-bg); + background-image: linear-gradient(to bottom, var(--dark-purple), var(--body-bg)); + min-height: 100vh; +} + +h1, h2, h3, h4, h5, h6 { + font-weight: 600; + line-height: 1.3; + margin-bottom: 1rem; +} + +p { + margin-bottom: 1rem; +} + +a { + color: var(--trans-blue); + text-decoration: none; + transition: var(--transition); +} + +a:hover { + color: var(--trans-pink); +} + +ul { + list-style: none; +} + +img { + max-width: 100%; + height: auto; +} + +.container { + width: 90%; + max-width: 1200px; + margin: 0 auto; + padding: 0 15px; +} + +section { + padding: 80px 0; +} + +.section-header { + text-align: center; + margin-bottom: 50px; + position: relative; +} + +.section-header h2 { + font-size: 2.5rem; + color: var(--trans-pink); + margin-bottom: 0.5rem; + position: relative; + display: inline-block; +} + +.section-header h2::after { + content: ''; + position: absolute; + width: 80px; + height: 4px; + background: linear-gradient(to right, var(--trans-blue), var(--trans-pink), var(--trans-white), var(--trans-pink), var(--trans-blue)); + bottom: -10px; + left: 50%; + transform: translateX(-50%); + border-radius: 2px; +} + +.section-header p { + color: var(--light-purple); + font-size: 1.1rem; + margin-top: 20px; +} + +/* ==================== + Post-it Notes Styling + ==================== */ +.post-it { + background-color: var(--card-bg); + border-radius: var(--border-radius); + padding: 30px; + box-shadow: var(--box-shadow); + transition: var(--transition); + position: relative; + z-index: 2; /* Add z-index to ensure post-its stay above emoji stickers */ + margin-bottom: 20px; + transform: rotate(0deg); +} + +.post-it-blue { + background-color: var(--postit-blue); + border-top: 8px solid #4AADDF; + color: #444; +} + +.post-it-pink { + background-color: var(--postit-pink); + border-top: 8px solid #E797A7; + color: #444; +} + +.post-it-white { + background-color: var(--postit-white); + border-top: 8px solid #E7E7E7; + color: #444; +} + +/* Add text shadow to post-its for better readability */ +.hero .post-it p { + text-shadow: 0 0 1px rgba(255, 255, 255, 0.5); + line-height: 1.5; +} + +.post-it-purple { + background-color: var(--primary-color); + border-top: 8px solid var(--accent-color); + color: white; +} + +.tilt-left-sm { + transform: rotate(-2deg); +} + +.tilt-right-sm { + transform: rotate(2deg); +} + +.tilt-left-md { + transform: rotate(-4deg); +} + +.tilt-right-md { + transform: rotate(4deg); +} + +.post-it:hover { + transform: scale(1.03) rotate(0deg); + box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3); + z-index: 10; +} + +/* ==================== + Buttons + ==================== */ +.btn { + display: inline-block; + padding: 12px 28px; + font-size: 1rem; + font-weight: 600; + text-align: center; + border-radius: var(--border-radius); + transition: all 0.3s ease; + border: none; + cursor: pointer; + position: relative; + overflow: hidden; + z-index: 1; +} + +.btn::before { + content: ''; + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + background: linear-gradient(90deg, var(--trans-blue), var(--trans-pink), var(--trans-white), var(--trans-pink), var(--trans-blue)); + z-index: -1; + transition: transform 0.5s; + transform: translateX(-100%); +} + +.btn:hover::before { + transform: translateX(0); +} + +.btn:hover { + color: var(--dark-purple); + text-shadow: 0 0 3px rgba(255, 255, 255, 0.7); + font-weight: 700; +} + +.btn-primary { + background-color: var(--primary-color); + color: white; +} + +.btn-secondary { + background-color: var(--secondary-color); + color: white; +} + +.btn-primary:hover, .btn-secondary:hover { + box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); + transform: translateY(-3px); +} + +/* ==================== + Navigation + ==================== */ +.navbar { + position: fixed; + top: 0; + left: 0; + width: 100%; + background-color: rgba(16, 0, 43, 0.9); + backdrop-filter: blur(10px); + -webkit-backdrop-filter: blur(10px); + z-index: 1000; + box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3); + padding: 15px 0; + border-bottom: 1px solid rgba(123, 44, 191, 0.3); +} + +.navbar .container { + display: flex; + justify-content: space-between; + align-items: center; +} + +.logo a { + font-size: 1.8rem; + font-weight: 700; + color: var(--trans-white); + text-shadow: 0 0 10px rgba(91, 206, 250, 0.5), 0 0 20px rgba(245, 169, 184, 0.3); + position: relative; +} + +.logo a::after { + content: ''; + position: absolute; + width: 100%; + height: 3px; + bottom: -5px; + left: 0; + background: linear-gradient(to right, var(--trans-blue), var(--trans-pink), var(--trans-white)); + border-radius: 3px; +} + +.nav-menu { + display: flex; +} + +.nav-menu li { + margin-left: 30px; +} + +.nav-menu a { + color: var(--light-color); + font-weight: 500; + position: relative; + padding-bottom: 5px; +} + +.nav-menu a:after { + content: ''; + position: absolute; + width: 0; + height: 2px; + background: linear-gradient(to right, var(--trans-blue), var(--trans-pink)); + bottom: 0; + left: 0; + transition: var(--transition); +} + +.nav-menu a:hover:after, +.nav-menu a.active:after { + width: 100%; +} + +.nav-menu a.active { + color: var(--trans-pink); +} + +.menu-toggle { + display: none; + cursor: pointer; +} + +.menu-toggle .bar { + width: 25px; + height: 3px; + background-color: var(--light-color); + margin: 5px 0; + transition: var(--transition); + display: block; +} + +/* ==================== + Hero Section + ==================== */ +.hero { + min-height: 100vh; + display: flex; + align-items: center; + background: linear-gradient(rgba(16, 0, 43, 0.8), rgba(36, 0, 70, 0.9)), url('../img/hero-bg.jpg') center/cover no-repeat; + color: white; + text-align: center; + padding-top: 80px; + position: relative; + overflow: hidden; + z-index: 1; /* Add z-index to ensure content stays above emoji stickers */ +} + +.hero::before { + content: ''; + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 10px; + background: linear-gradient(90deg, var(--trans-blue) 0%, var(--trans-pink) 50%, var(--trans-white) 100%); +} + +.hero h1 { + font-size: 3.5rem; + margin-bottom: 20px; + color: var(--trans-white); + text-shadow: 0 0 15px rgba(123, 44, 191, 0.8); + position: relative; +} + +.hero h1::after { + content: ''; + position: absolute; + width: 120px; + height: 4px; + background: linear-gradient(to right, var(--trans-blue), var(--trans-pink), var(--trans-white)); + bottom: -10px; + left: 50%; + transform: translateX(-50%); + border-radius: 2px; +} + +.hero p { + font-size: 1.2rem; + margin-bottom: 30px; + max-width: 700px; + margin-left: auto; + margin-right: auto; + color: var(--trans-white); + text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5); +} + +.emoji-sticker { + position: absolute; + font-size: 3rem; + z-index: -1; /* Changed from 0 to -1 to ensure it's behind other elements */ + animation: float 5s ease-in-out infinite; + filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.3)); + pointer-events: none; /* So they don't interfere with clicks */ + opacity: 0.8; +} + +@keyframes float { + 0% { + transform: translateY(0px); + } + 50% { + transform: translateY(-15px); + } + 100% { + transform: translateY(0px); + } +} + +/* Polaroid styling */ +.polaroid { + background-color: white; + padding: 15px 15px 45px 15px; + box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); + max-width: 300px; + margin: 20px auto; + transform: rotate(-3deg); + transition: all 0.3s ease; + position: relative; + z-index: 5; + flex-shrink: 0; /* Prevent shrinking in flexbox */ +} + +.polaroid:hover { + transform: rotate(0deg) scale(1.05); + box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4); +} + +.polaroid-inner { + position: relative; + overflow: hidden; +} + +.polaroid-img { + width: 100%; + height: auto; + display: block; + transition: transform 0.5s ease; +} + +.polaroid:hover .polaroid-img { + transform: scale(1.03); +} + +.polaroid-caption { + text-align: center; + position: absolute; + bottom: 15px; + left: 0; + right: 0; +} + +.polaroid-caption p { + font-family: 'Segoe UI', Tahoma, sans-serif; + color: #333; + font-size: 0.9rem; + margin: 0; + font-weight: 500; + letter-spacing: 0.5px; +} + +/* ==================== + Services Section + ==================== */ +.services { + background-color: var(--body-bg); + position: relative; + z-index: 5; +} + +.services::before { + content: ''; + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + background-image: radial-gradient(circle at 10% 20%, rgba(123, 44, 191, 0.1) 0%, transparent 60%), + radial-gradient(circle at 80% 70%, rgba(245, 169, 184, 0.1) 0%, transparent 60%); + z-index: -1; +} + +.services-grid { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); + gap: 30px; +} + +.service-card { + background-color: var(--card-bg); + padding: 30px; + border-radius: var(--border-radius); + box-shadow: var(--box-shadow); + text-align: center; + transition: var(--transition); + color: var(--text-color); + position: relative; + z-index: 2; /* Add z-index to ensure cards stay above emoji stickers */ + overflow: hidden; + border-top: 4px solid transparent; +} + +.service-card:nth-child(3n+1) { + border-color: var(--trans-blue); +} + +.service-card:nth-child(3n+2) { + border-color: var(--trans-pink); +} + +.service-card:nth-child(3n+3) { + border-color: var(--trans-white); +} + +.service-card:hover { + transform: translateY(-10px); + box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4); +} + +.service-card::after { + content: ''; + position: absolute; + bottom: 0; + left: 0; + width: 100%; + height: 5px; + background: linear-gradient(90deg, var(--trans-blue), var(--trans-pink), var(--trans-white)); + opacity: 0; + transition: opacity 0.3s ease; +} + +.service-card:hover::after { + opacity: 1; +} + +.service-card i { + font-size: 2.5rem; + color: var(--accent-color); + margin-bottom: 20px; + display: inline-block; + transition: transform 0.3s ease; +} + +.service-card:hover i { + transform: scale(1.2); +} + +.service-card h3 { + font-size: 1.5rem; + margin-bottom: 15px; + color: var (--trans-white); +} + +/* ==================== + About Section + ==================== */ +.about { + background-color: var(--dark-purple); + position: relative; +} + +.about-content { + display: grid; + grid-template-columns: 1fr 1fr; + gap: 50px; + align-items: center; +} + +.about-text { + color: var(--text-color); +} + +/* Add specific styling for the about text card */ +.about-text .post-it { + border-left: 4px solid var(--trans-pink); + padding: 25px 30px; + margin-bottom: 0; +} + +.about-text .post-it p:last-child { + margin-bottom: 0; +} + +.about-text p:last-child { + margin-bottom: 0; +} + +.about-stats { + display: grid; + grid-template-columns: repeat(3, 1fr); + gap: 20px; +} + +.stat-item { + background-color: var(--card-bg); + padding: 20px; + border-radius: var(--border-radius); + box-shadow: var(--box-shadow); + text-align: center; + color: var(--text-color); + transition: var(--transition); +} + +.stat-item:hover { + transform: translateY(-5px); + box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3); +} + +.stat-item h3 { + font-size: 2.5rem; + background: linear-gradient(90deg, var(--trans-blue), var(--trans-pink)); + -webkit-background-clip: text; + background-clip: text; + -webkit-text-fill-color: transparent; + margin-bottom: 10px; +} + +/* ==================== + Contact Section + ==================== */ +.contact { + background-color: var(--body-bg); + position: relative; +} + +.contact::before { + content: ''; + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + background-image: radial-gradient(circle at 90% 10%, rgba(123, 44, 191, 0.2) 0%, transparent 60%), + radial-gradient(circle at 20% 90%, rgba(245, 169, 184, 0.2) 0%, transparent 60%); + z-index: 0; +} + +.contact-content { + display: grid; + grid-template-columns: 1fr 1fr; + gap: 50px; + position: relative; + z-index: 2; /* Change from 1 to 2 for consistency with other elements */ +} + +.contact-item { + display: flex; + margin-bottom: 30px; +} + +.contact-item i { + font-size: 1.5rem; + color: var(--trans-pink); + margin-right: 20px; + width: 40px; + height: 40px; + background-color: rgba(123, 44, 191, 0.2); + border-radius: 50%; + display: flex; + align-items: center; + justify-content: center; + transition: var(--transition); +} + +.contact-item:hover i { + background-color: var(--primary-color); + color: var(--trans-white); + transform: scale(1.1); +} + +.contact-item h3 { + font-size: 1.2rem; + margin-bottom: 5px; + color: var(--trans-blue); +} + +.contact-item p { + color: var (--text-color); +} + +.form-group { + margin-bottom: 20px; +} + +.form-group input, +.form-group textarea { + width: 100%; + padding: 12px 15px; + background-color: rgba(60, 9, 108, 0.5); + border: 1px solid var(--primary-color); + border-radius: var(--border-radius); + font-size: 1rem; + transition: var(--transition); + color: var(--text-color); + box-shadow: 0 0 10px rgba(123, 44, 191, 0.1) inset; +} + +.form-group input::placeholder, +.form-group textarea::placeholder { + color: rgba(248, 249, 250, 0.5); +} + +.form-group input:focus, +.form-group textarea:focus { + border-color: var(--trans-pink); + outline: none; + box-shadow: 0 0 15px rgba(245, 169, 184, 0.3); +} + +.form-group textarea { + height: 150px; + resize: vertical; +} + +/* ==================== + Footer + ==================== */ +footer { + background-color: var(--footer-bg); + color: var(--text-color); + padding: 70px 0 20px; + position: relative; +} + +footer::before { + content: ''; + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 5px; + background: linear-gradient(90deg, var(--trans-blue), var(--trans-pink), var(--trans-white), var(--trans-pink), var(--trans-blue)); +} + +.footer-content { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); + gap: 30px; + margin-bottom: 50px; +} + +.footer-logo h2 { + font-size: 2rem; + margin-bottom: 10px; + background: linear-gradient(90deg, var(--trans-blue), var(--trans-pink)); + -webkit-background-clip: text; + background-clip: text; + -webkit-text-fill-color: transparent; +} + +.footer-links h3, +.footer-social h3 { + font-size: 1.2rem; + margin-bottom: 20px; + position: relative; + padding-bottom: 10px; + color: var(--trans-white); +} + +.footer-links h3::after, +.footer-social h3::after { + content: ''; + position: absolute; + left: 0; + bottom: 0; + width: 50px; + height: 2px; + background: linear-gradient(to right, var(--trans-blue), var(--trans-pink)); +} + +.footer-links ul li { + margin-bottom: 10px; +} + +.footer-links ul li a { + color: var(--light-purple); + transition: var(--transition); + display: inline-block; +} + +.footer-links ul li a:hover { + color: var(--trans-pink); + padding-left: 5px; +} + +.social-icons { + display: flex; + gap: 15px; +} + +.social-icons a { + width: 40px; + height: 40px; + background-color: rgba(60, 9, 108, 0.6); + border-radius: 50%; + display: flex; + align-items: center; + justify-content: center; + color: var(--text-color); + transition: var(--transition); + position: relative; + overflow: hidden; +} + +.social-icons a::before { + content: ''; + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + background: linear-gradient(45deg, var(--trans-blue), var(--trans-pink)); + opacity: 0; + transition: opacity 0.3s ease; + z-index: -1; +} + +.social-icons a:hover::before { + opacity: 1; +} + +.social-icons a:hover { + transform: translateY(-5px); + box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); +} + +.footer-bottom { + text-align: center; + padding-top: 20px; + border-top: 1px solid rgba(245, 169, 184, 0.2); + color: var (--light-purple); +} + +/* ==================== + Sitemap Page + ==================== */ +.sitemap-section { + padding-top: 150px; + min-height: calc(100vh - 300px); +} + +.sitemap-content { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); + gap: 30px; +} + +.sitemap-group { + background-color: var(--card-bg); + padding: 30px; + border-radius: var(--border-radius); + box-shadow: var(--box-shadow); +} + +.sitemap-group h2 { + color: var(--trans-pink); + margin-bottom: 20px; + padding-bottom: 10px; + border-bottom: 2px solid var(--primary-color); +} + +.sitemap-list li { + margin-bottom: 10px; + padding-left: 20px; + position: relative; +} + +.sitemap-list li::before { + content: '→'; + position: absolute; + left: 0; + color: var(--trans-blue); +} + +.sitemap-list li a { + color: var(--text-color); + transition: var(--transition); +} + +.sitemap-list li a:hover { + color: var(--trans-pink); +} + +.sitemap-list ul { + margin-top: 10px; + margin-left: 20px; +} + +/* ==================== + Error Page (404) + ==================== */ +.error-page { + background-color: var(--body-bg); +} + +.error-container { + padding-top: 150px; + min-height: calc(100vh - 300px); + display: flex; + align-items: center; +} + +.error-container .container { + display: grid; + grid-template-columns: 1fr 1fr; + gap: 50px; + align-items: center; +} + +.error-code { + font-size: 8rem; + font-weight: 700; + background: linear-gradient(90deg, var(--trans-blue), var(--trans-pink)); + -webkit-background-clip: text; + background-clip: text; + -webkit-text-fill-color: transparent; + line-height: 1; + margin-bottom: 20px; + text-shadow: 0 5px 30px rgba(0, 0, 0, 0.2); +} + +.error-content h1 { + font-size: 2.5rem; + margin-bottom: 20px; + color: var(--trans-white); +} + +.error-content p { + color: var(--light-purple); +} + +.error-actions { + margin-top: 30px; + display: flex; + gap: 15px; +} + +.error-illustration { + text-align: center; +} + +.error-illustration i { + font-size: 15rem; + color: var(--primary-color); + opacity: 0.3; +} diff --git a/site/img/bnkops-logo-purple.png b/site/img/bnkops-logo-purple.png new file mode 100644 index 0000000..6b01050 Binary files /dev/null and b/site/img/bnkops-logo-purple.png differ diff --git a/site/img/bunker-logo.svg b/site/img/bunker-logo.svg new file mode 100644 index 0000000..a388854 --- /dev/null +++ b/site/img/bunker-logo.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/site/index.html b/site/index.html new file mode 100644 index 0000000..7414811 --- /dev/null +++ b/site/index.html @@ -0,0 +1,261 @@ + + + + + + The Bunker Operations + + + + + + +
+ +
+ +
+
+

The Bunker Operations

+

Community Strategy, Tactics, and Technology

+ +
+ +
+
+ BNKops Logo +
+
+

Building community power

+
+
+ +
+ 🌱 💪 +

A co-operative network full of care, knowledge, and skill on how to build local community capacity in current times.

+
+
+ 🔓 ⚡ +

Open-source, self-hosted, low-cost, and corporation-free technology for community focused organizations.

+
+
+ +
+ + +
+ +
+
+
+

Our Solutions

+

Tools and infrastructure built for community organizations

+
+
+
+ +

Strategy & Tactics

+

We provide consulting with a focus on community building, ethical technology, scalable campaigns, and grassroots fundraising.

+
    +
  • Community organizing strategy
  • +
  • Tech infrastructure planning
  • +
  • Campaign development
  • +
  • Ethics-first approach
  • +
+ +
+
+ +

BNKops Repository

+

A peer-to-peer generated knowledge base. Like MySpace meets social work, our repository grows organically through community contributions.

+
    +
  • Open-source documentation
  • +
  • Community-driven content
  • +
  • Experience-based knowledge
  • +
  • Corporation-free infrastructure
  • +
+ +
+
+ +

Change Maker

+

Professional-grade documentation tools with revolutionary simplicity. Build and manage your digital political campaign or community website.

+
    +
  • Local build control
  • +
  • Remote accessibility
  • +
  • Built-in security
  • +
  • Save thousands in yearly bills
  • +
+ +
+
+
+
+

Build your power, don't pay for it ✊

+
+
+
+
+ +
+
+
+

Who We Are

+

The Bunker Operations

+
+
+
+ +
+

BNKops is a collective with a central administrative team. We operate as a co-operative of skilled individuals passionate about building community capacity through ethical technology and organizing strategies.

+

Our group comprises trusted collaborators, comrades, and co-conspirators sharing goals in community growth. Based in amiskwaciy-waskahikan (Edmonton), we are grateful for the land's provisions and strive to honor it through our work.

+
+
+
+
+ +

Co-operative Based

+

Creating resources that are open-source, low-cost, easy to operate, and corporation-free.

+
+
+ +

Community Focused

+

Our group comprises trusted collaborators, comrades, and co-conspirators sharing goals in community growth.

+
+
+ +

Open Source

+

All our tools and resources are open-source, ensuring accessibility and transparency.

+
+
+
+ +
+
+ +
+
+
+

Work With Us

+

Looking to collaborate? Reach out, let's chat.

+
+
+
+

Contact Us

+ + +
+

Administration

+
+

Reed Larsen 💅

+

The Bunker Admin

+ reed@bnkops.ca +
+
+

Shayla Breen 🤔

+

The Bunker Strategist

+ shayla@bnkops.ca +
+
+
+ + +
+

Stay Updated

+
+
+ +
+
+ +
+
+ + +
+ +
+
+
+
+ +
+ +
+
+ + +
+
+ + + + diff --git a/site/js/main.js b/site/js/main.js new file mode 100644 index 0000000..af168ae --- /dev/null +++ b/site/js/main.js @@ -0,0 +1,189 @@ +/* + * Main JavaScript for BNKOps Website + * Version: 2.0.0 + * Date: May 2025 + * Theme: Dark Purple with Trans Pride Colors + */ + +document.addEventListener('DOMContentLoaded', () => { + // Mobile menu toggle + const mobileMenu = document.getElementById('mobile-menu'); + const navMenu = document.querySelector('.nav-menu'); + + if (mobileMenu) { + mobileMenu.addEventListener('click', () => { + mobileMenu.classList.toggle('active'); + navMenu.classList.toggle('active'); + }); + } + + // Close mobile menu when clicking on a nav link + const navLinks = document.querySelectorAll('.nav-menu a'); + + navLinks.forEach(link => { + link.addEventListener('click', () => { + mobileMenu.classList.remove('active'); + navMenu.classList.remove('active'); + }); + }); + + // Smooth scrolling for anchor links + document.querySelectorAll('a[href^="#"]').forEach(anchor => { + anchor.addEventListener('click', function(e) { + if (this.getAttribute('href') !== '#') { + e.preventDefault(); + + const targetId = this.getAttribute('href'); + const targetElement = document.querySelector(targetId); + + if (targetElement) { + window.scrollTo({ + top: targetElement.offsetTop - 70, + behavior: 'smooth' + }); + } + } + }); + }); + + // Sticky navigation on scroll with color change + const navbar = document.querySelector('.navbar'); + const navbarHeight = navbar.getBoundingClientRect().height; + + window.addEventListener('scroll', () => { + if (window.scrollY > navbarHeight) { + navbar.classList.add('sticky'); + navbar.style.backgroundColor = 'rgba(60, 9, 108, 0.95)'; + } else { + navbar.classList.remove('sticky'); + navbar.style.backgroundColor = 'rgba(16, 0, 43, 0.9)'; + } + }); + + // Form submission (prevent default for demo) + const contactForm = document.querySelector('.contact-form'); + + if (contactForm) { + contactForm.addEventListener('submit', (e) => { + e.preventDefault(); + alert('Form submission successful! This is a demo message.'); + contactForm.reset(); + }); + } + + // Create emoji stickers dynamically + const createEmojiStickers = () => { + const heroSection = document.querySelector('.hero'); + const servicesSection = document.querySelector('.services'); + const aboutSection = document.querySelector('.about'); + const contactSection = document.querySelector('.contact'); + + const emojis = ['💻', '📚', '🌱', '⚡', '🔓', '💪', '✨', '🌈', '🏳️‍⚧️', '🏳️‍🌈']; + + const sections = [heroSection, servicesSection, aboutSection, contactSection]; + + // Safe zones for emoji placement (percentage from edges) + const safeZones = { + hero: { top: 35, bottom: 25, left: 10, right: 10 }, + services: { top: 15, bottom: 15, left: 5, right: 5 }, + about: { top: 20, bottom: 20, left: 5, right: 5 }, + contact: { top: 20, bottom: 15, left: 5, right: 5 } + }; + + // Get section name from class + const getSectionName = (section) => { + if (section.classList.contains('hero')) return 'hero'; + if (section.classList.contains('services')) return 'services'; + if (section.classList.contains('about')) return 'about'; + if (section.classList.contains('contact')) return 'contact'; + return 'default'; + }; + + sections.forEach((section) => { + if (section) { + const sectionName = getSectionName(section); + const zone = safeZones[sectionName] || { top: 20, bottom: 20, left: 5, right: 5 }; + + // Add 3-4 emoji stickers per section + const emojiCount = Math.floor(Math.random() * 2) + 2; // 2-3 emojis per section + const placedPositions = []; + + for (let i = 0; i < emojiCount; i++) { + const emoji = document.createElement('div'); + emoji.className = 'emoji-sticker'; + emoji.textContent = emojis[Math.floor(Math.random() * emojis.length)]; + + // Calculate safe position that doesn't overlap with content + let attempts = 0; + let position; + + // Try to find a non-overlapping position + do { + position = { + top: Math.random() * (100 - zone.top - zone.bottom) + zone.top, + left: Math.random() * (100 - zone.left - zone.right) + zone.left + }; + + // Check if this position is far enough from other emojis + const isFarEnough = placedPositions.every(pos => { + const distance = Math.sqrt( + Math.pow(position.top - pos.top, 2) + + Math.pow(position.left - pos.left, 2) + ); + return distance > 20; // Minimum distance between emojis + }); + + attempts++; + if (isFarEnough || attempts > 10) break; + } while (attempts < 10); + + // Apply position + emoji.style.top = `${position.top}%`; + emoji.style.left = `${position.left}%`; + placedPositions.push(position); + + // Set z-index to be below content + emoji.style.zIndex = "-1"; + + // Random animation delay + emoji.style.animationDelay = `${Math.random() * 2}s`; + + section.appendChild(emoji); + } + } + }); + }; + + // Create post-it notes effect + const createPostItEffect = () => { + const postIts = document.querySelectorAll('.post-it, .service-card'); + + postIts.forEach((postIt, index) => { + // Add subtle rotation to every other card + if (index % 2 === 0) { + postIt.classList.add('tilt-left-sm'); + } else { + postIt.classList.add('tilt-right-sm'); + } + + // Create shadow effect on hover + postIt.addEventListener('mouseover', () => { + postIt.style.transform = 'scale(1.03) rotate(0deg)'; + postIt.style.boxShadow = '0 15px 30px rgba(0, 0, 0, 0.3)'; + postIt.style.zIndex = '10'; + }); + + postIt.addEventListener('mouseout', () => { + postIt.style.transform = ''; + postIt.style.boxShadow = ''; + postIt.style.zIndex = '2'; + }); + }); + }; + + // Initialize effects + setTimeout(() => { + createEmojiStickers(); + createPostItEffect(); + }, 100); +}); diff --git a/site/nginx.conf b/site/nginx.conf new file mode 100644 index 0000000..c1f938d --- /dev/null +++ b/site/nginx.conf @@ -0,0 +1,25 @@ +server { + listen 80; + listen [::]:80; + + root /config/www; + index index.html; + + location / { + try_files $uri $uri/ =404; + } + + # Custom error pages + error_page 404 /404.html; + + # Enable gzip compression + gzip on; + gzip_types text/plain text/css application/javascript application/json image/svg+xml; + gzip_min_length 1000; + + # Set cache headers for static assets + location ~* \.(jpg|jpeg|png|gif|ico|css|js)$ { + expires 30d; + add_header Cache-Control "public, no-transform"; + } +} diff --git a/site/robots.txt b/site/robots.txt new file mode 100644 index 0000000..f68b70f --- /dev/null +++ b/site/robots.txt @@ -0,0 +1,4 @@ +User-agent: * +Allow: / + +Sitemap: https://bnkops.com/sitemap.xml diff --git a/site/sitemap.html b/site/sitemap.html new file mode 100644 index 0000000..c63cb16 --- /dev/null +++ b/site/sitemap.html @@ -0,0 +1,123 @@ + + + + + + The Bunker Operations - Sitemap + + + + + + +
+ +
+ +
+
+
+

Sitemap

+

Find your way around our website

+
+ +
+
+

Main Pages

+ +
+ +
+

Services

+ +
+ +
+

External Resources

+ +
+
+ + +
+ + +
🏳️‍⚧️
+
🌈
+
+ +
+
+ + +
+
+ + + +