Skip to content

teesloane/trunk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

779f7cb · Jun 2, 2022
Oct 27, 2021
Oct 24, 2021
Nov 18, 2021
Oct 27, 2021
Jun 2, 2022
Nov 18, 2021
Jul 30, 2021
Oct 24, 2021
Jun 2, 2022
Nov 20, 2021
Jun 2, 2022
Oct 13, 2021
Nov 2, 2021
Oct 15, 2021
May 30, 2022

Repository files navigation

Trunk is a tool for learning new languages. It is inspired by Learning With Texts.

View more screenshots here.

⚠️ Trunk is currently under development and is not recommended for personal use. With that said, it currently works as so:

  1. Download the latest release for your platform.
  2. Find and create an article to practice reading.
  3. Read the article while marking the familiarity of words and adding translations.

Development

Requirements:

  • Node JS 14+ + Yarn.
  • Java runtime (for clojurescript compilation)

Emacs

  1. Clone repo.
  2. run yarn install
  3. Open a clojurescript file (such as main/core.cljs)
  4. Run m-x cider-jack-in-clojurescript
  5. Follow the prompts to run a shadow repl (and node-repl).
  6. Open your build running on http://localhost:9630/dashboard
  7. Navigate to "Builds"
  8. Press Watch button for main and renderer builds.
  9. Run yarn dev-electron in a new terminal.

In Terminal

  1. Clone repo.
  2. yarn install
  3. In one terminal run yarn dev-cljs
  4. Open your build running on http://localhost:9630/dashboard
  5. Navigate to "Builds"
  6. Press Watch button for main and renderer builds.
  7. In another terminal, run yarn dev-electron

Note: from time to time you will likely need to restart the yarn dev-electron process if you make stateful changes to certain variables that are only defined once, at boot.

Contributing