Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kayoshi-dev/salitag

Once a day, a new Tagalog word 🇵🇭 Might contains errors, always verify the definition online :)
https://github.com/kayoshi-dev/salitag

dictionary javascript opengraph oss philippines puppeteer ssr svelte sveltekit tagalog typescript

Last synced: 25 days ago
JSON representation

Once a day, a new Tagalog word 🇵🇭 Might contains errors, always verify the definition online :)

Awesome Lists containing this project

README

        

Salitag



Salitag is a little side project I made to help me and encourage me to learn more about the Tagalog language.

The website name comes from the Filipino word "Salita" which means "Speak/Word" and from the word "Tagalog" which is the most talked language in the Philippines.

To create this Website I worked with SvelteKit, also, because I needed to fill my database with differents words, I used Puppeteer.

## Roadmap

- [ ] Fix null description in the scrapper.ts

- [ ] Make the scrapper more flexible

- [x] Improve the app UI

- [x] Generate the Open Graph dynamically with Satori

- [x] Add pronunciation for the word of the day

- [ ] Dynamically change provider and url of the prisma.schema

- [ ] If the word of the day is a verb, get it's conjugation data

## Run Locally

Clone the project

```bash
git clone https://github.com/Kayoshi-dev/salitag
```

Go to the project directory

```bash
cd salitag
```

Install dependencies

```bash
npm i
```

Start the server

```bash
npm run dev
```

Start the scrapper

```bash
curl -XGET 'http://localhost:5173/api'
```

## Environment Variables

To run this project, you will need to add the following environment variables to your .env file

`WEBSITE` (only for the scrapper)

`DATABASE_URL`

`VOICE_SPEECH_API_KEY` (used for the pronunciation)