GithubHelp home page GithubHelp logo

mdsilo / mdsilo-app Goto Github PK

View Code? Open in Web Editor NEW
546.0 546.0 39.0 6.57 MB

Lightweight Knowledge Base and Feed Reader.

Home Page: https://mdsilo.com/

License: GNU Affero General Public License v3.0

HTML 0.76% Rust 19.16% CSS 2.03% TypeScript 76.87% JavaScript 1.19%
echarts kanban knowledge-base knowledge-graph markdown-editor mdsilo mermaid-diagrams mindmap note-taking podcast prosemirror rss tauri

mdsilo-app's Introduction

mdsilo-app's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

mdsilo-app's Issues

Pasting text does not work properly on MacOS

Describe the bug
Trying to copy and paste text from another source to mdSilo is not working correctly all the time.

To Reproduce
Make new notes, copy paste text using keyboard shortcut or UI, it does not work in both cases

Expected behavior
I expect it to work consistently. This is a basic functionality

Screenshots
NA

Desktop (please complete the following information):

  • OS Version
  • Checked on following
  • MacOS Catalina ( Intel )
  • MacOS Monterey ( M1 )
  • mdSilo version
    0.5.1
    0.5.0

Additional context
Add any other context about the problem here.

Build failed on Windows

Build log:

Compiling mdsilo v0.4.0-beta.1 (D:\a\mdSilo-app\mdSilo-app\src-tauri)
    Finished release [optimized] target(s) in 12m 17s
        Info Verifying wix package
 Downloading https://github.com/wixtoolset/wix3/releases/download/wix3112rtm/wix311-binaries.zip
        Info validating hash
        Info extracting WIX
        Info Target: x64
     Running candle for "main.wxs"
Error running CLI: failed to bundle project: error running candle.exe: error running candle.exe: ``
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Error: Command failed with exit code 1: yarn tauri build
##[debug]Node Action run completed with exit code 1
##[debug]Finishing: Run tauri-apps/tauri-action@dev

replace `-` to `*` in document

Describe the bug
the editor replaces - to * in document against the willing

Expected behavior
to use exact - symbol so it will

Flatpak packaging and Flathub release

Is your feature request related to a problem? Please describe.

A distribution channel for up-to-date software that works across all distributions, similar to AppImage, is Flathub. It distributes applications for the Flatpak application runtime. It is used for many applications that receive regular updates, and integrates well into CI pipelines. Examples at @flathub exist.

mdSilo Desktop is currently not found there nor on https://flathub.org/apps/search/mdsilo

Describe the solution you'd like

There is a repository in @flathub for automatically building and publishing the mdSilo Desktop app to Flathub.

Describe alternatives you've considered

AppImageLauncher or appimaged should be installed by default by all upstream distributions, to have easy AppImage support by default.

Snap is another alternative to both, which has some friends, but due to its design with a stateful daemon, should not require our attention any further.

RPM packages are used by some well-known distributions, and should be possible to build in a similar way as the DEB packages.

Additional context

This is a beautiful writing environment, and it would be a pity not seeing it available.

Relative paths to images and files

Images are stored as absolute path, this can be problematic for backup purposes.

