Skip to content

devcodex2025/minebench-ui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

MineBench UI

MineBench UI is the public web surface of the MineBench ecosystem. It is the repository responsible for first impression, product narrative, downloads, dashboard access, leaderboard exposure, and the web-facing onboarding path into the MineBench stack.

In architectural terms, this module is the presentation boundary. It should be rich in product context and light on privileged logic.

What this module owns

  • landing and marketing surfaces
  • public dashboard and statistics views
  • download and release discovery flows
  • whitepaper and ecosystem navigation
  • browser-facing wallet and account entry points
  • server-side API routes that aggregate non-public provider calls for the web app

Design intent

This repository should explain the product clearly while keeping secrets, operator credentials, and backend-only logic out of the browser surface.

That means:

  • all NEXT_PUBLIC_* values must be safe for client exposure
  • server-side tokens must remain in server-only environment variables
  • release and provider integrations must run behind API routes or backend services

Technology stack

  • Next.js
  • React
  • TypeScript
  • Tailwind CSS
  • Supabase

Local development

Install dependencies:

npm install

Create a local environment file:

cp .env.local.example .env.local

Start the development server:

npm run dev

The app is served on http://localhost:3000.

Build

npm run build
npm start

Windows Docker Build And Push

Use Docker Desktop on Windows from the MineBench-UI directory. The script reads browser-safe NEXT_PUBLIC_* build args from .env.local.

Validate the image locally:

.\scripts\build-and-push-windows-docker.ps1 -Load -Tags latest,v0.1.5.6
docker run --rm -p 3099:3000 docker.io/karbivskyi/minebench-ui:latest

Build and push the production image to Docker Hub:

docker login
.\scripts\build-and-push-windows-docker.ps1 -Push -Tags latest,v0.1.5.6

The default target is docker.io/karbivskyi/minebench-ui.

Configuration model

Use browser-safe values only for NEXT_PUBLIC_* variables.

Server-side secrets, including any GitHub release token used by API routes, must remain server-only and must never be exposed through client-rendered code.

Documentation

All repository documentation lives under docs/.

Key entry points:

Security posture

  • never commit .env.local
  • never expose service-role keys in client bundles
  • never hardcode GitHub personal access tokens in tracked source
  • keep server-only secrets limited to API routes or deployment-time injection

License

MIT

About

MineBench — the first eco-friendly benchmark that transforms stability and performance tests into useful computations with rewards.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages