diff --git a/Vagrantfile b/Vagrantfile index eb748b44..dd75e126 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -4,14 +4,15 @@ Vagrant.require_version ">= 1.6.2" # { :hostname => 'altair', :desc => 'Archlinux', :ip => '192.168.14.41', :box => 'Megabyte/Archlinux-Desktop' }, -# { :hostname => 'caph', :desc => 'CentOS 9 Stream', :ip => '192.168.14.42', :box => 'Megabyte/CentOS-Desktop' }, +# # { :hostname => 'mira', :desc => 'macOS 13', :ip => '192.168.14.45', :box => 'Beta/macOS-13', :cpus => 4, :ram => 8192 }, +# { :hostname => 'wazn', :desc => 'Windows 11', :ip => '192.168.14.47', :box => 'Megabyte/Windows-Desktop', :cpus => 4, :ram => 4096 } nodes = [ - { :hostname => 'denab', :desc => 'Debian 11', :ip => '192.168.14.43', :box => 'Megabyte/Debian-Desktop' }, - { :hostname => 'fulu', :desc => 'Fedora 37', :ip => '192.168.14.44', :box => 'Megabyte/Fedora-Desktop' }, - { :hostname => 'ukdah', :desc => 'Ubuntu 22.04', :ip => '192.168.14.46', :box => 'Megabyte/Ubuntu-Desktop' }, - { :hostname => 'wazn', :desc => 'Windows 11', :ip => '192.168.14.47', :box => 'Megabyte/Windows-Desktop', :cpus => 4, :ram => 4096 } + { :hostname => 'denab', :desc => 'Debian 11', :ip => '192.168.14.43', :box => "bento/debian-12" }, + { :hostname => 'fulu', :desc => 'Fedora 38', :ip => '192.168.14.44', :box => "bento/fedora-38" }, + { :hostname => 'ukdah', :desc => 'Ubuntu 22.04', :ip => '192.168.14.46', :box => "bento/ubuntu-22.04" }, + { :hostname => 'caph', :desc => 'CentOS 9 Stream', :ip => '192.168.14.42', :box => "bento/centos-stream-9" } ] Vagrant.configure("2") do |config| diff --git a/docs/INSPIRATION.md b/docs/INSPIRATION.md index c7dea773..61a89885 100644 --- a/docs/INSPIRATION.md +++ b/docs/INSPIRATION.md @@ -29,4 +29,20 @@ * https://github.com/coder/coder * https://github.com/rigoneri/syte * https://github.com/rigoneri/Syte3 -* https://github.com/UPC/ravada \ No newline at end of file +* https://github.com/UPC/ravada +* https://github.com/otoyo/astro-notion-blog +* https://github.com/cloudflare/next-on-pages +* https://envshare.dev/ +* https://vercel.com/templates/next.js/nextjs-ai-chatbot - chatbot +* https://nextra.site/ +* https://github.com/cloudflare/next-on-pages +* https://ai-code-translator.vercel.app/ - Translate code via ChatGPT +* https://vercel.com/templates/next.js/nextjs-openai-doc-search-starter - AI search +* https://vercel.com/templates/next.js/domains-api +* https://supabase.com/partners/integrations - Services supabase integrates with +* https://vercel.com/templates/next.js/notion-blog - Notion blog + +## Serverless + +* https://github.com/cloudflare/serverless-cloudflare-workers +* https://github.com/supaflare/supaflare - Sleek short link service \ No newline at end of file diff --git a/docs/TODO.md b/docs/TODO.md index 5015d36c..bc8b43fe 100644 --- a/docs/TODO.md +++ b/docs/TODO.md @@ -6,6 +6,8 @@ This page outlines various projects and tasks that we are currently working on. * Finish TS from 1400 stars * Python * adb must be accessible in PATH: brew install --cask android-platform-tools +* https://github.com/Paul-Reed/cloudflare-ufw +* Google Drive index on Cloudflare https://github.com/menukaonline/goindex-extended ## Upstream @@ -69,6 +71,9 @@ The following items are Docker containers that we may want to include as default * https://github.com/anse-app/anse - ChatGPT interface * https://github.com/wireapp/wire-webapp - Internal Slack * https://github.com/jhaals/yopass - OTS web app +* https://github.com/aschzero/hera - CloudFlare tunnel proxy +* https://supabase.com/ - Firebase alternative +* https://github.com/tiredofit/docker-traefik-cloudflare-companion - Traefik CloudFlare integration ### Kubernetes diff --git a/home/.chezmoidata.yaml b/home/.chezmoidata.yaml index e36bc741..55a816ae 100644 --- a/home/.chezmoidata.yaml +++ b/home/.chezmoidata.yaml @@ -975,6 +975,7 @@ softwareGroups: - bun - caniuse - capacitor + - cloudflare-cli - coder - cordova - deno @@ -1001,6 +1002,7 @@ softwareGroups: - localtunnel - majestic - medusa + - miniflare - mitmproxy - muffet - nativescript diff --git a/home/dot_config/shell/private_private.sh.tmpl b/home/dot_config/shell/private_private.sh.tmpl index 0dab06f1..d970635f 100644 --- a/home/dot_config/shell/private_private.sh.tmpl +++ b/home/dot_config/shell/private_private.sh.tmpl @@ -22,6 +22,13 @@ export GCE_SERVICE_ACCOUNT_EMAIL="{{ .user.gcloud.email }}" export GCE_CREDENTIALS_FILE="$HOME/.config/gcloud/gcp.json" ### CloudFlare +# Source: https://github.com/cloudflare/cf-terraforming +export CLOUDFLARE_API_TOKEN='Hzsq3Vub-7Y-hSTlAaLH3Jq_YfTUOCcgf22_Fs-j' +# If using API Key +# export CLOUDFLARE_EMAIL='user@example.com' +# export CLOUDFLARE_API_KEY='1150bed3f45247b99f7db9696fffa17cbx9' +# Specify zone ID +# export CLOUDFLARE_ZONE_ID='81b06ss3228f488fh84e5e993c2dc17' export LEXICON_CLOUDFLARE_TOKEN="" export LEXICON_CLOUDFLARE_USERNAME="{{ .user.cloudflare.username }}" diff --git a/scripts/src/cloudflared-ssh.sh.tmpl b/scripts/src/cloudflared-ssh.sh.tmpl index 46c6c68b..56072b22 100644 --- a/scripts/src/cloudflared-ssh.sh.tmpl +++ b/scripts/src/cloudflared-ssh.sh.tmpl @@ -34,6 +34,10 @@ # setup and updates are applied using this script (via a cronjob that does not need to run initialization tasks during # the cronjobs). # +# ## TODO +# +# * Automatically add UFW exceptions using [this script](https://github.com/Paul-Reed/cloudflare-ufw) +# # ## Links # # [SSH with short-lived certificates](https://developers.cloudflare.com/cloudflare-one/tutorials/ssh-cert-bastion/) diff --git a/software.yml b/software.yml index 020247c2..b2039055 100644 --- a/software.yml +++ b/software.yml @@ -1402,6 +1402,16 @@ softwarePackages: _name: CFSSL brew: cfssl pacman: cfssl + miniflare: + _bin: miniflare + _github: https://github.com/cloudflare/miniflare + _name: Miniflare + npm: miniflare + cf-terraforming: + _bin: cf-terraforming + _github: https://github.com/cloudflare/cf-terraforming + _name: CloudFlare Terraforming + cask: cloudflare/cloudflare/cf-terraforming cheat: _bin: cheat _desc: Cheat allows you to create and view interactive cheatsheets on the command-line. It was designed to help remind *nix system administrators of options for commands that they use frequently, but not frequently enough to remember. @@ -9003,6 +9013,11 @@ softwarePackages: apt: cloudflare-warp cask: cloudflare-warp choco: warp + cloudflare-cli: + _bin: cfcli + _github: https://github.com/danielpigott/cloudflare-cli + _name: CloudFlare CLI + npm: cloudflare-cli watchexec: _bin: watchexec _desc: Executes commands in response to file modifications. @@ -9676,6 +9691,8 @@ softwarePlugins: plugins: - https://github.com/databus23/helm-diff - https://github.com/jkroepke/helm-secrets + - repo: helm repo add cloudflare-exporter https://lablabs.github.io/cloudflare-exporter/ + install: helm install cloudflare-exporter/cloudflare-exporter krew: plugins: - access-matrix