![](asset://%2Fhome%2Famiya%2FDocuments%2Fmdsilo%2FRust%2Fmdsilo.png)

Images are not rendered with relative paths when keeping the .png file on same folder that of .md file
![](mdsilo.png)

Thank you for making the wonderful app. Seems this is the only main additional feature I need to make it my primary note taking app.

feature request: drag to arrange heading and subsequent text

Actually, I made this feature request many years ago: marktext/marktext#1827 but which is closed due to lack of interesting from developer, however it seems that some users look forward to this feature

Why I ask?

We (ok, maybe only me) often re-arrange the text during writing.

The question

So as the title says, is it possible to do following?

  • select only by heading, then drag it to a new position.
  • now, not only the heading but all the subsequent text and sub-heading are moved to the new position.

What I thought

Of cause this is more reasonable if

  • we only select the heading in the outliner view
    or
  • the markdown file is rendered as a mind-map diagram, all heading is treated as the node, then subsequent text is treated as note as midmup does. Here we drag the node to arrange

Link not displaying correctly - Auto Changes into NaN problem

Describe the bug
I added few links into notes. One of those automatically converts to NaN. The markdown has been edited multiple times. There is some funny behavior here.

To Reproduce
Open the associated ML.md into mdSilo and hope it would reproduce. You can also check the screenshots and associated mdSilo export.

Expected behavior
This should display links properly like the ones on top.

Screenshots
Screenshot 2022-12-11 at 6 54 54 PM
Screenshot 2022-12-11 at 6 54 44 PM
ML.md

Desktop (please complete the following information):

  • macOS Catalina 10.15.7
  • mdSilo - 0.5.2

Markdown-it linkify not work on Linux

Describe the bug
Markdown-it linkify not work on Tauri Webview(WebKitGTK on Linux), but on Web. so on Desktop App, cannot parse [[wikilink]] in Markdown.
though it works well on Mac and Win( WebKit on macOS, WebView2 on Windows)

To Reproduce
switch raw markdown to wysiwyg, will not parse [[wikilink]] if any

Expected behavior
should work well

Additional context
use md.linkify.add('[[', rule) to parse [[wikilink]]

[RFE] request for documentation on list of backend/frontend components, speed boosts due to rust-lang

Firstly, thank you to developers for their contributions to opensource note taking software mdsilo.

Is your feature request related to a problem? Please describe.
As a notetaking user, I was considering mdSilo. I was attracted to mdsilo when I noticed that part of it is written in rust.
I guess that rust/tauri framework was mainly chosen for

  1. the tauri webgui framework that renders to the webdom.
  2. tauri app framework allows compilation to many targets win/lnx/mac/web etc

I haven't yet read the code to understand the design architecture of mdsilo, but if were designed so that heavy duty performance-demanding, note processing, searching code is in rust backend, then the app would be very fast.

So this RFE is to have a docs/softcomp.md file that documents the list of software components (feature implementations) in mdSilo related to notetaking that are in typescript and those that are in rust and benefit from its speed. Maybe also a justification on why they are where they are, and attempts at backend-ing.
Ex (the below is an imaginatively made up list, not intended to be correct) <- the request is for you to document this as a exhaustive and correct list.

  • FrontEnd (typescript)
    • markdown editor
    • specialized block rendering like mermaid diagrams, vector graphics, music notes
    • visual spell check
  • Backend (rust)
    • note search find/replace
    • backlink processing

Q) Has it at all been a design guideline and ongoing consideration to move the heavy duty code to the rust-backend.
The following bug seemed to be of the same intent [1]

The use of such list apart from informing users, is that it may double up as a todo list and help developers to keep sight of things that could benefit from performance coding.

Describe the solution you'd like
An extremely performant, fast notetaking app, that is also small in size.

Describe alternatives you've considered
C++ (Vnote), common-lisp(lem), rust and haskell (emanote) are blazing fast as they are compiled programming languages. They either compile or JIT-compile to native machine code. They are also capable of true multi-threading. There are not many in note taking apps in this space, and applications state are still very primitive. Needless to sat programming in these languages is hard.
Other languages like java/clojurescript(logseq)/javascript/typescript(zettlr,joplin) are a relatively slower than those previously mentioned.
Interpreted languages do have the advantage that they are easy to develop in.
Another route was the wasm framework, but no such alternative exist as of this writing.

Additional context
Add any other context or screenshots about the feature request here.
NA

Are you willing to submit a PR?

  • I'm willing to submit a PR!
    NA

Ref:
[1] #304

Cannot import mdsilo.json from Webapp into Desktop App

Describe the bug
Starting a .json database on the webapp is incompatible with the Desktop App installed via the AppImage install method on Linux

To Reproduce
.json content from webapp

