Skip to content

A sample application using Bun + Vite + React. The application is a simple Time Notifier, that displays the current time and speaks it at some intervals, using Web Speech API for the Text-to-Speech (TTS) part.

License

Notifications You must be signed in to change notification settings

supershaneski/bun-sample-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bun-sample-app

A sample application using Bun + Vite + React.

The application is a simple Time Notifier, that displays the current time and speaks it at some intervals, using Web Speech API for the Text-to-Speech (TTS) part.

Motivation

This is a sample application to test Bun, a fast Javascript all-in-one toolkit, with React, a Javascript front-end library. Although Bun can run React, it is not a framework so it needs a framework like Vite to build an app.

React + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:

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-sample-app myproject

To run the app

$ cd myproject

$ bun dev

Open your browser to http://localhost:5173/ to load the application page.

About

A sample application using Bun + Vite + React. The application is a simple Time Notifier, that displays the current time and speaks it at some intervals, using Web Speech API for the Text-to-Speech (TTS) part.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published