Tech Arcanist
Get in touch

PSIT Vyomnauts: Club Website, Admin Panel and DIY Lab

A 3D, content-managed website for the aerospace, drone and robotics club of PSIT Kanpur, with its own GitHub-backed admin panel, 24 interactive engineering simulators, recruitment campaigns and a DIY guide platform for members.

Discipline
Software & Web
Contents
60 images
PSIT Vyomnauts: Club Website, Admin Panel and DIY Lab

Introduction

PSIT Vyomnauts is the student aerospace, rocketry, drone and robotics club of Pranveer Singh Institute of Technology (PSIT), Kanpur. The club builds rockets, CanSats, drones and robots and takes them to national competitions: IN-SPACe / ISRO rocketry and CanSat, IIT Bombay e-Yantra, the NIDAR drone competition and Teknofest.

Before this website the club had no home of its own. Projects, results and recruitment lived in scattered Instagram posts and Google Forms. This site gives the club one place that shows what it actually builds: a 3D, content-managed website with its own admin panel, interactive engineering simulators, recruitment campaigns and a DIY guide platform written by club members.

What it had to do

  • Show the real work: every project gets its own page with rounds, specs, photos and videos, and the home page keeps an honest "flight record" that counts every round cleared, not only wins.
  • Teach: each division (Space, Drones, Robotics) has live, interactive simulators of the engineering the team does.
  • Be run by students who are not developers: everything visible on the site is edited in an admin panel that works from any browser.
  • Cost nothing to run: no paid backend. The content lives in the GitHub repository itself and the site is hosted on Vercel's free plan.
  • Let members share builds: club members get their own login, write step-by-step DIY guides, and an admin approves them before they go live.

Tech stack

PartChoiceWhy
FrameworkNext.js 16 (App Router, Cache Components, Turbopack), React 19Fast static public pages, refreshed on demand when the admin saves; server actions for the admin
LanguageTypeScriptOne set of typed data models for the site, the admin and the validator
StylingTailwind CSS v4 with design tokensOne design system ("Mission Gold": dark space, neon gold accents) with an accent theme per division
3Dthree.js through React Three Fiber and dreiThe home intro film, the division 3D teardowns and the recruitment visuals
MotionMotion (Framer Motion), GSAP, LenisPage reveals, the scroll-driven intro film, smooth scrolling
Rich textTipTap in the admin, sanitize-html on saveFormatted descriptions without letting scripts through
SearchcmdkThe Ctrl/⌘+K command palette
Imagessharp on upload, Next ImageUploads kept at up to 4K and re-encoded once to WebP
Sign-inOwn system: scrypt password hashes, signed session cookie, Google Authenticator codes (TOTP) with an encrypted secretNo paid auth service, two-step sign-in for admins
DataNo database server: content.json and a private accounts file in the private GitHub repositoryFree, every edit is a git commit (history and rollback), content can also be edited in code
UploadsCommitted to the repository, served from Vercel's CDNFree
HostingVercel (free plan) with a custom domainFree, analytics included
DeploysA Vercel Deploy Hook behind the admin's "Publish to website" buttonSaves alone do not deploy (the free plan allows 100 deploys a day)
Contact formWeb3FormsEmails the club without a mail server
AnalyticsVercel Web Analytics and Speed Insights (admin pages excluded)
VideoYouTube (loaded only on play), VideoPress, Instagram reels (official embed script)

The first plan was Firebase (Auth and Firestore) with Cloudinary. On day 2 it was replaced by the GitHub-backed store, because the club needed free hosting, editing from anywhere, several admins with a history of every change, and the option to change code and content directly.

How it works

