Skip to content

Latest commit

 

History

History
45 lines (30 loc) · 539 Bytes

README.md

File metadata and controls

45 lines (30 loc) · 539 Bytes

hacker-agent

Development

Install dependencies:

bun install

Create an OpenAI API key, and put it in a .env file:

cp .env.example .env
echo "$OPENAI_API_KEY" >> .env

To run:

bun dev

Deployment

Create a Fly.io app:

fly launch

Set the OpenAI API key:

fly secrets set OPENAI_API_KEY=$OPENAI_API_KEY

Deploy to Fly.io:

fly deploy

This project was created using bun init in bun v1.0.22. Bun is a fast all-in-one JavaScript runtime.