Git Product home page Git Product logo

Comments (5)

shd101wyy avatar shd101wyy commented on May 19, 2024 1

Hi @Ux1F595 , thank you very much for your suggestions. Yes I also looked into the native file system APIs. But it seems that the API is still in draft phase and not ready for all browsers. If I remember correctly, it’s now an experimental feature of chrome. But of course I will slowly push it forward. Thank you!

from crossnote-app.

shd101wyy avatar shd101wyy commented on May 19, 2024 1

Hi @aisbergde , the web version of crossnote uses isomorphic-git to download arbitrary git repositories and store them in browser storage lightning-fs backed by indexeddb. Crossnote doesn't have capability to access local files on your system now. As the native file system API gets mature, we might support opening local directories on your computer in the future. Thanks

from crossnote-app.

aisbergde avatar aisbergde commented on May 19, 2024

can you please explain in the documentation the technical background how this app currently works? I would like to investigate if it is possible to use crossnote together with an existing plain text based notes system.

I had a look on the welcome-notebook repository and it looks like it could be compatible:

  • Each note is a markdown file
  • each note has a yaml front matter

the issue with the yaml is the extra "note", but I could imagine an option to avoid this "note" to make it compatible to some other systems storing their metadata in yaml. Without this "note:" it would be nearly perfect.

---
note:
    createdAt: 2020-03-28T07:52:59.238Z
    modifiedAt: 2020-03-28T08:37:27.812Z
    tags: [tutorial]
    id: ""
---

because it is a git repository it can be cloned on desktop and on android.

In my understanding I could use any other app to add, update and delete content. On Desktop VSC, on Android some other apps.

But this would work only if crossnote uses the same clone. And reading this issue here I am not sure how crossnote works:

does it clone the repository on disk where I can access it using any editor or is the clone stored in a hidden place which cannot be accessed? In this case I have no idea how I could use other programs to change the content. The only idea would be to have a second clone.

But maybe crossnote can not only connect to a github repository but directly to a local repository?

So maybe for the desktop there could be some solutions. But on Android? I should be able to use my favorite markdown editor on android. Currently it looks like there is only the build in editor, which is limited.

from crossnote-app.

aisbergde avatar aisbergde commented on May 19, 2024

Thank you for explaining. I will try to use with a local git repository as origin. In this case it will double the content, but I should be able to synchronize content between crossnote and another local repository where I could use my favorite editors.

If it uses a git client maybe in the future the feature to adding an additional remote could be implemented. Then github could be the main repository but an additional local remote could be just added.

The main idea to use git and markdown is great. Regarding the build in editor I need to think about how to use my favorite editors.

from crossnote-app.

shd101wyy avatar shd101wyy commented on May 19, 2024

Hi @Ux1F595 , opening local directory is now supported in V3: https://0xgg.io/crossnote
Thank you :)

from crossnote-app.

Related Issues (20)

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.