https://github.com/michaelfba/luna
Luna
https://github.com/michaelfba/luna
Last synced: 29 days ago
JSON representation
Luna
- Host: GitHub
- URL: https://github.com/michaelfba/luna
- Owner: MichaelFBA
- License: mit
- Created: 2021-03-07T17:57:02.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-03-19T10:35:17.000Z (over 5 years ago)
- Last Synced: 2025-03-04T11:42:51.512Z (over 1 year ago)
- Language: JavaScript
- Size: 29.3 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Luna
This is a little experiement that I made for my daughter Luna. The aim is to provide a way to interact with the internet in a safe, fun and informative manner.
The premise of the application is for the child to interact with the app using speech recognition, which in turn load small learning applications. There is also the ability to run cron jobs to say good morning and good evening.
# Server
The server is based on Deno. It sets up a web socket connection to listen to voice commands, it uses a crude implementation of NLP (Natural language processing) i.e Finding a word in a string. But this could be expanded upon later.
When an `intent` is matched a small web component application is sent down the the browser and loaded.
### To run the application locally
`deno run --allow-net --allow-read --allow-write ./server/main.ts`
### To run the application in docker
See dockerfile.
# Client
Simple html app that sets up a websocket connection.
Its just using es modules with no build system or concern about older browsers.
# Docker
To build the image `docker build . -t deno/luna`
This tags the image as `deno/luna:latest`
# Environment Variables
Rename `.env.eg` to `.env`, these will be read available in the application