nandi/gleanpublic⑂ Fork 0
⑂ b421d1f
Commits
⬇ Clone ▾
git clone https://git.rickub.com/nandi/glean.git
git clone ssh://git@rickub.com/nandi/glean.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

Add OG meta tagsUnverified

Julien Robert committed 2026-04-21T12:14:40+02:00 Browse files
b421d1f parent: 01ad903
modified internal/tmpl/base.html +5 -0
@@ -26,6 +26,11 @@
2626 dlg.showModal();
2727 });
2828 </script>
29+ <meta property="og:title" content="Glean">
30+ <meta property="og:description" content="A social RSS reader on the AT Protocol.">
31+ <meta property="og:image" content="/static/favicon.svg">
32+ <meta property="og:type" content="website">
33+ <meta property="og:site_name" content="Glean">
2934 <link rel="icon" type="image/svg+xml" href="/static/favicon.svg">
3035 <link rel="preconnect" href="https://fonts.googleapis.com">
3136 <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
@@ -26,6 +26,11 @@
26 dlg.showModal();26 dlg.showModal();
27 });27 });
28 </script>28 </script>
29+ <meta property="og:title" content="Glean">
30+ <meta property="og:description" content="A social RSS reader on the AT Protocol.">
31+ <meta property="og:image" content="/static/favicon.svg">
32+ <meta property="og:type" content="website">
33+ <meta property="og:site_name" content="Glean">
29 <link rel="icon" type="image/svg+xml" href="/static/favicon.svg">34 <link rel="icon" type="image/svg+xml" href="/static/favicon.svg">
30 <link rel="preconnect" href="https://fonts.googleapis.com">35 <link rel="preconnect" href="https://fonts.googleapis.com">
31 <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>36 <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
modified main.go +1 -1
@@ -26,7 +26,7 @@ func main() {
2626 clusterInterval := flag.Duration("cluster-interval", envDuration("GLEAN_CLUSTER_INTERVAL", 6*time.Hour), "cluster recomputation interval")
2727 flag.Parse()
2828
29- atproto.InitIdentity(envOr("GLEAN_PLC_URL", ""))
29+ atproto.InitIdentity(envOr("GLEAN_PLC_URL", "https://didplc.glean.at"))
3030
3131 logger := slog.New(slog.NewTextHandler(os.Stdout, &slog.HandlerOptions{Level: slog.LevelInfo}))
3232
@@ -26,7 +26,7 @@ func main() {
26 clusterInterval := flag.Duration("cluster-interval", envDuration("GLEAN_CLUSTER_INTERVAL", 6*time.Hour), "cluster recomputation interval")26 clusterInterval := flag.Duration("cluster-interval", envDuration("GLEAN_CLUSTER_INTERVAL", 6*time.Hour), "cluster recomputation interval")
27 flag.Parse()27 flag.Parse()
28 28
29- atproto.InitIdentity(envOr("GLEAN_PLC_URL", ""))29+ atproto.InitIdentity(envOr("GLEAN_PLC_URL", "https://didplc.glean.at"))
30 30
31 logger := slog.New(slog.NewTextHandler(os.Stdout, &slog.HandlerOptions{Level: slog.LevelInfo}))31 logger := slog.New(slog.NewTextHandler(os.Stdout, &slog.HandlerOptions{Level: slog.LevelInfo}))
32 32
modified readme.md +1 -1
@@ -44,7 +44,7 @@ Then open `http://localhost:8080`.
4444 | `GLEAN_JETSTREAM` | `wss://jetstream.glean.at` | Jetstream WebSocket URL |
4545 | `GLEAN_SYNC_INTERVAL` | `1h` | PDS sync interval (Go duration: `30m`, `2h30m`, etc.) |
4646 | `GLEAN_CLUSTER_INTERVAL` | `6h` | Cluster recomputation interval (Go duration) |
47-| `GLEAN_PLC_URL` | `https://plc.directory` | PLC directory URL for DID resolution |
47+| `GLEAN_PLC_URL` | `https://didplc.glean.at` | PLC directory URL for DID resolution |
4848 | `GLEAN_OAUTH_CLIENT_ID` | _(empty)_ | OAuth client metadata URL (leave empty for localhost dev) |
4949 | `GLEAN_OAUTH_REDIRECT_URL` | _(empty)_ | OAuth redirect URL (leave empty for localhost dev) |
5050
@@ -44,7 +44,7 @@ Then open `http://localhost:8080`.
44 | `GLEAN_JETSTREAM` | `wss://jetstream.glean.at` | Jetstream WebSocket URL |44 | `GLEAN_JETSTREAM` | `wss://jetstream.glean.at` | Jetstream WebSocket URL |
45 | `GLEAN_SYNC_INTERVAL` | `1h` | PDS sync interval (Go duration: `30m`, `2h30m`, etc.) |45 | `GLEAN_SYNC_INTERVAL` | `1h` | PDS sync interval (Go duration: `30m`, `2h30m`, etc.) |
46 | `GLEAN_CLUSTER_INTERVAL` | `6h` | Cluster recomputation interval (Go duration) |46 | `GLEAN_CLUSTER_INTERVAL` | `6h` | Cluster recomputation interval (Go duration) |
47-| `GLEAN_PLC_URL` | `https://plc.directory` | PLC directory URL for DID resolution |47+| `GLEAN_PLC_URL` | `https://didplc.glean.at` | PLC directory URL for DID resolution |
48 | `GLEAN_OAUTH_CLIENT_ID` | _(empty)_ | OAuth client metadata URL (leave empty for localhost dev) |48 | `GLEAN_OAUTH_CLIENT_ID` | _(empty)_ | OAuth client metadata URL (leave empty for localhost dev) |
49 | `GLEAN_OAUTH_REDIRECT_URL` | _(empty)_ | OAuth redirect URL (leave empty for localhost dev) |49 | `GLEAN_OAUTH_REDIRECT_URL` | _(empty)_ | OAuth redirect URL (leave empty for localhost dev) |
50 50