{"notesobj":{"hello.md":{"title":"hello","content":"# Hello\n\nThis is a test in mindsilo.\n\nDienstag, 19. September 2023 um 15:23 ","file_path":"hello.md","cover":"","created_at":"2023-04-11T18:58:44.000Z","updated_at":"2023-09-19T13:23:22.410Z","is_daily":false,"id":"hello.md"},"./New Note.md":{"title":"New Note","content":"Writing something.\n\nThis time I will not forget to save","file_path":"./New Note.md","cover":"","created_at":"2023-09-19T13:30:38.323Z","updated_at":"2023-09-19T13:31:50.953Z","is_daily":false,"id":"./New Note.md"}},"notetree":{".":[{"id":"hello.md","title":"hello","created_at":"2023-04-11T18:58:44.000Z","updated_at":"2023-04-11T18:58:44.000Z","is_dir":false,"children":[],"collapsed":true},{"id":"./New Note.md","title":"New Note","created_at":"2023-09-19T13:30:38.323Z","updated_at":"2023-09-19T13:30:38.323Z","is_dir":false,"children":[],"collapsed":true}]}}

.json content from desktop app

{"isloaded":true,"notesobj":{"/path/to/notes/note.md":{"id":"/path/to/notes/note.md","title":"Hello","content":"A new entry.","file_path":"/path/to/notes/note.md","cover":"","created_at":"2023-09-19T13:54:07.810Z","updated_at":"2023-09-19T13:54:14.003Z","is_daily":false,"is_dir":false},"/path/to/notes/mdSilo.json":{"id":"/path/to/notes/mdSilo.json","cover":"","created_at":"2023-09-19T13:40:02.077Z","updated_at":"2023-09-19T13:40:02.077Z","is_daily":false,"is_dir":false},"/path/to/notes/mdsilo.json":{"id":"/path/to/notes/mdsilo.json","title":"mdsilo","content":"","file_path":"/path/to/notes/mdsilo.json","cover":"","created_at":"2023-09-19T13:52:45.987Z","updated_at":"2023-09-19T13:53:56.579Z","is_daily":false,"is_dir":false}},"notetree":{"/path/to/notes":[{"id":"/path/to/notes/note.md","title":"hello","created_at":"2023-09-19T13:54:07.810Z","updated_at":"2023-09-19T13:54:14.003Z","is_dir":false},{"id":"/path/to/notes/mdSilo.json","title":"mdSilo","created_at":"2023-09-19T13:40:02.077Z","updated_at":"2023-09-19T13:40:02.077Z","is_dir":false},{"id":"/path/to/notes/mdsilo.json","title":"mdsilo","created_at":"2023-09-19T13:52:45.987Z","updated_at":"2023-09-19T13:53:56.579Z","is_dir":false}]},"activities":{}}

Expected behavior

  1. A "upload .json file" dialog in the desktop app would be great
  2. .json files should be compatible for better UX

