Skip to content

This repository contains a collection of various applications powered by the OpenAI API, with backend support from Bun server.

License

Notifications You must be signed in to change notification settings

supershaneski/bun-openai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bun-openai

This repository contains a collection of various applications powered by the OpenAI API, with backend support from a Bun server. Built with libraries like React.js and Vue.js, these serverless applications allow for backend replacement with your preferred server application.


このリポジトリには、OpenAI APIを活用したさまざまなアプリケーションのコレクションが含まれています。バックエンドのサポートはBunサーバーが提供し、React.jsVue.jsなどのライブラリを使用して構築されています。これらのサーバーレスアプリケーションは、バックエンドをお好みのサーバーアプリケーションに置き換えることが可能です。

Motivation

The main purpose of this repository is to serve as a coding exercise to learn more about Bun, as an alternative to Node.js.

The second purpose is to use this as sandbox in exploring different project ideas primarily those using OpenAI APIs.

Server

The Bun server is a just simple HTTP server. It is the main workhorse that serves all the sample applications. The server needs to be running to provide backend services for the applications.

Applications

All applications are powered by OpenAI APIs unless stated otherwise. You can refer to the README for each project for more detailed descriptions.

Setup

First, make sure to install Bun

npm install -g bun

See Bun installation page for more details.

To clone the repository and install the dependencies

bun create github.com/supershaneski/bun-openai myproject

cd myproject

bun install

This should install all dependencies for each package within the workspace.

To run the server

cd server

bun start

To run an application, from root directory

cd app_dir # application directory

bun start

About

This repository contains a collection of various applications powered by the OpenAI API, with backend support from Bun server.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published