Discord Bot

Upload files to IPFS and deploy websites directly from any Discord server. Each server connects its own wallet — one bot, many communities, fully isolated budgets.

What It Does

Each Discord server runs with its own wallet and budget. Server admins run /setup once to connect a wallet — members use slash commands or just @mention the bot to chat with it.

Upload & Deploy

Upload any file or deploy a full website to IPFS with a single slash command. Cost is shown before you confirm — no surprises.

AI @mention replies

Mention @Glashaus in any message to chat with the bot. It can answer questions, fetch your stats, check analytics, and upload files from URLs.

Per-server budgets

Each server sets its own monthly USDC ceiling. Uploads that would exceed the limit are blocked automatically — no shared cost between servers.

GitHub Free Tier

Link a GitHub account to unlock 100 MB/day for 1-day pins at zero cost — no wallet funds needed for small uploads.

Non-Custodial

Each server admin stores their own private key — encrypted on the bot server, never shared. The Glashaus API only receives signed payment proofs.

Admin controls

Setup, limit changes, and wallet management are restricted to Discord Administrator permission. No extra configuration required.

Add to Your Server

You need Administrator permission on your Discord server. The bot is ready to use in under two minutes.

1

Invite the bot

Open the invite link in your browser, select your server from the dropdown, and click Authorise. The bot joins immediately.

2

Run /setup

As a server admin, run /setup in any channel. An ephemeral wizard appears — only you can see it.

/setup
3

Generate or import a wallet

The wizard shows two buttons. Click "Generate wallet" for a brand-new EVM wallet — the bot creates one instantly and shows you the private key (save it!) with a pre-filled setup form. Or click "I have a wallet" to enter your own private key.

4

Set your monthly spending limit

The setup form includes a monthly USDC spending cap (default 10 USDC). Adjust it to match how much you want the server to spend on uploads per month. You can change it any time with /setlimit.

5

Fund the wallet and start uploading

Send USDC on Base to the wallet address shown in the setup confirmation. Then any server member can run /upload or mention @Glashaus to get started.

/upload ← attach a file

Slash Commands

Setup

/setupadmin

Interactive wallet setup wizard — generate a new wallet or import an existing one, set spending limit

Wallet & Budget

/wallet

Show this server's wallet address, monthly spend, and GitHub free tier status

/budget

Monthly USDC spending summary and remaining allowance

/setlimit <amount>admin

Change the monthly USDC spending cap for this server

GitHub Free Tier

/github status

Check whether this server's wallet has a GitHub account linked

/github link <token>admin

Link a GitHub PAT (read:user scope) — DM only

Upload & Deploy

/upload

Attach a file and upload it to IPFS — shows cost estimate and asks for confirmation

/deploy

Attach a ZIP containing index.html to deploy a website to IPFS

/files

List all files pinned by this server's wallet

/stats

Storage statistics: total pins, bytes used, and estimated cost

Analytics & Domains

/analytics <cid> [days]

View traffic and bandwidth for a pinned CID — default last 7 days, no wallet needed

/status <cid>

Check whether a CID is live and its gateway URL

/domain add <cid> <domain>

Map a custom domain to a deployed CID

/domain remove <domain>

Remove a custom domain mapping

/domain list

List all custom domains linked to this server's wallet

Platform Info

/pricing

Storage rates and free tier details

/info

System info, version, and network details

/explain

How Glashaus, x402 payments, and IPFS pinning work

Talk to the Bot

Instead of slash commands, you can just @mention Glashaus in any message. Claude reads your request and calls the right tools automatically.

@Glashaus what are my storage stats?
@Glashaus pin this image: https://example.com/photo.jpg
@Glashaus how much have we spent this month?
@Glashaus list our last 5 uploaded files
@Glashaus what does x402 mean?

File attachments in mentions are not supported — use /upload for those. URLs work fine.

Free Tier

100 MB/day — No Wallet Funds Needed

  • Link a GitHub Personal Access Token once via /github link
  • Up to 100 MB per day for 1-day pins at zero USDC cost
  • Quota is per GitHub user — not per wallet, so it travels with the account
  • PAT only needs read:user scope — create at github.com/settings/tokens
  • For longer pins or larger files, fund the wallet with USDC on Base — see pricing

Ready to Add the Bot?

One invite, one /setup, and your server is live on IPFS.