Diagram: visitors read cached Next.js pages built from content.json; admins save drafts as GitHub commits; the Publish button triggers a Vercel build
Visitors only ever see the published deployment. Admin saves become draft commits, and the Publish button turns them into a new deployment.
  • Public pages read the content through cached functions. On Vercel they read the content.json bundled with the deployment, so unpublished drafts never appear on the live site.
  • The admin panel uses server actions. Every action checks the session and permissions again, validates and sanitises the input against a schema, saves it, writes an activity log entry and refreshes the affected pages.
  • Storage: on a local computer the admin reads and writes the JSON files. Online it reads the latest commit through the GitHub API and saves every change as one "[draft]" commit (account-only changes as "[log]" commits). A short-lived cookie remembers the commit just saved, so the next page shows the change even if GitHub's API is a moment behind.
  • Publishing: "Publish to website" calls the Vercel Deploy Hook. Vercel builds the latest version and the drafts go live. The admin sidebar shows "deploying" and the live version.
  • Preview: "Preview website" turns on Next.js Draft Mode for that browser, so the public pages show the latest saved drafts, including DIY guides that are not approved yet (clearly marked).
  • Sign-in and routing guard: signed session cookies, a session version for "sign out everywhere", a separate session type for DIY accounts, the authenticator step and lockouts.
  • Uploads go through sharp and, online, are committed to the repository; admins can preview photos that are not published yet.

The public website

Home: intro film, counters and flight record

The home page opens with a scroll-driven 3D film: two robot arms assemble the TRISHUL II rocket with a CanSat and a drone, captioned Robotics, Drones, CanSat, Rockets, Separation and Launch, then a "Launch now" button and a replay. Scrolling speeds the assembly up, and "Skip intro" jumps straight to the text.

Home page intro film with the TRISHUL II mission briefing
The intro film loading the TRISHUL II mission briefing: solid motor, CanSat payload, 3,000 m apogee, drogue and main recovery.

Below it, four counters show competitions won, rounds cleared, projects built and crew members. They are computed from the real records, not typed in. Three "frontier" cards lead to Rocketry and CanSat, Drones and Robotics.

Home page counters and the Rocketry, Drones and Robotics cards
The four counters and the three frontier cards.

The achievements "flight record" lists every competition with its result (live, winner, finalist, round cleared), a round-by-round progress path, links to project insights and photos, and totals. A competition without rounds counts as one "direct final". The home page also shows the newest approved DIY guides (hidden until there are some) and a highlights carousel the admin can edit.

Achievements flight record with round progress for e-Yantra, the ISRO rocket competition and NIDAR
"We count every round, not just the wins": the flight record.

Projects

All missions in one explorer, filterable by domain and status. Each project page has a cover, status, links, a mission status card (the next round with a countdown, or how far the team got), specs, tech stack, team, a rounds timeline, overview, lessons learned, a photo gallery with a lightbox, videos, previous and next mission, and structured data for Google.

Projects page with filter chips and project cards
The projects explorer with domain and status filters.
Inspace ISRO Rocket Competition 2026 project page
A project page: status, rounds cleared and the rounds timeline.

Videos are light on the page: YouTube loads only after the visitor presses play (a thumbnail stands in until then), VideoPress loads lazily, and Instagram reels show as a 16:9 tile that opens Instagram's official player in a pop-up.

Two reel tiles on a project page
Reels on a project page, with previous and next mission below.
Instagram reel pop-up over the gallery
An Instagram reel opened in the pop-up player, with a visible Close button.

Division pages and interactive labs

Space, Drones and Robotics each have their own page with an accent colour and logo, a hero with stats, a "lab" of interactive simulators, the division's competition record, a skills roadmap, builds and open roles. There are 24 simulators and 3D scenes in total: 7 in Space, 8 in Drones and 9 in Robotics.

Space division page
Space: "Built to leave the atmosphere."
Rocket flight simulator with trajectory and altitude graphs
The flight simulator: motor, mass, fin size, wind and rail tilt, with live trajectory and telemetry.
  • Space lab: flight simulator, stability (CG against CP), dual-deploy recovery, CanSat mission, orbital mechanics, solid motor design, 3D vehicle teardown.
  • Drones lab: motor mixing ("fly it"), PID stabilisation tuning, sensor fusion, autonomous missions, swarm formation, precision landing, 3D drone teardown, fly it yourself.
  • Robotics lab: SLAM, localization, path planning, inverse kinematics, PID control, computer vision, locomotion, 3D rover teardown, drive the rover.
