This file is for bringing Jot up quickly on a fresh local machine.
PowerShell:
cd C:\Users\mamba\jotGit Bash:
cd ~/jotThis matters on Windows because the default Go cache path has caused Access is denied during builds and tests.
PowerShell:
$env:GOCACHE="C:\Users\mamba\AppData\Local\Temp\jot-gocache"Git Bash:
export GOCACHE=/c/Users/mamba/AppData/Local/Temp/jot-gocacheOnly set what you actually use.
If using local Ollama only:
$env:JOT_ASSISTANT_PROVIDER="ollama"
$env:JOT_ASSISTANT_MODEL="glm-5:cloud"If using Ollama Cloud:
$env:OLLAMA_API_KEY="your-ollama-api-key"If you want Gmail onboarding and auth available immediately:
$env:JOT_GMAIL_CLIENT_ID="your-google-desktop-client-id"
$env:JOT_GMAIL_CLIENT_SECRET="your-google-desktop-client-secret"You can also keep these in your Jot assistant config instead of exporting them every session.
Only needed if you are working on WhatsApp native bridge flows.
cd tools\whatsapp-bridge
npm install
cd ..\..Terminal build:
go buildExplicit test binary build:
go build -o jot-test.exe .Windows GUI build:
go build -ldflags="-H windowsgui" -o jot.exe .Full suite:
go test ./...Focused smoke examples:
go test -run TestGmailExecuteSendEmail_FallsBackToDraftWhenSendFails -v
go test -run TestEnsureGmailSendReady_ReauthsInlineAndContinues -vInteractive assistant:
.\jot.exe assistantGuided onboarding:
.\jot.exe assistant --onboardingStatus:
.\jot.exe assistant statusBrowser computer:
.\jot.exe assistant browser status
.\jot.exe assistant auth browserGmail auth:
.\jot.exe assistant auth gmailJournal backup test:
.\jot.exe assistant "export my jot journal and email it to me"Current local beta line:
- main.go ->
1.7.2-beta.1
For local-only beta bumps, update the CLI version in main.go first. Do not touch Homebrew, npm, or Chocolatey packaging unless you are preparing a real release.
Run in this order:
gofmt -w .
go test ./...
go build -o jot-test.exe .
git status --shortThen inspect for local-only artifacts. Do not commit:
client_secret_*.json- local screenshots or random assets
.stateoutput fromtools/whatsapp-bridge- temporary binaries unless you intentionally want them tracked
Typical flow:
git add .
git commit -m "Your message"
git push origin mainIf you are continuing assistant-heavy work, read these first: