https://github.com/igorhalfeld/englishtutor
I built an app that you can SPEAK directly in the browser and get instant feedback about your vocabulary by talking with "english tutor"
https://github.com/igorhalfeld/englishtutor
Last synced: 8 months ago
JSON representation
I built an app that you can SPEAK directly in the browser and get instant feedback about your vocabulary by talking with "english tutor"
- Host: GitHub
- URL: https://github.com/igorhalfeld/englishtutor
- Owner: IgorHalfeld
- Created: 2024-04-14T05:55:00.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-15T03:50:37.000Z (over 2 years ago)
- Last Synced: 2024-05-30T12:48:12.763Z (about 2 years ago)
- Language: HTML
- Homepage: https://dev.to/igorhalfeld/english-tutor-speak-and-get-instant-feedback-about-your-vocabulary-f7o
- Size: 2.08 MB
- Stars: 4
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## `englishtutor`
*This is a submission for the [Cloudflare AI Challenge](https://dev.to/devteam/join-us-for-the-cloudflare-ai-challenge-3000-in-prizes-5f99).*
## What I Built
I built an app that you can SPEAK directly in the browser and get instant feedback about your vocabulary by talking with "english tutor"
This app can easily become a micro saas, where you ask about the language the customer wants to learn and get paid by use.
## Demo
Link to [video demo 🚀](https://www.youtube.com/watch?v=es9RQaPi7jA)
Link to [live demo 🤙🏻](https://englishtutor.pages.dev/)
## Journey
I live in Brazil and here a lot of people don't practice speaking so I built this app to use AI to help them enhance english skills.
AI Models used:
- `@cf/openai/whisper`
- `@cf/qwen/qwen1.5-0.5b-chat`
## Feedbacks to Cloudflare
This is my first time using CF Worker and I know how important it is to get feedback from customers, so here is mine:
- Workers DX are not good
The best way I found to make this work great was by using Honojs
- 1MB to deploy a frontend is not enough
I faced this trouble when deploying Nuxt app, so I made a [workaround versioning static generated files](https://github.com/IgorHalfeld/englishtutor/tree/main/.output)
_As you can see by the source code above, it's a really simple app to get this message about the size_
- Whisper could have a parameter to pass the language
If I could define the language I'm speaking this would not happen

- Generic errors from wrangler commands when using AI Workers
Errors like "Unknown internal error" happened multiple times
### Setup
```bash
# install deps
yarn install
# generate static files
yarn genereate
```