A documentation platform for SQLbase – the cross-platform security scanning toolkit. The site visualizes SQL injection scanning through an interactive, terminal-inspired interface with 3D data structures.
- Retro-futuristic security console: CRT-style visuals, green/amber palette, scanlines, and terminal boot sequence.
- Interactive modules: SQL Injection Visualizer (split-screen code + 3D), Dynamic Testing Simulator, CI/CD Pipeline Visualizer, Security Score Dashboard, Live Terminal.
- Filesystem-style navigation: UNIX-style tree for sqlbase modules (scanner, tester, remediation, etc.).
- Accessibility: Reduced motion respected, semantic HTML, ARIA where needed.
- Next.js 14 (App Router)
- React 18
- Three.js via
@react-three/fiberand@react-three/dreifor 3D - CSS modules for CRT effects, glitch, scanlines
npm install
npm run devOpen http://localhost:3000. Use this for development (hot reload, no upload needed).
To preview the built static site locally (same as after upload):
npm run previewThis builds the site and serves the out/ folder at http://localhost:3000. To preview the exact htdocs folder contents:
npm run preview:htdocsThe site is built as static HTML so you can host it anywhere (including servers that expect index.html in htdocs):
npm run buildThis creates an out/ folder with index.html and assets.
If your host expects index.html (or index.php/index.htm) inside an htdocs directory:
npm run build:htdocsThen upload everything inside the htdocs folder to your server’s htdocs directory. You’ll have htdocs/index.html and the rest of the site files there.
The repo is set up so GitHub builds the site once on each push; you only push source code, no build folder.
-
Push this repo to GitHub (e.g.
mainbranch). Do not commitnode_modules,out, orhtdocscontents. -
Turn on GitHub Pages from Actions
In the repo: Settings → Pages. Under “Build and deployment”, set Source to GitHub Actions. -
Trigger a build
Push tomain(or run the workflow manually: Actions → Deploy to GitHub Pages → Run workflow). The workflow will:- Install dependencies
- Run
npm run build(static export) - Deploy the
out/folder to GitHub Pages
-
Site URL
After the first successful run, the site will be at:- Project site:
https://<your-username>.github.io/<repo-name>/
(e.g.https://nome.github.io/SQLBASEDOCU/)
- Project site:
Workflow file: .github/workflows/deploy-pages.yml.
Only source code and config are tracked. The following are ignored so the repo stays small:
node_modules/– install withnpm installafter clone (or let GitHub Actions install on deploy).next/,out/,htdocs/*– build output; never push these; GitHub builds once on deploy- Logs, IDE files, OS cruft (see
.gitignore)
After cloning, run npm install then npm run dev or npm run preview.
app/– Next.js App Router (layout, page, globals)components/– Hero, Sidebar, SQLInjectionVisualizer, DynamicTestingSimulator, CIPipelineVisualizer, SecurityDashboard, LiveTerminal, InstallUsage, Scene3D
The content (Install/Usage, CI info) is derived from the main SQLbase README and presented in the docs UI.