Compare commits

...

5 commits
v1.0 ... main

Author SHA1 Message Date
1e261d1a1b
feat: set custom title and description for homepage
All checks were successful
ci/woodpecker/push/build Pipeline was successful
2025-05-05 11:18:09 +02:00
f6047894e0
feat: add Discord embed color meta tag 2025-05-05 11:16:24 +02:00
1f7ec956ca ci: add when to build step
All checks were successful
ci/woodpecker/push/build Pipeline was successful
2025-05-05 03:13:09 +02:00
eb467e3255 ci: add ci to automatically publish new versions
All checks were successful
ci/woodpecker/push/build Pipeline was successful
2025-05-05 03:08:31 +02:00
044b714295 feat: include data for other platforms to generate embeds 2025-05-02 02:57:46 +02:00
3 changed files with 46 additions and 1 deletions

23
.woodpecker/build.yml Normal file
View file

@ -0,0 +1,23 @@
steps:
- name: build
image: node:alpine
commands:
- npm install -g pnpm
- pnpm install
- pnpm build
when:
- event: push
- event: pull_request
- 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

View file

@ -2,5 +2,20 @@
export default defineNuxtConfig({ export default defineNuxtConfig({
compatibilityDate: '2024-11-01', compatibilityDate: '2024-11-01',
devtools: { enabled: true }, 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' },
{ property: 'theme-color', content: "#c200c2" }
]
}
}
}) })

View file

@ -15,6 +15,13 @@
<script lang="ts" setup> <script lang="ts" setup>
useHead({
title: "Gorb",
meta: [
{ name: "description", content: "Welcome to Gorb, the Open-Source Chat App!" }
]
});
</script> </script>
<style scoped> <style scoped>