Desktop (please complete the following information):

  • arch linux
  • mdSilo version: mdSilo Desktop v0.5.7 and the current webapp version (couldn't find the version number in the app)

Are you willing to submit a PR?

  • I'm willing to submit a PR!
    No, sorry, I'm lacking the programming experience.

Portable mdSilo for Windows

Is your feature request related to a problem? Please describe.
Self-contained portable windows executable to run without installation.

Describe the solution you'd like
An additional release that is self-contained and portable for windows. This will help people that do not have complete access. It is very useful on many occassions.

Feature Request: Custom coloring of writings/network nodes

Currently mdSilo has three colors for network mode:

  • Green for nodes
  • Orange for tags
  • Blue for highlighting
    This is nice and good.

In future I would love to see coloring of related nodes. Either of these options might work:

  • Manual coloring (color the writing)
  • Rule-based coloring (color by folder or some kind of tag/category/field)

This is probably my one and only feature request as this is a fantastic and very full featured app. Thank you for your amazing work on it!

Notes Export Feature

Is there any scope for exporting notes (to PDF or Word) in the future? As admonitions are specific to mdSilo, and can't be processed by other markdown exporters? What's the correct approach for this requirement?

Reverse playlist order

Describe the solution you'd like
Please allow reversing the order of podcasts.

Additional context
Podcasts are always organize from newest episode to oldest episode. I like listening to podcasts from the beginning, so I would like to reverse the order.

Saving issue

If any issue related saving, please report here. Thanks

Table management is not accessible when only one column remains

Describe the bug
A single column table would not display the UI to add/remove rows and columns anymore

To Reproduce
Create a table
Remove columns until you are left with a single column.
Try to add columns or rows.

Expected behavior
Table management should be accessible in all situations

Screenshots
NA

Desktop (please complete the following information):

  • MacOS Monterey - M1 chip
  • mdSilo version - 0.5.1

Additional context
Add any other context about the problem here.

Missing libssl.so.3 in Debian 11

I installed mdSilo Desktop v0.5.4 from the latest deb package and it fails to start on libssl error:

$ wget https://github.com/mdSilo/mdSilo-app/releases/download/app-v0.5.4/mdsilo_0.5.4_amd64.deb

$ sudo dpkg -i ./mdsilo_0.5.4_amd64.deb
[sudo] password for user: 
Selecting previously unselected package mdsilo.
(Reading database ... 292329 files and directories currently installed.)
Preparing to unpack .../mdsilo_0.5.4_amd64.deb ...
Unpacking mdsilo (0.5.4) ...
Setting up mdsilo (0.5.4) ...
Processing triggers for mailcap (3.69) ...
Processing triggers for gnome-menus (3.36.0-1) ...
Processing triggers for desktop-file-utils (0.26-1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...

$ mdsilo 
mdsilo: error while loading shared libraries: libssl.so.3: cannot open shared object file: No such file or directory

I'm on Debian GNU/Linux 11 (bullseye)

Next move

To be Pluggable:

  • Assistant: warp web app and Javascript injection
  • Plugin: page and view mode
  • Customize Theme

maybe on v0.6

Improve performance

Some thoughts on performance improvement

  • walk dir, can be multi-threaded
  • read file,
  • switch file, improve and simplify state management

Keyboard shortcuts not very intutive

Ctrl (or ⌘) + X keyboard shortcut closes the sidebar, but this shortcut is often used for "Cut" in a lot of text editing applications.
Found this a bit un-intuitive and not sure what to actually use if I want to cut text...
Perhaps closing the sidebar could use the typical Fullscreen shortcut (e.g. F11).

Other less important but related observations:

  • Ctrl (or ⌘) + S doesn't seem to do anything even though there is a Save option in the menu that this could be mapped to.
  • Ctrl (or ⌘) + P doesn't seem to do anything even though there is a Print option that this could be mapped to.

This isn't necessarily a comprehensive list.

Using mdSilo Desktop 0.5.2. on Linux

support M1 mac

Will M1 mac be natively supported? now arm's mac should become the mainstream.

No Kanban in v0.5.7

Please do not remove the Kanban feature until its plug-in replacement is also ready.

Preferably leave the Kanban feature in for v0.5.7.

The only alternative for me is to not upgrade from v0.5.6 as I rely on this feature very much. Indeed for me it is a main feature of mdSilo.

Thank you for reading this far.

Docker and Translation

Hello, I have just seen this project and I must say that I liked it a lot, but looking at the documentation, I see that it is possible to deploy it on the web but I don't see how to do it.

Is this project available to be deployed with docker?

I have also noticed that the project is only in English, I would like to collaborate in the project to translate it to Spanish, but I do not see anything in the documentation about the translation, this project has it implemented?

hide markdown title in mind map view

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
The markdown file title in the mind map view takes up too much space, affecting viewing.

Describe the solution you'd like
A clear and concise description of what you want to happen.
hide markdown title in mind map view

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.
image

PlantUML support

Is your feature request related to a problem? Please describe.
No.

Describe the solution you'd like
Enabling PlantUML diagrams, which are varied and useful for documenting among other things programs, prototyping.
This addition would make the program more complete as a notetaking app and personal wiki.
The user provides a local PlantUML binary with which the app communicates, for example, as VNoteX does.

Allow display local image in markdown

Instead of providing a separate folder for images, please provide any relative path for images.

For example,
biology/Snips.md
biology/SNP.jpg
biology/image/snips.jpg

In Snips.md
![snip](SNP.jpg) 
![snip](image/snips.jpg) 

Renders only alt txt but doesn't render image.

It will help for easy backup of notes and can be viewed in code editor like vscode.

RangeError: Position xx out of range on Insert local file

Describe the bug

  • Insert local image or file at the end of doc, the error occurred: RangeError: Position xx out of range
  • Sometimes inserting local image or file will override the content below

Platform

  • Platform: Linux, Windows, macOS
  • App version: 0.4.6

Stopgap measure for this bug
Before inserting, press enters to reserve more space.

Timeline / Activity Logging feature

Is your feature request related to a problem? Please describe.
If I want to prepare a log or list, I need to manage a date/time entered manually with it.

Describe the solution you'd like
We should have a feature which allows us to create timestamped lists/tables/lines in mdSilo.
Once a new line is inserted, a current timestamp automatically appears at right place.

Describe alternatives you've considered
One can write it manually, it is a repetitive and subject to errors

Additional context
Add any other context or screenshots about the feature request here.

Support copy/paste on MacOS

I would like to be able to use command-c, command-v for copy/paste on MacOS, and at least on my system, this isn't working (mdSilo version 0.4.1, Tauri 1.0.0, MacOS 13.0 Beta (22A5321d)).

This thread might be relevant:
tauri-apps/tauri#849 (comment)

Thank you for mdSilo!

Custom Styling & Fonts

Hi Dan,

Please consider exposing the styling functionality of the app via CSS - so people can change the fonts and create themes.

The default font especially looks a bit dull, so it'd be great if we can change it!

wbr

Using the 'Check for Updates' button (About page) sends you to wrong repository

Describe the bug
In the Desktop app, using the 'Check for Updates' button (About page) sends you to repository https://github.com/mdSilo/mdSilo/releases.
This should be fine but the issue is that currently the https://github.com/mdSilo/mdSilo/releases repository shows 0.5.3 as the latest version, whereas the https://github.com/mdSilo/mdSilo-app/releases has 0.5.4 as the latest version. So I didn't have the latest version of the Desktop app and didn't know about it.

To Reproduce
Desktop App Version 0.5.3 on Linux

  1. mdSilo main menu > About
  2. Click the 'Check for Updates button'
  3. Observe that you are sent to https://github.com/mdSilo/mdSilo/releases. The latest version is apparently 0.5.3
    Note I only detected this as an issue by coincidentally seeing that version 0.5.4 was the latest version on https://mdsilo.com/

Expected behavior
I'd expect the two repositories to be either
A) synced in github so it doesn't matter, or else
B) the Desktop app should send you to the Desktop app repository so you always have the latest Desktop app version.

