• Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
g

greenpt

office-window

Starter template with client-side React & Hono server
Public
Like
office-window
Home
Code
15
.claude
1
.cursor
assets
1
backend
6
data
3
flows
1
frontend
5
lib
1
.env.example
.vtignore
AGENTS.md
README.md
deno.json
H
index.ts
package.json
Connections
Environment variables
11
Branches
1
Pull requests
Remixes
History
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Sign up now
Code
/
data
/
README.md
Code
/
data
/
README.md
Search
3/2/2026
Viewing readonly version of main branch: v170
View latest version
README.md

Data Configuration

Starter Prompts

The starter prompts displayed to the user before a chat begins are configured in prompts.ts.

To update the prompts:

  1. Open data/prompts.ts.
  2. Modify the STARTER_PROMPTS array.
  3. Add, remove, or edit the strings as needed.

Example:

export const STARTER_PROMPTS = [ "New prompt 1", "New prompt 2", ];

Weekly Questions

The weekly sustainability questions are configured in weekly-questions.ts.

Each entry in the WEEKLY_QUESTIONS array contains:

  • week / publishDate — scheduling info
  • question — the question shown to users
  • answer — structured answer with value, unit, and optional secondary text
  • explanation — markdown explanation (2–3 paragraphs)
  • sources — list of references
  • nextWeekTeaser — teaser for the following week's question
  • meta (optional) — raw numbers behind the calculations

To add a new weekly question, append an entry to the array in data/weekly-questions.ts.

Assistant System Prompt

The backend assistant system prompt is managed in Langfuse Prompt Management.

  • Prompt name is configured with LANGFUSE_SYSTEM_PROMPT_NAME.
  • Optionally fetch by label with LANGFUSE_SYSTEM_PROMPT_LABEL.
  • Optionally pin a specific version via LANGFUSE_SYSTEM_PROMPT_VERSION.
  • If Langfuse prompt retrieval fails, the backend falls back to a local default system prompt so chat still works.
FeaturesVersion controlCode intelligenceCLIMCP
Use cases
TeamsAI agentsSlackGTM
DocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
AboutAlternativesPricingBlogNewsletterCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Open Source Pledge
Terms of usePrivacy policyAbuse contact
© 2026 Val Town, Inc.