Admin guide
How to run your classes and share code snippets with participants.
Sign in
- Go to /admin and sign in with the email and password created for you in Supabase.
- You'll see your dashboard. Each instructor only sees and manages the classes they created.
Create a class
- In the New class box, type a name (e.g. Python 101 — Tuesday) and select Create class.
- Grabbit assigns the class a short join code. You can create as many classes as you need, and run several at once — each has its own separate snippet feed.
Invite participants
- Each class card shows a Join link. Select Copy link and share it (chat, slides, email). Participants open it directly — no sign-in needed.
- Or just read out the code; participants can enter it on the home page to join.
Share snippets
- Select Open on a class to reach its page.
- Paste your code into the New snippet box and select Share snippet (or press Cmd/Ctrl + Enter). It appears for participants instantly.
- You can add an optional title above the code (e.g. Exercise 3: binary search) to help participants tell snippets apart. Leave it blank and the snippet posts exactly as before.
- Pick the language next to the title to get syntax highlighting — Python, C, C++, JavaScript or TypeScript. Your choice sticks for the next snippet, so you only set it once per class.
- Leave it on Plain textfor anything that isn't code (announcements, output, notes). Plain text wraps onto the next line instead of scrolling sideways.
- Indentation and tabs are preserved exactly, so Python and other whitespace-sensitive code stays correct. The Tab key inserts a real tab instead of moving focus.
- Only the 10 most recent snippets per class are kept; older ones drop off automatically.
Delete snippets or a class
- To remove a single snippet, select Delete on it, then Confirm?. It disappears for participants too.
- To remove a whole class, select Delete on its dashboard card, then Confirm delete?. This also deletes all of that class's snippets and invalidates its join link.
Roles: admins & super admin
- A regular admin can only manage classes they created.
- A super admin can view and manage every class across all instructors — useful for a course coordinator. Their dashboard shows all classes, marking ones owned by other admins.
- The super-admin role is granted in Supabase by whoever administers the project (see the project README). It takes effect the next time that user signs in.