From 044b7142958fe074d054942adf11a9e9722322ec Mon Sep 17 00:00:00 2001 From: JustTemmie <47639983+JustTemmie@users.noreply.github.com> Date: Fri, 2 May 2025 02:57:46 +0200 Subject: [PATCH 1/5] feat: include data for other platforms to generate embeds --- nuxt.config.ts | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/nuxt.config.ts b/nuxt.config.ts index c27a274..faf56fd 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -2,5 +2,19 @@ export default defineNuxtConfig({ compatibilityDate: '2024-11-01', devtools: { enabled: true }, - modules: ['@nuxt/fonts', '@nuxt/image'] + modules: ['@nuxt/fonts', '@nuxt/image'], + app: { + head: { + title: 'Gorb - The Chat App', + // this is purely used to embed in that other chat app, and similar stuff + meta: [ + { property: 'og:title', content: 'Gorb - The Federated Chat App' }, + { property: 'og:description', content: 'GORB! The open-source and federated chat application!' }, + // { property: 'og:image', content: 'missing' }, + { property: 'og:url', content: 'https://gorb.app' }, + { property: 'og:type', content: 'website' }, + { property: 'og:site_name', content: 'Gorb' } + ] + } + } }) \ No newline at end of file From eb467e3255be9b9757996ba32ae96bf5fcb20d33 Mon Sep 17 00:00:00 2001 From: Radical Date: Mon, 5 May 2025 03:08:31 +0200 Subject: [PATCH 2/5] ci: add ci to automatically publish new versions --- .woodpecker/build.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .woodpecker/build.yml diff --git a/.woodpecker/build.yml b/.woodpecker/build.yml new file mode 100644 index 0000000..0a51867 --- /dev/null +++ b/.woodpecker/build.yml @@ -0,0 +1,20 @@ +steps: + - name: build + image: node:alpine + commands: + - npm install -g pnpm + - pnpm install + - pnpm build + + - name: publish + image: debian:12 + commands: + - apt update -y && apt install -y rsync openssh-client + - printf "Host *\n StrictHostKeyChecking no" >> /etc/ssh/ssh_config + - ssh-agent bash -c "ssh-add <(echo '$KEY' | base64 -d) && rsync --archive --verbose --compress --hard-links --delete-during --partial --progress ./.output/ root@gorb.app:/var/www/gorb.app && ssh root@gorb.app systemctl restart gorb.app.service" + environment: + KEY: + from_secret: ssh_key + when: + - branch: main + event: push From 1f7ec956ca92a7cd7a4fe67137a53678e127943d Mon Sep 17 00:00:00 2001 From: Radical Date: Mon, 5 May 2025 03:13:09 +0200 Subject: [PATCH 3/5] ci: add when to build step --- .woodpecker/build.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.woodpecker/build.yml b/.woodpecker/build.yml index 0a51867..13d578b 100644 --- a/.woodpecker/build.yml +++ b/.woodpecker/build.yml @@ -5,6 +5,9 @@ steps: - npm install -g pnpm - pnpm install - pnpm build + when: + - event: push + - event: pull_request - name: publish image: debian:12 From f6047894e0db5ccdd84702d53e4311407db02d4e Mon Sep 17 00:00:00 2001 From: SauceyRed Date: Mon, 5 May 2025 11:16:24 +0200 Subject: [PATCH 4/5] feat: add Discord embed color meta tag --- nuxt.config.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nuxt.config.ts b/nuxt.config.ts index faf56fd..54649b8 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -13,7 +13,8 @@ export default defineNuxtConfig({ // { property: 'og:image', content: 'missing' }, { property: 'og:url', content: 'https://gorb.app' }, { property: 'og:type', content: 'website' }, - { property: 'og:site_name', content: 'Gorb' } + { property: 'og:site_name', content: 'Gorb' }, + { property: 'theme-color', content: "#c200c2" } ] } } From 1e261d1a1bf35325e74065d52c8198faf91eed00 Mon Sep 17 00:00:00 2001 From: SauceyRed Date: Mon, 5 May 2025 11:18:09 +0200 Subject: [PATCH 5/5] feat: set custom title and description for homepage --- pages/index.vue | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pages/index.vue b/pages/index.vue index 5d53c22..c7eac12 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -15,6 +15,13 @@