Drones division page
Drones: "Flight, without a pilot."
Drone motor mixing simulator
Fly it: motor mixing in a 3D field, with angle, acro and raw mixer modes.
Robotics division page
Robotics: "We're entering robotics."
SLAM simulator with an occupancy grid
SLAM: a lidar builds an occupancy grid as the robot explores.

Team and member profiles

The crew page has filters by team and batch, search and a shuffle. On purpose there are no ranks, and the order is random on every visit. New recruits in training and mentors have their own blocks. Every card opens the member's profile: photo, teams, class, branch, bio, skills, socials and the DIY guides and series they wrote or helped build. Trainees show only name, photo, branch and teams.

Team page with filters and crew cards
"One crew. Every name.": no titles, no ranks.
Member profile page
A member profile, with the space for their DIY builds.

DIY lab

The DIY lab has Projects, Series and Saved tabs, search, category and difficulty filters, sorting and "pick up where you left off". No guides were approved yet when these screenshots were taken, so the list is still empty.

  • A guide page has a cover, the author and the crew who built it (linking to their profiles), time, parts cost, a video, the materials with buy links and a total, and steps with photos, text, code with a Copy button, Wokwi or Tinkercad simulators, sandboxed HTML demos and downloads. Each step has "Mark done" and a progress panel. Progress and saved guides are kept in the visitor's browser, so visitors need no account.
  • A series page splits a big build into ordered parts, with progress per part and "Continue: part N".
  • Members sign in at a separate DIY login and write in the DIY studio, with the same guide and series editors as the admin, a password change page and sign out. DIY accounts can never open the admin panel.
DIY lab page with tabs and filters
"Build it yourself": the DIY lab, before the first guides.
DIY studio sign-in page
The DIY studio sign-in for crew members.

Every photo published anywhere on the site (projects, achievements, events, highlights, recruitment cards) is collected into the gallery automatically, filterable by event or project, with a full-screen lightbox. Every video on the site sits in a filterable section above it.

Gallery video section with filters and reel tiles
"Watch the missions": every video on the site, filterable by event or project.
Gallery photo grid
"Frames from the field": photos collected from the whole site.
Photo lightbox with the e-Yantra coming soon picture
The full-screen lightbox.

Events and resources

Events shows upcoming launches and workshops with live countdowns, a logbook of past events and announcements. Resources is a library of tutorials, PDFs, videos and roadmaps, filterable by domain and level, with bookmarks saved in the browser.

Events page
"Launch windows and logbook", with an announcement.
Resources page
"Learn what we learn": a recommended path and the library.

Recruitment

The recruitment page lists each track's campaign. Every campaign has its own page with a hero, an interactive 3D "what you'll build" visual (a robot cell, drone PID tuning, a rocket launch), expectations, selection steps and the embedded Google Form, or a closed message.

Recruitment page with three campaign cards
"Choose your track. Prove you belong.": one campaign per track.
Robotics recruitment campaign page
A campaign page for the Robotics division.
Interactive 3D robot cell on the campaign page
"This is what real work here looks like": an interactive robot cell to try.

Contact, search and Lite Mode

The contact form is protected by a hidden honeypot field, a minimum fill time and a rate limit, and on the live site it emails the club through Web3Forms. Ctrl/⌘+K opens a command palette that searches pages, projects and DIY guides. A single Lite Mode switch turns off WebGL, smooth scrolling and heavy motion; it is on by default for people who prefer reduced motion and is set before the first paint.

Contact page
"Talk to mission control."
Command palette listing the site pages
The command palette.

On a phone

The menu, the intro film and every page work at phone width. The navigation itself is edited in the admin.

Home page on a phone
The intro film on a phone.
Mobile menu
The mobile menu with Lite Mode and Search.
Project page on a phone
A project page on a phone.

Custom pages and search engines

  • Custom pages: admins can build full HTML pages at their own address; they are shown sandboxed.
  • SEO: titles and descriptions per page, share images generated by the site, a sitemap (pages, projects, campaigns, DIY, profiles), robots rules, and structured data (Organization, WebSite, BreadcrumbList, CreativeWork, HowTo, Person) that ties the club to PSIT.

