Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Daily Bots custom server example

Daily Bots requires a developer hosted endpoint which can host custom API keys for different services (OpenAI, etc.), the Daily Bots profile that should be used or anything that should be hidden in the client.

This is a super simple example that expects a list of desired Daily Bots services and a configuration to be used by the bot.

Install project dependencies

npm install

Create your local environment

cp env.example .env.local

Enter your API keys (and add any service specific private keys here if needed, e.g. OpenAI).

Start the dev server

node server.js

This will make http://localhost:3000 available which will be your custom Daily Bots base URL.