Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/natureloved/HashPilot/llms.txt

Use this file to discover all available pages before exploring further.

HashPilot is a stateless Next.js 14 application — it stores no user data and requires no database. Deploying it is as simple as connecting a repository and setting one environment variable. Vercel is the recommended platform because it is designed around Next.js’s App Router and handles edge cases like streaming API responses out of the box. A live reference deployment is available at https://hashpilot-taupe.vercel.app.

Deploy to Vercel

1

Push your code to GitHub

Make sure your HashPilot fork or clone is pushed to a GitHub repository. Vercel deploys directly from your Git history.
git add .
git commit -m "initial commit"
git push origin main
Confirm that .env.local is in .gitignore and has not been committed. Your API key must not appear in the repository.
2

Import the repository in Vercel

Go to vercel.com/new, log in, and click Import. Select your HashPilot repository.Vercel detects Next.js automatically. Leave the framework preset and build settings at their defaults:
SettingValue
FrameworkNext.js
Build commandnpm run build
Output directory.next
Install commandnpm install
3

Add the environment variable

Before clicking Deploy, expand the Environment Variables section and add:
  • Name: ANTHROPIC_API_KEY
  • Value: your Anthropic API key (sk-ant-api03-...)
Set the environment to Production at minimum. Add Preview as well if you want AI features in branch deployments.
You can also set environment variables after the initial deploy under Project Settings → Environment Variables, then trigger a redeploy.
4

Deploy

Click Deploy. Vercel builds the project and assigns it a .vercel.app domain. You can add a custom domain under Project Settings → Domains at any time.Once the build completes, all features — including AI chat, Oracle readings, and Daily Digest — are live.

What gets deployed

No database required

HashPilot stores no user data. Live price data comes from DEX Screener and CoinGecko at request time. There is nothing to provision, migrate, or back up.

No build-time secrets

ANTHROPIC_API_KEY is only needed at runtime, not during the build. The build step completes successfully even if the variable is missing — AI endpoints simply return an error until it is set.

Other hosting options

Vercel is recommended, but HashPilot runs on any platform that supports Next.js 14 App Router with Node.js 18+.
Netlify supports Next.js via its runtime adapter. Use the same environment variable name (ANTHROPIC_API_KEY) in Site Settings → Environment Variables. Note that streaming API responses (used by /api/chat) require Netlify’s Edge Functions runtime — verify your plan supports it.
Railway runs Node.js services directly. Set ANTHROPIC_API_KEY as a Railway variable, then deploy with:
npm run build
npm run start
Railway injects variables into the process environment at runtime.
Build and run the app on any Linux server with Node.js 18+.
npm run build
ANTHROPIC_API_KEY=sk-ant-api03-... npm run start
Or export the variable in your shell profile before running npm run start. The server listens on port 3000 by default.

Next steps

Configure your API key

Full instructions for obtaining and configuring the Anthropic key.

Explore the dashboard

Tour the Tactical Dashboard and live data feeds once your deployment is running.

Build docs developers (and LLMs) love