Skip to content

CelotehBahasa.com, a website tracking my journey learning new Indonesian words and concepts. Built using Gatsby.js. Also a playground to experiment with new APIs ✨

License

Notifications You must be signed in to change notification settings

theoBLT/indonesian

Repository files navigation

Netlify Status

CelotehBahasa.com

This site is the place where I display the words I learn in Indonesian. Live version is at celotehbahsa.com.

To run your own version:

  • Clone the repository locally, initalize git (git init)
  • Add an .env.development file, with at least an AIRTABLE_API_KEY value
  • Install all dependencies (npm install)
  • Run the local server (gatsby develop)

Next updates I plan to make

MDX Explainers Using MDX, I'd like to help deconstruct some common sentences in Indonesian. Then, growing from there, I'd like to use that same syntax highlighting work to help people make sense of entire YouTube transcripts or Blogs. That way you'd come to this site to read interesting content pulled from elsewhere, with a layer of understanding added for second language learners.

To do this, I'm going to need components that correspond to each "type" of Indonesian word. And each component will have attributes. I'll keep the attributes static to start, but then could start dynamically linking them to existing words in my database.

Components list:

  • Discourse particles <dp> </dp>
  • Verb <v> </v>
    • Translation (t=)
  • Possessive <poss> </poss>

Components in use in MDX

<Phrase translation="How come she's bold enough to borrow money from her parents?">
    <Dp>Kok</Dp> brani <Dp>sih</Dp> ampe <V t="borrow">pinjem</V> duit ke <Poss>orantuanya</Poss> gitu?
</phrase>

(Starting with just 3 to define the logic, will extend later on.)


Note to self: I was forced to set an environment variable of NODE_VERSION=12 in order to deploy to Netlify with Gatsby 3 ( https://stackoverflow.com/questions/66880068/gatsby-3-x-netlify ): will have to be removed eventually as node versions need to move on.

About

CelotehBahasa.com, a website tracking my journey learning new Indonesian words and concepts. Built using Gatsby.js. Also a playground to experiment with new APIs ✨

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published