From 45a0ec3eec46d70e934f76fd6830da85768ff179 Mon Sep 17 00:00:00 2001 From: admin Date: Sun, 11 May 2025 23:29:48 -0600 Subject: [PATCH] local homepage update --- .env | 42 +++++----- README.md | 9 +- configs/homepage-local/bookmarks.yaml | 65 ++++++++++++++ configs/homepage-local/custom.css | 0 configs/homepage-local/custom.js | 0 configs/homepage-local/docker.yaml | 10 +++ configs/homepage-local/kubernetes.yaml | 2 + configs/homepage-local/logs/homepage.log | 0 configs/homepage-local/services.yaml | 79 ++++++++++++++++++ configs/homepage-local/settings.yaml | 42 ++++++++++ configs/homepage-local/widgets.yaml | 39 +++++++++ docker-compose.yml | 21 ++++- mkdocs/docs/apps/code-server.md | 1 + mkdocs/docs/index.md | 3 + mkdocs/docs/overrides/home.html | 2 +- mkdocs/site/404.html | 51 +++++++++-- mkdocs/site/apps/answer/index.html | 51 +++++++++-- mkdocs/site/apps/code-server/index.html | 51 +++++++++-- mkdocs/site/apps/excalidraw/index.html | 51 +++++++++-- mkdocs/site/apps/ferdium/index.html | 51 +++++++++-- mkdocs/site/apps/flatnotes/index.html | 51 +++++++++-- mkdocs/site/apps/gitea/index.html | 51 +++++++++-- mkdocs/site/apps/homepage/index.html | 51 +++++++++-- mkdocs/site/apps/index.html | 73 +++++++++++++--- mkdocs/site/apps/listmonk/index.html | 51 +++++++++-- mkdocs/site/apps/mkdocs-material/index.html | 51 +++++++++-- mkdocs/site/apps/monica-crm/index.html | 51 +++++++++-- mkdocs/site/apps/nocodb/index.html | 51 +++++++++-- mkdocs/site/apps/ollama/index.html | 51 +++++++++-- mkdocs/site/apps/openwebui/index.html | 51 +++++++++-- mkdocs/site/apps/portainer/index.html | 51 +++++++++-- mkdocs/site/apps/rocketchat/index.html | 51 +++++++++-- mkdocs/site/assets/images/social/apps.png | Bin 27876 -> 24329 bytes .../site/blog/2025/03/06/testing/index.html | 51 +++++++++-- mkdocs/site/blog/archive/2025/index.html | 51 +++++++++-- mkdocs/site/blog/index.html | 51 +++++++++-- .../site/guides/authoring-content/index.html | 51 +++++++++-- mkdocs/site/images/cat.png | Bin 0 -> 3028724 bytes mkdocs/site/index.html | 57 +++++++++++-- mkdocs/site/ollama/index.html | 51 +++++++++-- mkdocs/site/overrides/home.html | 2 +- mkdocs/site/readme/index.html | 52 ++++++++++-- mkdocs/site/sitemap.xml | 46 +++++----- mkdocs/site/sitemap.xml.gz | Bin 366 -> 366 bytes 44 files changed, 1438 insertions(+), 178 deletions(-) create mode 100755 configs/homepage-local/bookmarks.yaml create mode 100755 configs/homepage-local/custom.css create mode 100755 configs/homepage-local/custom.js create mode 100755 configs/homepage-local/docker.yaml create mode 100755 configs/homepage-local/kubernetes.yaml create mode 100644 configs/homepage-local/logs/homepage.log create mode 100644 configs/homepage-local/services.yaml create mode 100755 configs/homepage-local/settings.yaml create mode 100755 configs/homepage-local/widgets.yaml create mode 100644 mkdocs/site/images/cat.png diff --git a/.env b/.env index 05e7536..3308a52 100644 --- a/.env +++ b/.env @@ -1,6 +1,6 @@ # 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 Thu 08 May 2025 03:22:28 PM MDT +# Generated by Changemaker Config Wizard on Sun 11 May 2025 10:05:17 PM MDT # Domain Configuration DOMAIN=test.com @@ -8,7 +8,7 @@ BASE_DOMAIN=https://test.com # Listmonk Configuration LISTMONK_ADMIN_USER=admin -LISTMONK_ADMIN_PASSWORD=strongpassword +LISTMONK_ADMIN_PASSWORD=@thebunker LISTMONK_PORT=9000 LISTMONK_HOSTNAME=listmonk.test.com @@ -18,12 +18,12 @@ POSTGRES_PASSWORD=7Cl6OUA6KrJ1fQ0l/ZwJ POSTGRES_DB=listmonk # Monica CRM Configuration -MONICA_APP_KEY=base64:NUdzZlhaOVR5M0FEd0JNZGhEcUFZbDBFdmlHbEhUYzc= +MONICA_APP_KEY=base64:MHdHU1ovVGtVV3BDUHdqNXNudXZaa1AzdzB5Y1luTTQ= MONICA_DB_USERNAME=monica -MONICA_DB_PASSWORD=s6ikjtkdmk3HQnTX58tO +MONICA_DB_PASSWORD=PERGF5DgEJgdxxKg5OmR MONICA_MYSQL_DATABASE=monica MONICA_MYSQL_USER=monica -MONICA_MYSQL_PASSWORD=s6ikjtkdmk3HQnTX58tO +MONICA_MYSQL_PASSWORD=PERGF5DgEJgdxxKg5OmR # MkDocs Configuration USER_ID=1000 @@ -34,9 +34,9 @@ MKDOCS_PORT=4000 FLATNOTES_PUID=1000 FLATNOTES_PGID=1000 FLATNOTES_AUTH_TYPE=password -FLATNOTES_USERNAME=user -FLATNOTES_PASSWORD=changeMe! -FLATNOTES_SECRET_KEY=S1SfMQwbkxvYC+SIAJkf4v6fJ0DJWJrU +FLATNOTES_USERNAME=admin +FLATNOTES_PASSWORD=@thebunker +FLATNOTES_SECRET_KEY=TA2QZssp/Q+36YGIlkYdqkK9R682wCfc FLATNOTES_PORT=8089 # Gitea Configuration @@ -44,8 +44,8 @@ GITEA_DB_TYPE=mysql GITEA_DB_HOST=gitea-db:3306 GITEA_DB_NAME=gitea GITEA_DB_USER=gitea -GITEA_DB_PASSWD=0OmqfwcnPCWbsNbg8upAQ7Zh -GITEA_DB_ROOT_PASSWORD=Ygl6RyjoJbNwOd2p9yiVc3+2 +GITEA_DB_PASSWD=mdBJ8OKtHQLnbsrrKHOcabfq +GITEA_DB_ROOT_PASSWORD=MB7m9n5koGR51eSKckQzI0jh GITEA_WEB_PORT=3030 GITEA_SSH_PORT=2225 GITEA_ROOT_URL=https://gitea.test.com @@ -66,18 +66,18 @@ CODE_SERVER_PORT=8888 USER_NAME=coder # Cloudflare Credentials -CF_AUTH_EMAIL=[insert] -CF_API_TOKEN=[insert] -CF_ZONE_ID=[insert] -CF_TUNNEL_ID=[insert] -CF_DOMAIN=[insert] +CF_AUTH_EMAIL=admin@thebunkerops.ca +CF_API_TOKEN=redacted +CF_ZONE_ID=redacted +CF_TUNNEL_ID=redacted +CF_DOMAIN=test.com # NocoDB Configuration NOCODB_PORT=8090 -NOCODB_JWT_SECRET=QUwWUpyZ/XjPm9sBhjkwI5X3XANFzigW +NOCODB_JWT_SECRET=G+bgOQAW8CtcFaNGGLOlNI+Yt3y4j08f NOCODB_DB_NAME=nocodb NOCODB_DB_USER=noco -NOCODB_DB_PASSWORD=qKd+v98CPRViaOHHV+ZJ +NOCODB_DB_PASSWORD=puStVPzzH8HK5wi5KefK # OpenWebUI Configuration OPEN_WEBUI_PORT=3005 @@ -86,14 +86,14 @@ OPEN_WEBUI_URL=https://open-webui.test.com # N8N Configuration N8N_PORT=5678 N8N_HOST=n8n.test.com -N8N_ENCRYPTION_KEY=PRp6GXqr+ShtN/SEJHTKuOifEBLcaruC -N8N_USER_EMAIL=admin@example.com -N8N_USER_PASSWORD=changeMe +N8N_ENCRYPTION_KEY=PtiJxEiaCkGoKkbNjqrddo0gWTW/RYGC +N8N_USER_EMAIL=admin@thebunkerops.ca +N8N_USER_PASSWORD=@thebunker GENERIC_TIMEZONE=UTC # ConvertX Configuration CONVERTX_PORT=3100 -CONVERTX_JWT_SECRET=d71go1i0k1ytW37z+ongq78HlwsVdS1sqdGoxSBux3WxvH1f +CONVERTX_JWT_SECRET=BNOqzXdgchufkbsBA+s8NTHuRJcIVfOha0dSyQZz45o6ym/X # Rocket.Chat Configuration ROCKETCHAT_IMAGE=registry.rocket.chat/rocketchat/rocket.chat diff --git a/README.md b/README.md index 126c5f3..97e3f55 100755 --- a/README.md +++ b/README.md @@ -102,11 +102,16 @@ On a 1GB internet connection, instal time is approximately 3 minutes. ## Local Service Ports +## Local Service Ports + +### Local [Homepage http://localhost:3011](http://localhost:3011) +The local homepage is configured with all of the services you can access securely on your own device. + When running Changemaker locally, you can access the services at the following ports on your server: | Service | Local Port | Local URL | |--------------|------------|------------------------------------------| -| Root (Nginx) | 4001 | [http://localhost:4001](http://localhost:4001) | +| Root/Website (Nginx) | 4001 | [http://localhost:4001](http://localhost:4001) | | Homepage | 3010 | [http://localhost:3010](http://localhost:3010) | | Excalidraw | 3333 | [http://localhost:3333](http://localhost:3333) | | Listmonk | 9000 | [http://localhost:9000](http://localhost:9000) | @@ -126,8 +131,6 @@ When running Changemaker locally, you can access the services at the following p | ConvertX | 3100 | [http://localhost:3100](http://localhost:3100) | | Rocket.Chat | 3004 | [http://localhost:3004](http://localhost:3004) | -## Detailed Installation - ### 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: 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..0495c2d --- /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:3006 + 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: https://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..418999b --- /dev/null +++ b/configs/homepage-local/widgets.yaml @@ -0,0 +1,39 @@ +--- +# For configuration options and examples, please see: +# https://gethomepage.dev/configs/info-widgets/ + +- resources: + cpu: true + memory: true + disk: / + +- greeting: + text_size: xl + text: Localhost Website + href: http://localhost:4001 + +- greeting: + text_size: xl + 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/docker-compose.yml b/docker-compose.yml index 7a23c30..e3fb0b9 100755 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -20,6 +20,25 @@ services: 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 @@ -201,7 +220,7 @@ services: # MkDocs Documentation mkdocs: image: squidfunk/mkdocs-material - container_name: markdown-editor-mkdocs-changemaker + container_name: mkdocs-changemaker volumes: - ./mkdocs:/docs:rw - ./assets/images:/docs/assets/images:rw diff --git a/mkdocs/docs/apps/code-server.md b/mkdocs/docs/apps/code-server.md index e6d4307..c65479b 100644 --- a/mkdocs/docs/apps/code-server.md +++ b/mkdocs/docs/apps/code-server.md @@ -16,6 +16,7 @@ It's an essential tool within Changemaker for making quick edits to your website ## 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. diff --git a/mkdocs/docs/index.md b/mkdocs/docs/index.md index ff18c06..2cb26da 100755 --- a/mkdocs/docs/index.md +++ b/mkdocs/docs/index.md @@ -1,5 +1,8 @@ --- title: Welcome to Change Maker template: home.html +hide: + - navigation + - toc --- diff --git a/mkdocs/docs/overrides/home.html b/mkdocs/docs/overrides/home.html index d0f34ac..3a976ec 100644 --- a/mkdocs/docs/overrides/home.html +++ b/mkdocs/docs/overrides/home.html @@ -2,7 +2,7 @@ {% block content %}
-

Welcome to Changemaker V5

+

Welcome to Changemaker V5

Your battle-tested, lightweight, self-hosted productivity suite. Empowering you with complete control, inherent security, and true freedom of speech.

Explore Applications
diff --git a/mkdocs/site/404.html b/mkdocs/site/404.html index fe21310..fa3f689 100644 --- a/mkdocs/site/404.html +++ b/mkdocs/site/404.html @@ -224,6 +224,25 @@ This is a demo site for Change Maker. L +
  • + + + + + + + Test + + +
  • + + + + + + + +
  • @@ -364,6 +383,28 @@ This is a demo site for Change Maker. L +
  • + + + + + + Test + + + + + +
  • + + + + + + + + + @@ -412,10 +453,10 @@ This is a demo site for Change Maker. L - + - L -