summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJay V <[email protected]>2025-07-07 14:44:37 -0400
committerJay V <[email protected]>2025-07-07 14:44:37 -0400
commit76b2e4539cb97bae5812ed2d832ce49d02e70c64 (patch)
treec4aa3b81f1f8f1a42009c81d3e6d653839cf9218
parentd87922c0eb83e335a654f091f560262337b7fcfe (diff)
downloadopencode-76b2e4539cb97bae5812ed2d832ce49d02e70c64.tar.gz
opencode-76b2e4539cb97bae5812ed2d832ce49d02e70c64.zip
docs: discord
-rw-r--r--README.md4
-rw-r--r--packages/web/astro.config.mjs5
-rw-r--r--packages/web/config.mjs1
3 files changed, 7 insertions, 3 deletions
diff --git a/README.md b/README.md
index 24841799a..cf2aa6fe2 100644
--- a/README.md
+++ b/README.md
@@ -9,7 +9,7 @@
</p>
<p align="center">AI coding agent, built for the terminal.</p>
<p align="center">
- <a href="https://opencode.ai/docs"><img alt="View docs" src="https://img.shields.io/badge/view-docs-blue?style=flat-square" /></a>
+ <a href="https://discord.gg/opencode"><img alt="Discord" src="https://img.shields.io/discord/1391832426048651334?style=flat-square&label=discord" /></a>
<a href="https://www.npmjs.com/package/opencode-ai"><img alt="npm" src="https://img.shields.io/npm/v/opencode-ai?style=flat-square" /></a>
<a href="https://github.com/sst/opencode/actions/workflows/publish.yml"><img alt="Build status" src="https://img.shields.io/github/actions/workflow/status/sst/opencode/publish.yml?style=flat-square&branch=dev" /></a>
</p>
@@ -76,4 +76,4 @@ The other confusingly named repo has no relation to this one. You can [read the
---
-**Join our community** [YouTube](https://www.youtube.com/c/sst-dev) | [X.com](https://x.com/SST_dev)
+**Join our community** [Discord](https://discord.gg/opencode) | [YouTube](https://www.youtube.com/c/sst-dev) | [X.com](https://x.com/SST_dev)
diff --git a/packages/web/astro.config.mjs b/packages/web/astro.config.mjs
index 0c3a5ecc5..5095edc5c 100644
--- a/packages/web/astro.config.mjs
+++ b/packages/web/astro.config.mjs
@@ -31,7 +31,10 @@ export default defineConfig({
starlight({
title: "opencode",
expressiveCode: { themes: ["github-light", "github-dark"] },
- social: [{ icon: "github", label: "GitHub", href: config.github }],
+ social: [
+ { icon: "github", label: "GitHub", href: config.github },
+ { icon: "discord", label: "Dscord", href: config.discord }
+ ],
head: [
{
tag: "link",
diff --git a/packages/web/config.mjs b/packages/web/config.mjs
index b6ec26e37..f4c2fe994 100644
--- a/packages/web/config.mjs
+++ b/packages/web/config.mjs
@@ -2,6 +2,7 @@ export default {
url: "https://opencode.ai",
socialCard: "https://social-cards.sst.dev",
github: "https://github.com/sst/opencode",
+ discord: "https://discord.gg/opencode",
headerLinks: [
{ name: "Home", url: "/" },
{ name: "Docs", url: "/docs/" },