This is the monorepo for the Tangent project. Pre-built binaries can be found on the downloads page and on Flathub.
Pre-release versions are also available on Flathub Beta.
There are multiple modules contained within this repo.
The apps
directory contains modules that produce versions of Tangent and other Tangent-related executables.
- tangent-electron – The electron-based Tangent application.
- tangent-test-workspace-generator – A simple CLI tool for generating test content.
The packages
directory contains modules that provide libraries of Tangent-related functionality.
- tangent-html-to-markdown – The parser used to convert
text/html
clipboard data to Tangent-specific markdown text. - tangent-query-parser – A parser for the Tangent Query language.
The lib
directory contains externally-versioned libraries that have been added as a git submodule for various reasons.
- typewriter – A tangent-specific fork of the Typewriter project.
- Ensure that all submodules are synced (e.g.
git submodule update
). - Run
npm ci
at the root level of the repository to install all dependencies across the monorepo. - Run
npm run build
at the root level of the repository to build all dependencies. - Run
npm run dev
(ordev:win
on Windows) in./apps/tangent-electron
to run tangent in development mode.
When creating an issues, be sure to use the appropriate label for the specific module.
When reporting bugs, please include:
- The version of the relevant app / package.
- A concise description in the title of the problem.
- e.g. "Clicking the New Note button does not create a new note"
- A thorough description of the problem in the body of the issue.
- The steps required to cause the problem.
- For example:
- "Open a blank workspace"
- "Click the New Note button"
- "Notice that a new note is not created"
- For example:
- Include any additional details or context that can help illuminate the issue.
- The steps required to cause the problem.
- Logs can sometimes be very helpful in sussing out a problem.
- In-window logs for Tangent can be found from the developer console. You can open this with
Cmd+Option+I
on Mac orCtrl+Shift+I
on Windows and Linux. Attaching a screenshot or the contents of these logs can be useful. - Application logs for Tangent can be found in the relevant log folder on your system. You can invoke the "Show Logs" command from the Command Palette in Tangent (
Cmd/Ctrl+P
to open the palette) to bring you directly to the logs.
- In-window logs for Tangent can be found from the developer console. You can open this with