Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/ring.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ export const RING: RingSite[] = [
{ name: 'board.saas', about: 'Board as a Service: five AI advisors and a chair debate your decision brief and write the minutes. First meeting free. API, CLI, MCP, TUI.', moshpit: true, keywords: ['board of advisors', 'advisory board', 'board meeting', 'business decision', 'ai advisors', 'cfo advice'] },
{ name: 'influencer.marketing.pit.world', about: 'autoinfluencer: your social media manager in your own voice. Native posts for every network, repurposing, value-adding replies, a posting calendar. Sign in with CoinPay; MCP, CLI and desktop too.', moshpit: false, keywords: ['social media manager', 'ai influencer', 'social media posts', 'content calendar', 'ghostwriter', 'linkedin posts', 'bluesky'] },
{ name: 'security.agent', keywords: ['ai agent security', 'ip reputation', 'malware hash', 'threatcrush', 'mcp security'], about: 'A security team for your AI agent. Sign in with ThreatCrush; check IPs, domains and files, read findings, and give your agent your own desktop.', moshpit: true },
{ name: 'sk33p.pwa.pit.world', about: 'sk33p: a spreadsheet for the terminal (opens and saves .xlsx, 344 Excel functions) plus a hosted formula API and remote MCP for agents. Free tier; Pro via CoinPay.', moshpit: false, keywords: ['spreadsheet', 'terminal spreadsheet', 'xlsx', 'excel formulas', 'excel api', 'xlsx to csv', 'spreadsheet mcp'] },
]

let source: (() => ListingMember[]) | null = null
Expand Down
5 changes: 3 additions & 2 deletions test/pit.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -970,8 +970,9 @@ describe('the Moshpit ring', () => {
expect(neighbors('mums.flower').next.name).toBe('board.saas')
expect(neighbors('board.saas').next.name).toBe('influencer.marketing.pit.world')
expect(neighbors('influencer.marketing.pit.world').next.name).toBe('security.agent')
expect(neighbors('security.agent').next.name).toBe('pit.world')
expect(neighbors('pit.world').prev.name).toBe('security.agent')
expect(neighbors('security.agent').next.name).toBe('sk33p.pwa.pit.world')
expect(neighbors('sk33p.pwa.pit.world').next.name).toBe('pit.world')
expect(neighbors('pit.world').prev.name).toBe('sk33p.pwa.pit.world')
expect(neighbors('WWW.SEO.RANK.').next.name).toBe('family.ancestry')
for (const r of [0, 0.5, 0.99]) expect(randomSite('seo.rank', () => r).name).not.toBe('seo.rank')
})
Expand Down
10 changes: 6 additions & 4 deletions test/pros.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ describe('the pit.world ring: claimed listings join it', () => {
expect(names).not.toContain('acme-plumbing.com')
expect((await h.listings.get('acme-plumbing.com'))!.ring).toBe(false)
expect(await (await h.request('/b/acme-plumbing.com/edit')).text()).not.toContain('Leave the ring')
expect(names.slice(0, 21)).toEqual([
expect(names.slice(0, 22)).toEqual([
'pit.world',
'seo.rank',
'family.ancestry',
Expand All @@ -288,16 +288,18 @@ describe('the pit.world ring: claimed listings join it', () => {
'board.saas',
'influencer.marketing.pit.world',
'security.agent',
'sk33p.pwa.pit.world',
])
expect(ring.sites.at(-1)).toMatchObject({ name: 'acme.pit.world', listing: true, moshpit: false, feed: 'https://acme.pit.world/rss.xml' })
expect((await h.request('/ring/next?from=https%3A%2F%2Fmy.ip%2F&direct=1')).headers.get('location')).toBe('https://auctions.pit.world/')
expect((await h.request('/ring/next?from=https%3A%2F%2Fauctions.pit.world%2F&direct=1')).headers.get('location')).toBe('https://mums.flower/')
expect((await h.request('/ring/next?from=https%3A%2F%2Fmums.flower%2F&direct=1')).headers.get('location')).toBe('https://board.saas/')
expect((await h.request('/ring/next?from=https%3A%2F%2Fboard.saas%2F&direct=1')).headers.get('location')).toBe('https://influencer.marketing.pit.world/')
expect((await h.request('/ring/next?from=https%3A%2F%2Finfluencer.marketing.pit.world%2F&direct=1')).headers.get('location')).toBe('https://security.agent/')
expect((await h.request('/ring/next?from=https%3A%2F%2Fsecurity.agent%2F&direct=1')).headers.get('location')).toBe('https://acme.pit.world/')
expect((await h.request('/ring/next?from=https%3A%2F%2Fsecurity.agent%2F&direct=1')).headers.get('location')).toBe('https://sk33p.pwa.pit.world/')
expect((await h.request('/ring/next?from=https%3A%2F%2Fsk33p.pwa.pit.world%2F&direct=1')).headers.get('location')).toBe('https://acme.pit.world/')
expect((await h.request('/ring/next?from=acme.pit.world')).headers.get('location')).toBe('https://pit.world/')
expect((await h.request('/ring/prev', { headers: { referer: 'https://www.acme.pit.world/about' } })).headers.get('location')).toBe('https://security.agent.pit.world/')
expect((await h.request('/ring/prev', { headers: { referer: 'https://www.acme.pit.world/about' } })).headers.get('location')).toBe('https://sk33p.pwa.pit.world/')
expect((await h.request('/ring/random?from=acme.pit.world')).headers.get('cache-control')).toBe('no-store')
const page = await (await h.request('/ring')).text()
expect(page).toContain('href="/b/acme.pit.world"')
Expand All @@ -316,7 +318,7 @@ describe('the pit.world ring: claimed listings join it', () => {
const ok = await (await h.form('/b/acme.bakery/verify', { claim: start.claimId })).text()
expect(ok).toContain('pit.world/ring/next?from=https%3A%2F%2Facme.bakery%2F')
expect(ok).toContain('https://rssamplifier.com/ring/pit-world')
expect(neighbors('security.agent').next).toMatchObject({ name: 'acme.bakery', moshpit: true })
expect(neighbors('sk33p.pwa.pit.world').next).toMatchObject({ name: 'acme.bakery', moshpit: true })
})
})

Expand Down
Loading