-
-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy pathcommunity.html
More file actions
358 lines (338 loc) · 16.3 KB
/
Copy pathcommunity.html
File metadata and controls
358 lines (338 loc) · 16.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
<!doctype html>
<html lang="en">
<head>
<script>/* three.ws theme boot — no-flash; runtime in /theme-switcher.js */(function(){try{var m=localStorage.getItem('twx_theme');var l=m==='auto'?(window.matchMedia&&window.matchMedia('(prefers-color-scheme: light)').matches):m==='light';document.documentElement.setAttribute('data-theme',l?'light':'dark');}catch(e){document.documentElement.setAttribute('data-theme','dark');}})();</script>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title data-i18n="community.meta_title">Community — three.ws</title>
<meta name="description" content="Join the three.ws community — follow builds, share agents, and connect with creators building the 3D agent layer of the internet." data-i18n-attr="content:community.meta_description"/>
<meta name="theme-color" content="#000000" />
<link rel="icon" href="/favicon.ico" sizes="any" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" />
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" />
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
<link rel="manifest" href="/manifest.webmanifest" />
<meta property="og:type" content="website" />
<meta property="og:site_name" content="three.ws" />
<meta property="og:title" content="Community — three.ws" data-i18n-attr="content:community.meta_og_title"/>
<meta property="og:description" content="Follow builds, share agents, and connect with creators building the 3D agent layer of the internet." data-i18n-attr="content:community.meta_og_description"/>
<meta property="og:url" content="https://three.ws/community" />
<meta property="og:image" content="https://three.ws/api/page-og?s=main&t=Community&d=Live+platform+activity+plus+where+to+follow%2C+contribute%2C+and+connect+with+three.ws+creators.&p=%2Fcommunity" />
<link rel="canonical" href="https://three.ws/community" />
<link rel="stylesheet" href="/style.css" />
<link rel="stylesheet" href="/nav.css" />
<link rel="stylesheet" href="/footer.css" />
<link rel="stylesheet" href="/fonts/fonts.css" />
<link rel="stylesheet" href="/mobile.css" />
<script defer src="/footer-newsletter.js"></script>
<style>
:root {
color-scheme: dark;
--bg: #000000;
--panel: #141414;
--border: #222222;
--text: #e8e8f0;
--muted: #888888;
--accent: #ffffff;
}
* { box-sizing: border-box; }
body {
font: 15px/1.6 -apple-system, system-ui, "Segoe UI", Roboto, sans-serif;
color: var(--text);
margin: 0;
background: var(--bg);
min-height: 100vh;
}
.wrap { max-width: 860px; margin: 0 auto; padding: 64px 24px 96px; }
.eyebrow {
font-size: 12px;
letter-spacing: 0.14em;
text-transform: uppercase;
color: var(--accent);
font-weight: 600;
margin-bottom: 14px;
}
h1 {
font-size: clamp(32px, 5vw, 48px);
margin: 0 0 14px;
letter-spacing: -0.025em;
line-height: 1.1;
font-weight: 600;
}
.sub { color: var(--muted); font-size: 17px; margin: 0 0 48px; max-width: 620px; line-height: 1.55; }
.grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 18px;
margin-bottom: 48px;
}
@media (max-width: 640px) { .grid { grid-template-columns: 1fr; } }
.card {
background: var(--panel);
border: 1px solid var(--border);
border-radius: 16px;
padding: 28px 24px;
display: flex;
flex-direction: column;
gap: 12px;
transition: border-color 0.15s;
}
.card:hover { border-color: #333333; }
.card h2 { margin: 0; font-size: 18px; font-weight: 600; }
.card p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.card .icon { font-size: 28px; }
.card-link {
display: inline-flex;
align-items: center;
gap: 6px;
color: var(--accent);
text-decoration: none;
font-size: 14px;
font-weight: 600;
margin-top: auto;
}
.card-link:hover { text-decoration: underline; }
.section { margin-bottom: 48px; }
.section h2 { font-size: 22px; margin: 0 0 16px; font-weight: 600; }
.section p { color: var(--muted); font-size: 15px; line-height: 1.6; max-width: 620px; }
.section ul { margin: 12px 0 0; padding-left: 20px; }
.section li { color: var(--muted); font-size: 14.5px; margin-bottom: 8px; line-height: 1.5; }
.section li strong { color: var(--text); }
a { color: var(--accent); }
.activity-head {
display: flex;
align-items: baseline;
justify-content: space-between;
gap: 12px;
margin-bottom: 16px;
}
.activity-head h2 { margin: 0; }
.activity-head a {
font-size: 13.5px;
font-weight: 600;
text-decoration: none;
white-space: nowrap;
}
.activity-head a:hover { text-decoration: underline; }
.activity-list {
border: 1px solid var(--border);
border-radius: 16px;
background: var(--panel);
overflow: hidden;
}
.activity-row {
display: flex;
align-items: center;
gap: 12px;
padding: 14px 18px;
border-bottom: 1px solid var(--border);
text-decoration: none;
color: inherit;
transition: background 0.15s;
animation: activity-in 0.35s ease both;
}
@keyframes activity-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.activity-row:last-child { border-bottom: none; }
.activity-row:hover { background: #1a1a1a; }
.activity-avatar {
width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
background: #1e1e1e; border: 1px solid var(--border);
object-fit: cover; display: flex; align-items: center; justify-content: center;
color: var(--muted); font-size: 0.95rem; overflow: hidden;
}
.activity-avatar img { width: 100%; height: 100%; object-fit: cover; }
.activity-thumb {
width: 40px; height: 40px; border-radius: 8px; flex-shrink: 0;
background: #1e1e1e; object-fit: cover; overflow: hidden;
display: flex; align-items: center; justify-content: center; color: var(--muted);
}
.activity-thumb img { width: 100%; height: 100%; object-fit: cover; }
.activity-text { flex: 1; min-width: 0; }
.activity-line {
font-size: 14px;
color: var(--text);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.activity-line strong { font-weight: 600; }
.activity-verb { color: var(--muted); font-weight: 400; }
.activity-time { font-size: 12px; color: var(--muted); margin-top: 2px; }
.activity-empty, .activity-error {
padding: 32px 18px;
text-align: center;
color: var(--muted);
font-size: 14px;
}
.activity-skeleton {
height: 62px;
border-bottom: 1px solid var(--border);
background: linear-gradient(90deg, #161616 25%, #1c1c1c 37%, #161616 63%);
background-size: 400% 100%;
animation: activity-shimmer 1.4s ease infinite;
}
@keyframes activity-shimmer { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }
</style>
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="Community · three.ws" data-i18n-attr="content:community.meta_twitter_title">
<meta name="twitter:description" content="Featured creators, builds, and conversations from the three.ws community." data-i18n-attr="content:community.meta_twitter_description">
<meta name="twitter:image" content="https://three.ws/api/page-og?s=main&t=Community&d=Live+platform+activity+plus+where+to+follow%2C+contribute%2C+and+connect+with+three.ws+creators.&p=%2Fcommunity">
<script type="application/ld+json">{"@context":"https://schema.org","@type":"WebPage","name":"Community","description":"Featured creators, builds, and conversations from the three.ws community.","url":"https://three.ws/community","isPartOf":{"@type":"WebSite","name":"three.ws","url":"https://three.ws"}}</script>
<meta name="robots" content="index, follow, max-image-preview:large, max-snippet:-1">
<meta property="og:locale" content="en_US">
<meta property="og:image:alt" content="Community — three.ws">
<meta name="twitter:site" content="@trythreews">
</head>
<body>
<header><div id="nav-container"></div></header>
<script src="/nav.js"></script>
<div class="wrap">
<div class="eyebrow">Community</div>
<h1 data-i18n="community.build_with_us">Build with us.</h1>
<p class="sub" data-i18n="community.three_ws_is_built_in_the_open">three.ws is built in the open. Follow along, share what you're building, and help shape the 3D agent layer of the internet.</p>
<div class="section">
<div class="activity-head">
<h2 data-i18n="community.live_activity">Live activity</h2>
<a href="/feed" data-i18n="community.open_the_full_feed">Open the full feed →</a>
</div>
<div class="activity-list" id="community-activity">
<div class="activity-skeleton"></div>
<div class="activity-skeleton"></div>
<div class="activity-skeleton"></div>
</div>
</div>
<div class="grid">
<div class="card">
<span class="icon" data-i18n="community.text">𝕏</span>
<h2 data-i18n="community.follow_on_x">Follow on X</h2>
<p data-i18n="community.live_builds_demos_release_notes_and_conversa">Live builds, demos, release notes, and conversations with the team. Most day-to-day updates happen here.</p>
<a class="card-link" href="https://x.com/trythreews" target="_blank" rel="noopener noreferrer" data-i18n="community.trythreews">@trythreews →</a>
</div>
<div class="card">
<span class="icon">🛠</span>
<h2 data-i18n="community.github">GitHub</h2>
<p data-i18n="community.the_codebase_is_public_file_issues_read">The codebase is public. File issues, read the source, or submit a PR. SDKs, examples, and the embed runtime all live here.</p>
<a class="card-link" href="https://github.com/nirholas/three.ws" target="_blank" rel="noopener noreferrer" data-i18n="community.nirholas_three_ws">nirholas/three.ws →</a>
</div>
<div class="card">
<span class="icon">📚</span>
<h2 data-i18n="community.docs">Docs</h2>
<p data-i18n="community.api_reference_embed_guides_sdk_quickstarts_a">API reference, embed guides, SDK quickstarts, and the Solana agent-kit. Start here if you're integrating.</p>
<a class="card-link" href="/docs" data-i18n="community.read_the_docs">Read the docs →</a>
</div>
<div class="card">
<span class="icon">🎓</span>
<h2 data-i18n="community.tutorials">Tutorials</h2>
<p data-i18n="community.step_by_step_guides_for_creating_your">Step-by-step guides for creating your first agent, embedding on your site, minting on Solana, and adding paid skills.</p>
<a class="card-link" href="/tutorials" data-i18n="community.browse_tutorials">Browse tutorials →</a>
</div>
<div class="card">
<span class="icon">🏆</span>
<h2 data-i18n="community.rankings">Rankings</h2>
<p data-i18n="community.the_cross_surface_leaderboard_creations_remi">The cross-surface leaderboard — creations, remixes, launches, followers, and walk distance. Build a daily streak and earn badges.</p>
<a class="card-link" href="/rankings" data-i18n="community.see_who_s_ranked">See who's ranked →</a>
</div>
</div>
<div class="section">
<h2 data-i18n="community.ways_to_get_involved">Ways to get involved</h2>
<ul>
<li data-i18n-html="community.ship_an_agent_create_one_at_create"><strong>Ship an agent.</strong> Create one at <a href="/create">/create</a>, embed it on your site, and share it on X with #threews.</li>
<li data-i18n-html="community.report_bugs_open_an_issue_on_github"><strong>Report bugs.</strong> Open an issue on <a href="https://github.com/nirholas/three.ws/issues" target="_blank" rel="noopener noreferrer">GitHub</a> — we triage daily.</li>
<li data-i18n-html="community.contribute_code_prs_are_welcome_check_the"><strong>Contribute code.</strong> PRs are welcome. Check the repo for open issues labeled <code>good first issue</code>.</li>
<li data-i18n-html="community.build_an_integration_the_mcp_server_a2a"><strong>Build an integration.</strong> The MCP server, A2A protocol, and x402 payment layer are all open for third-party tools.</li>
<li data-i18n-html="community.share_feedback_tweet_at_us_open_a"><strong>Share feedback.</strong> Tweet at us, open a discussion on GitHub, or email <a href="mailto:support@three.ws">support@three.ws</a>.</li>
</ul>
</div>
<div class="section">
<h2 data-i18n="community.newsletter">Newsletter</h2>
<p data-i18n="community.weekly_updates_on_features_protocol_changes">Weekly updates on features, protocol changes, and community highlights. No spam — unsubscribe anytime.</p>
</div>
</div>
<div id="footer-container"></div>
<script src="/footer.js"></script>
<script src="/brand.js" defer></script>
<script type="module">
const esc = (s) =>
String(s ?? '').replace(/[&<>"']/g, (c) => ({ '&': '&', '<': '<', '>': '>', '"': '"', "'": ''' })[c]);
const attr = (s) => esc(s).replace(/"/g, '"');
const el = document.getElementById('community-activity');
const VERB = {
avatar: 'created a new avatar',
agent: 'launched an agent',
coin: 'launched a coin',
model: 'forged a 3D model',
world: 'built a world',
};
const GLYPH = { avatar: '◎', agent: '🤖', coin: '◉', model: '✦', world: '🌐', follow: '⇢' };
function relTime(iso) {
const then = new Date(iso).getTime();
if (!Number.isFinite(then)) return '';
const diff = Math.max(0, Date.now() - then);
const m = Math.floor(diff / 60000);
if (m < 1) return 'just now';
if (m < 60) return `${m}m ago`;
const h = Math.floor(m / 60);
if (h < 24) return `${h}h ago`;
const d = Math.floor(h / 24);
return d < 30 ? `${d}d ago` : new Date(iso).toLocaleDateString(undefined, { month: 'short', day: 'numeric' });
}
function rowEl(it) {
const a = it.actor || {};
const name = esc(a.display_name || 'A three.ws creator');
const nameHtml = a.username ? `<a href="/u/${attr(a.username)}" style="color:inherit;text-decoration:none">${name}</a>` : name;
const avatarHtml = a.avatar_url
? `<img src="${attr(a.avatar_url)}" alt="" loading="lazy" referrerpolicy="no-referrer">`
: GLYPH[it.kind] || '◎';
if (it.kind === 'follow') {
const t = it.target || {};
return `
<a class="activity-row" href="${attr(it.href)}">
<span class="activity-avatar">${avatarHtml}</span>
<div class="activity-text">
<div class="activity-line"><strong>${nameHtml}</strong> <span class="activity-verb">followed</span> <strong>${esc(t.display_name)}</strong></div>
<div class="activity-time">${esc(relTime(it.created_at))}</div>
</div>
</a>
`;
}
const verb = it.kind === 'model' && it.isRemix ? 'remixed a 3D model' : VERB[it.kind] || 'shared something';
const thumbHtml = it.image
? `<img src="${attr(it.image)}" alt="" loading="lazy" referrerpolicy="no-referrer">`
: (GLYPH[it.kind] || '◎');
return `
<a class="activity-row" href="${attr(it.href)}"${it.external ? ' target="_blank" rel="noopener"' : ''}>
<span class="activity-avatar">${avatarHtml}</span>
<div class="activity-text">
<div class="activity-line"><strong>${nameHtml}</strong> <span class="activity-verb">${esc(verb)}</span> — ${esc(it.title || 'Untitled')}</div>
<div class="activity-time">${esc(relTime(it.created_at))}</div>
</div>
<span class="activity-thumb">${thumbHtml}</span>
</a>
`;
}
(async function load() {
let res;
try {
res = await fetch('/api/users/me/feed?scope=all&limit=10');
} catch {
el.innerHTML = `<div class="activity-error">Could not load live activity right now.</div>`;
return;
}
if (!res.ok) {
el.innerHTML = `<div class="activity-error">Could not load live activity right now.</div>`;
return;
}
const data = await res.json();
const items = data.items || [];
if (!items.length) {
el.innerHTML = `<div class="activity-empty">Nothing has happened yet — be the first to <a href="/create">create something</a>.</div>`;
return;
}
el.innerHTML = items.map(rowEl).join('');
})();
</script>
<!-- Runtime i18n: detects locale, swaps annotated copy, mounts <lang-switcher>. -->
<script type="module" src="/i18n.js"></script>
</body>
</html>