GitXplorerGitXplorer
e

linknotes

public
2 stars
0 forks
0 issues

Commits

List of commits on branch main.
Unverified
7aac30d593835f4d0f8fee3b10d162806a7ae245

Reformat and improve the backend documentation

eealmloff committed a month ago
Unverified
6bedad901de45589e639f2bdc3672d856eab35f4

Added comments on Text Editor

TTrisha405 committed a month ago
Verified
0d5b2f6851da9d39576452ba14fd2b5371536232

Merge pull request #41 from ealmloff/training-new-notes

SSuhaanSyed committed a month ago
Unverified
ef129a37c78c00a37e34eed48c58de5b42008517

Refactor documentation comments for clarity and consistency

SSuhaanSyed committed a month ago
Unverified
52543fceb985ff2b48768de999da255a0a759a56

Enhance documentation and comments across components and styles

SSuhaanSyed committed a month ago
Unverified
78bbbbcb6e65e365c4f7977fd8ef759aa3d6439d

fixedUI

TTrisha405 committed a month ago

README

The README file for this repository.

Tauri + React + Typescript

This template should help get you started developing with Tauri, React and Typescript in Vite.

Recommended IDE Setup

Setup / Install

npm install

Running the app

You can start the app locally with:

npx tauri dev

Project Structure

.DS_Store .gitignore .vscode/ extensions.json index.html Makefile package.json public/ README.md src/ .DS_Store App.css App.tsx assets/ main.tsx Search.tsx Tag.tsx TagsPanel.tsx TextEditor.tsx vite-env.d.ts src-tauri/ .DS_Store .gitignore build.rs capabilities/ default.json Cargo.lock Cargo.toml gen/ schemas/ icons/ icon.icns src/ classifier-notes/ classifier.rs ... target/ output of the temporary build tauri.conf.json testing-workspace/ tsconfig.json tsconfig.node.json vite.config.ts

Key Components src/App.tsx The App component is a functional component in a TypeScript React application that renders a TextEditor component within a div with the class name "app-container".

src/TextEditor.tsx The TextEditor component provides a rich text editor interface using Slate.js. It includes functionalities for creating, editing, saving, and deleting notes, as well as managing tags and searching within notes.

src-tauri/src/lib.rs This file initializes the Tauri application with various plugins and handlers for workspace and note management. It includes the run function to start the Tauri application and the bert function to initialize the BERT model which is later used to create embeddings for semantic search and classification.

src-tauri/src/note.rs This file manages contextual documents within a Tauri-based workspace. It includes functionality for saving, retrieving, updating, tagging, and deleting documents. The code also incorporates classification logic for tagging documents using embeddings generated by BERT.

src-tauri/src/classifier.rs This file includes the classifier logic for tagging documents using embeddings generated by BERT. Classification is done with a small neural network trined to predict tags for each sentence of existing notes.

src-tauri/src/search.rs This file provides a framework for searching notes, including functionality to search for notes based on text and tags, as well as to search for context around a cursor position in a note.

Commands save_note Saves a note with a title and contents in a workspace.

read_note Reads a note from a specific path.

remove_note Removes a note from a specific path.

set_tags Sets the tags for a note with the given title in the workspace.

get_tags Gets the tags for a note with the given title in the workspace.

context_search Searches for context around a cursor position in a note.

Testing src-tauri/src/note.rs This file includes tests for the note module, such as test_set_tags.

Configuration src-tauri/tauri.conf.json This file contains the Tauri configuration for the application.

License This project is licensed under the MIT License.