The admin panel: Mission Control

Everything visible on the site is edited here, from any browser. There are four kinds of account:

RoleCan do
Super AdminEverything, including accounts and security
EditorFull editor, or a limited editor for ticked areas only (for example Projects or the Home page), with or without the right to publish
ViewerRead-only
DIY accountA team member who writes only their own DIY guides, signing in at the DIY login

Every server action checks these permissions again, so hiding a button is never the only protection.

Dashboard

A welcome, the recruitment status, content counts, drafts waiting, how many DIY guides wait for review and a warning about failed sign-ins. Every admin screen has the sidebar with "Preview website", "Publish to website" and the live version.

Admin dashboard
The dashboard, with recruitment campaigns, quick actions and recent activity.

Projects, achievements and team

Each content type has a list with filters, a publish switch and drag-to-reorder, and an editor generated from the data schema. A project has basics, a cover, a rich-text story, lessons, tech, team, rounds with dates, specs, links, a photo gallery, videos and Instagram reels with optional cover pictures. An achievement has the competition, year, domain, result, rounds and rounds cleared, photos, a certificate and a link.

Admin projects list
The projects list.
Admin project editor
The project editor: basics and the cover.
Admin project media section
Videos and reels with cover pictures.
Admin achievements list
The achievements list.

Members are either elite crew (full card) or in training (only name, photo, branch and teams). The editor has a teams multi-select plus "other" teams, skills with one-click suggestions, socials including a portfolio, and mentor and alumni switches. Events, announcements, resources and sponsors use the same list and editor pattern.

Admin achievement editor
An achievement with its rounds.
Admin team list
The team list.
Admin member editor
The member editor: crew level, teams, batch, branch and photo.

Photos are uploaded with captions and event or project tags. The uploader takes drag and drop, crops each picture to the shape of the spot it goes in (16:9 cards, 3:2 DIY covers and so on), keeps it at up to 4K and checks SVG files for scripts.

Admin gallery
The gallery manager.

Website pages, divisions, menu and custom pages

Every page's header text and photo can be edited, plus the home sections, the team note, contact details, socials and the footer. The division editor holds the Space, Drones and Robotics stats, roadmap, skills, builds and roles. The menu can be reordered, with each link on the bar, under "More" or hidden. Custom pages start from HTML templates or own HTML, with layout, accent, logo and "add to menu".

Admin website pages overview
Pick a page to edit.
Admin home page editor
The home page editor, including the intro film captions.
Admin division editor
The Space division editor.
Admin navigation menu
The navigation menu builder.
Admin custom page editor
A new custom page from a template.

Recruitment campaigns

One campaign per track, with a hero, the Google Form, a closed message, expectations, steps, a card photo and an interactive visual picked from built-in 3D templates or pasted as HTML (sandboxed). A global switch opens or closes recruitment with its own message.

Admin recruitment campaigns
The campaigns list.
Admin campaign editor
A campaign editor with its card photo.
Admin campaign visual picker with templates
The interactive visual picker.
Admin recruitment open and closed switch
Recruitment open or closed, with its message.

Logo, themes and site settings

The site logo, an accent colour and logo per division (with a recolour option), and the club name, institution, tagline and brand line.

Admin logo and themes
Logo and page themes.
Admin site settings
Site settings.

DIY review, guide and series editors

The review queue shows everyone's guides and series with their status: draft, waiting for review, changes requested, approved, or approved with unsent edits. A yellow count in the sidebar shows what is waiting.

The guide editor covers project info, a crew picker (team members only), cover, video, a materials table with prices and a total, and steps (drag to reorder) with photos, content blocks (Text, Code, Video, Simulator, HTML) and attachments. It has Save draft, Send for review, Approve, Ask for changes (with a note for the author), Take off the site, Duplicate, Export and Import (including old Tech Arcanist backups) and Preview. When an author edits an approved guide, the live version stays unchanged until the edit is approved.

Admin DIY guides and series list
The DIY review queue.
Admin DIY guide editor
A new guide: project info and the crew picker.
Admin DIY guide steps
A step with photos, content blocks and attachments.
Admin DIY series editor
The series editor.