Screenshots
None.

Desktop (please complete the following information):

  • Linux Mint 21.1
  • mdSilo version 0.5.3

Additional context
None.

It doesn't install on Windows 7

I get an error while installing.

There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor.

Editing WYSIWYG mode lags significantly for large files

Is your feature request related to a problem? Please describe.
I noticed that editing WYSIWYG mode lags significantly for large files, even if they have no styling (plain text).
e.g.
I have a file which currently has more than 7000 lines (yes, pretty extreme case). It takes about 10+ seconds to load (tolerable).
However, once loaded, adding a new line in WYSIWYG mode takes another 10+ seconds.
I find this a bit strange since the file is already loaded... what is it thinking about? Is it refreshing the whole file? Does it have to?

Describe the solution you'd like
I think WYSIWIG mode should be as responsive as possible as it is the default mode. I feel like this might be possible if the rendering doesn't refresh the whole document (not sure if that's what's being done but I guess so?)

A workaround could include making mdSilo remember the mode last used between shutdowns, or having a default setting for startup mode.

Describe alternatives you've considered

  • Using markdown mode for this kind of operation is much more tolerable and I'll do this for now
  • My text editor is fine with large files so I'd probably not do this type of operation in mdSilo in future

Additional context
A 4000-line file is quite tolerable - takes about 3 seconds to open and 3 seconds to add new lines, etc. but still keen to cut down that editing time.
In general I would also say this is pretty low priority to address right now but just something I noticed and wanted to note down before forgetting.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.