Admins, security, activity log and inbox

  • Admins and roles: add admins or DIY accounts (a DIY account must be linked to a real team member), change roles and limited-editor areas, reset passwords, sign out everywhere, delete.
  • Security: a Google Authenticator code for every admin sign-in (QR setup, backup codes), and a log of sign-in events with failed attempts and lockouts. The super admin can reset a password with a backup code.
  • Activity log: who changed what, and when.
  • Inbox: contact messages (used by the local admin).

Names, emails and sign-in details are blurred in these screenshots.

Admin users and roles, names blurred
Admins and roles.
Admin add DIY account form
Adding a DIY account for a team member.
Admin security page, details blurred
Security: Google Authenticator and the sign-in log.
Admin activity log, blurred
The activity log.
Admin inbox
The inbox.

Data model

All the public content is one JSON document, plus one private JSON file. Every content document has an id, a published switch, an order and created and updated dates.

CollectionMain fields
projectsslug, title, tagline, description (sanitised HTML), status, domain, progress, cover, gallery, videos and video covers, links, tech stack, team, milestones, specs, lessons, featured
achievementscompetition, year, domain, result, position, rounds, rounds cleared, summary, certificate, photos, location, link
membersname, role, tier (elite or recruit), teams, year, branch, skills, photo, bio, socials, alumni, mentor
events, announcementstitle, description or body, dates, location, type, cover, registration link, pinned
gallery, resources, sponsorsphoto with caption and tags; resource type, domain, level and tags; sponsor tier, logo and link
recruitmentsslug, title, track, open, deadline, hero texts and image, visual HTML, expectations, steps, Google Form, card image, closed message
pagesslug, title, description, HTML, layout, accent, logo, show in menu
diy, diySeriesguides with author, crew, time, category, difficulty, materials, steps and blocks (text, code, video, simulator, HTML), and review fields; series with ordered guides and crew
settings, divisionsclub details, socials, stats, highlights, menu, themes, logo, all page text; division stats, roadmap, skills, builds and roles
private fileadmin accounts (hashed passwords, roles, areas), the activity log, messages and security settings; never shown publicly

Problems solved

Free hosting hit the deploy limit

Every admin save is a git commit, and Vercel deployed every commit. On 16 October 2026 there were 148 commits in 24 hours, and Vercel's free plan (100 deploys a day) blocked all deploys. Now commits no longer deploy by themselves: the admin's "Publish to website" button calls a Vercel Deploy Hook, saves stay drafts until then, and the sidebar shows the live version and a "deploying" state.

Blank 3D scenes in some browsers

The recruitment visuals ran in a sandboxed iframe, and some Chromium builds never drew the WebGL frames: the text updated but the scene stayed black. The built-in visuals are now recognised exactly and run normally, while anything an admin pastes stays fully sandboxed.

Vercel storage nearly full

Functions storage reached about 9 GB of the 10 GB free allowance. The upload route was bundling all 79 MB of uploaded photos into every server function, and 300 old deployments each kept a copy. The uploads were excluded from the functions, the 300 old deployments deleted (keeping the 3 newest) and a retention policy set so it does not build up again.

Instagram reels would not play

A plain iframe to Instagram stayed blank, because Instagram forbids being framed that way. The site now uses Instagram's official embed script. Reels are tall, so in grids they appear as a 16:9 tile with an optional cover picture that opens the player in a pop-up with a visible "Close · Esc" button.

Students writing guides without weakening admin security

Admin sign-in needs a Google Authenticator code from the super admin's phone, which would block every member. Members got a separate DIY login and studio with their own session type, which the routing guard keeps out of the admin. Every DIY account is tied to a real team member, nothing goes live without approval, and edits to approved guides are held aside until reviewed.

A security block in Next.js stopped publishing

On 14 November 2026 a publish failed: the build refused the installed Next.js version (16.4.0), which had a known vulnerability, and a font download failed in the same build. Next.js was upgraded to the patched 16.4.6, a clean production build checked locally, and the site redeployed. The live site never went down, because a failed build keeps the last good version online.