GithubHelp home page GithubHelp logo

fleetingnotes / fleeting-notes-obsidian Goto Github PK

View Code? Open in Web Editor NEW
69.0 69.0 6.0 424 KB

An Obsidian plugin to sync Obsidian with Fleeting Notes

License: MIT License

JavaScript 3.68% TypeScript 95.08% CSS 0.07% Shell 1.16%

fleeting-notes-obsidian's People

Contributors

gonzalovelasco avatar matthewwong525 avatar merlimarcode avatar ransurf avatar

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

Watchers

 avatar  avatar

fleeting-notes-obsidian's Issues

[Feature Request] tags metadata

Hello. Great app and plugin by the way!

Is it possible for you to add "tags" field to the app? I always place my tags in the frontmatter of my Obsidian note because I use a plugin that automatically moves my notes between folders based on tags.

Many thanks for your hard work, and looking forward to seeing this app and plugin grow!

Logseq plug in to capture fleeting notes would be an excelent use of resources

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 [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

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.

Expose source metadata to Obsidian plugin from Fleeting Notes

Hi.
First thank you for creating a Firefox extension that can capture info into Obsidian. There's pretty much only one other Firefox extension that works with Obsidian, and is not really great.
When I right click a video on youtube I want when I click "Save Link" the addon to extract all essential info about the video that I need:
-I need the title of the video
-The thumbnail that the content creator uses for that video.
-The duration of the video.
-The channel name that that video is part of.
-The full youtube description for that video.

Would you be willing please to make your addon extract all these bits of info about the video so I can save them into Obsidian?

Add sync option to delete notes after sync

"One-way sync + delete notes from Fleeting Notes"

Delete Notes from Fleeting Notes after sync and mark the deleted notes "deleted" in the metadata (#4) . Also, if anyone performs a sync with the "deleted" note then it will delete the note from Fleeting Notes.

Example metadata of deleted note:

---
# Metadata used for sync
id: "e28a71d0-0f8e-11ed-858a-d97ee206c6af"
title: ""
created: "2022-07-29T22:36:27.886Z"
source: ""
deleted: true
---

Feedback:
image
image
image

Unable to Sync FN with Obsidian on iOS

I was using FN to create new notes and then activate sync in Obsidian via command palette in iPad. I noticed that new notes in FN was not able to sync. I tried to use iPhone, same behavior. Later on, I logout from obsidian, and then login again. Unfortunately, I was not able to login. No error message, no successful login. I decided to try on my MacBook. I manage to login in obsidian and also sync. Looks like the issue surfaced in iOS devices. See screenshot for obsidian configuration settings.

A8AA05F2-462E-4E4F-8955-30A2C35CC147
C03B0413-30A4-4917-A3D7-44DB9E2A6527
08C8C792-5144-4120-97E6-2F80E3A15314

Fix bug with unexpected logouts

  • Login does not always persist (after 7 days / free user)
  • store credentials and have a listener that logs the person back in if they are logged in.

Handling deleted notes in obsidian

I love two way sync! I think it could be enhanced by better handling deleted notes in obsidian. At this point (v0.2.1) the note just gets added again in obsidian after next sync. I'd prefer that the note would get deleted in the fleeting notes app too!

I realise this could create problematic situations where ones notes all get deleted by accident when the sync plugin isn't set up properly. Maybe a "trash" folder could help avoid this?

Notes recreate themselves on delete (two-way sync)

Describe the bug
Notes recreate themselves on delete (two-way sync)

To Reproduce
Steps to reproduce the behavior:

  1. Enable realtime two-way sync & log in
  2. Delete a fleeting note
  3. See that it is recreated

Expected behavior
Deleted notes should not recreate themselves

Unwanted behavior in alternate template sync

I tried a different sync template to match my standard template, but using metadata like title in the note, gives unwanted behavior when (two-way)syncing; it adds other metadata to content so when synced again it repeats that metatata and adds it to content again

I used this template:

---
# Metadata used for sync
id: "${id}"
title: "${title}"
created: "${datetime}"
source: "${source}"
---
# ${title}
Thema:: 
URL:: ${source}

---
${content}

Realtime notes sync for Obsidian plugin!

There are many issues with syncing that can be solved with realtime sync. It provides a more reliable (and intuitive) way of syncing notes to and from FN (set two-way sync as default, once i finish this).

  • on startup, it'll update mapping
  • When a note is modified or deleted, it'll call the API to update the note in supabase + update mapping
  • When a note is renamed, it'll update the mapping (apparently works without)?
  • A realtime listener will listen to changes in supabase and update the relevant note based on the mapping. If the note doesn't exist in the mapping, then it'll create a new note.

I don't need to handle changes happening outside of Obsidian.

obsidian api listeners
Blocked by #42

Syncing Obsidian → Fleeting Notes not working

Hi.
Looks like Obsidian will pull notes from Fleeting Notes, but will fail pushing anything.
Example:

  • One-way sync (FN → Obsidian) works
  • Two way sync fails on pushing (Obsidian → FN)
  • One-way sync with deletion (FN → Obsidian, delete on FN) fails

The following error is produced in console when Obsidian → FN sync fails:

POST https://yixcweyqwkqyvebpmdvr.supabase.co/rest/v1/notes?on_conflict=id 400
{code: '42703', details: null, hint: null, message: 'column "is_encrypted" of relation "notes" does not exist'}
code: "42703"
details: null
hint: null
message: "column \"is_encrypted\" of relation \"notes\" does not exist"

Auto populate title of the soruce into the note title

Is your feature request related to a problem? Please describe.
Looking at the title on the sidebar gives more context. don't like the mumbo jumbo id as the title as it's hard to know what the context of hte note is.

Describe the solution you'd like

  • Sometimes when just capturing the note, I'd like the source title to be autopopulated into the note title
  • also grab the <title></title> of the webpage better in the deno function

Add selection to current note and/or merge notes

It would be nice if while on the same web page if I could make multiple text selections and have them all go to the same note. Alternately, add the ability to merge all notes taken from the same page.

Thanks for the great app, really like it so far!

Fix bug with creating title with slashes

In Fleeting Notes, we allow the user to create titles with slashes but that is not the same for Obsidian. If you create a note in Fleeting Notes, then sync it with Obsidian, it will not work because the slashes break something. This is a bad experience for the user as they may add a slash and things won't work as expected.

Sync Obsidian links to Fleeting Notes

Is your feature request related to a problem? Please describe.
My android phone syncs my vault to my android. I use fleeting notes to capture so can’t see the relevance of linking notes together in the app itself

Describe the solution you'd like
Is there any way of getting the notes from obsidian vault to come up as suggestions on the app when using the [[ and typing the first few letters? Like using the search query to find any other reference to a note before creating a new note so we can much more effectively build our zettelkasten

Describe alternatives you've considered
Create a new note in Fleeting Notes and add [[links]] that are within your vault to that note. - too cumbersome when adding links / new notes all the time in obsidian

New notes created in Obsidian should show up in Fleeting Notes web app

  • Currently new notes created in Obsidian in the Fleeting Notes folder don't show up in the Fleeting Notes web app
  • Only notes created in web app show up in the Obsidian list.
  • Also notes synced from Fleeting Notes to Obsidian when deleted from Obsidian should also reflect the same in the Fleeting Notes web app

Changelog on website

I use the plugin "plugin update tracker" and sometimes miss the reason for the update. Could you add your git changelog to your website please ? It would just make it easier to look up...
This is one of those fast moving / improving plugins. It may also show potential users that progress is being made and this is a very active / improving plugin.
Personally I use it everyday. Best way to get a new thing in my Obsidian tasks folder ( which I manage using Marcus Olsen's amazing "projects" plugin. Keep up the great work Matthew / Paul (a subscriber).

Sync creates duplicate when Obsidian is restarted

Describe the bug
When Obsidian is restarted and sync command is run, then the sync command produces multiple copies

To Reproduce
Steps to reproduce the behavior:

  1. Run sync command
  2. Reestart Obsidian
  3. Run sync command again
  4. See duplicate files

Expected behavior
There shouldn't be duplicate files created when running the sync command!

In Spanish the synchronized text becomes unreadable.

I write in Spanish, in which there is the letter "eñe" and some vowels use accents: á, é, í, ó, ú. When I do it this way, when I synchronize Fleeting Notes it changes the text and replaces the eñes and accents with strange characters of this type: á, ó, ú, ñ. With this, a well-written text in Spanish becomes illegible. I would be grateful for a solution to this problem.

migrate obsidian plugin to use supabase-js

  • use supabase-js SDK to retrieve and get notes. If the library doesn't work then we will probably need to use the supabase API (talk to me about this after you discover it doesn't work)
    • for ref using the SDK
  • have an authentication screen (similar to the Fleeting Notes app in the settings)

keep in mind

  • we may need to refactor the code you write into an SDK so other developers can have an easy way to access their Fleeting Notes.
  • could be useful for sharing code between plugins (e.g. Logseq plugin, Tana plugin)

Hashtags not copied correctly into Obsidian YAML

Describe the bug
The screenshots show a hashtag , #kincora/trello, in FN that was copied correctly as a hashtag at the end of the post, but the second part of the tag is dropped in the YAML.

To Reproduce
Steps to reproduce the behavior:

  1. Create #hello/world in Fleeting Notes
  2. Sync with Obsidian
  3. See hashtag is not syncing as expected

Expected behavior
Entire hashtag should be copied over

Screenshots
image
image

Additional Context
https://discord.com/channels/910294799188385885/1087002864053923840

Get all notes (references) with text containing command

A command (Get all Fleeting Notes with source:) will do the following:

  1. Show a popup (like the QuickAdd popup) and ask to input
  2. Call getExistingFleetingNotes to retrieve all Fleeting Notes
  3. Iterate through all the sources of Fleeting Notes and generate a list of FN that has a source that starts with the input the user gave. (checkout the Get Unprocessed Notes command, i pretty much already do this)
  4. paste the list of results (like i did in the Get Unprocessed Notes command)
    e.g.
![[asdf]]
![[gg]]

Optional sync of deletion of Fleeting notes to Obsidian

I use Fleeting Notes as a way of putting quick reminders and ideas into my Weekly Note in Obsidian in combination with the Periodic Notes plugin and dataview. As I either create full files to act on each item, or address them, they become clutter in the note. I don't use tasks in Fleeting Notes since it slows down data entry with the added needed formatting.

I would like to have the ability to delete the note in any manner (Chrome plugin, phone app, or delete in Obsidian) and have that sync across all devices.

Alternatively, a way to mark them as Archived so they don't show that can be queried by dataview would work just as well. I don't care about the file system clutter as I can keep the FleetingNotesApp folder collapsed. But a metadata field in the frontmatter for archive would allow me to automatically filter out acted upon items. Another idea is to have an option to make every entry a task so they can be checked off and filtered out.

Here is the context.. a long flat list of notes. Since I use Fleeting Notes for frictionless adding items, I don't want to take the time to prepend keywords to use for sorting and grouping. So all I get is a flat, disorganized list.

image

No need to “turn off safe mode.”

“Safe mode” is now “restricted mode” and it is off by default. Telling people, at least newbies like me, to “turn safe mode off” is confusing.

And a bit intimidating: “Is ‘restricted mode’ ‘safe mode’? Is ‘on’ ‘off’? Is my vault going to be obliterated if I guess wrong?”

FR: Plugin should download attachments when synching

Is your feature request related to a problem? Please describe.
Presently, images or attachments generate an .md file with a link similar to https://yixxxxxxxxxxxxxxxxx.supabase.co/storage/v1/object/public/attachments/6xxxxxxx-bxxx-xxxx-xxxx-xxxxxxxxxxxx/file.png which is fine I suppose, but when synching to obsidian the file should come across and not just remain as a link. Presently one is, kind of, downloading at attachment twice.

Describe the solution you'd like
When synching, it must download all attachments (images, pdf and anything else) in the same folder that the fleeting notes plugin is set to use. If the user has an assets folder defined in Obsidian, it would place the attachments there.

Describe alternatives you've considered
https://github.com/fleetingnotes/fleeting-notes-obsidian/issues/new/choose was proposed.
With this plugin, I would need to do it page by page, which is tedious. I would not let it loose on my entire vault, as I don't want links to images downloaded across the board.

Additional context
N/A

Struggling with syncing to Onsidian

I’ve got a small collection of notes in the Fleeting Notes app. I’ve specified the obsidian location for my fleeting notes. When I run the “Insert unprocessed notes” command I get “Failed to insert unprocessed notes.”

Deleting in a note in my.fleetingnotes.app should delete the note in Obsidian?

Describe the bug
When using the One-way sync (FN =› Obsidian) functionality in the plugin, I would expect that a note deleted through my.fleetingnotes.app would be deleted in Obsidian?

To Reproduce
Steps to reproduce the behaviour:

  1. Delete a note in my.fleetingnotes.app
  2. Re-synch

Expected behavior
Note should be deleted from Obsidian?

Screenshots
N/A

Device Info (please complete the following information):
V0.5.5 of the plugin

Additional context
This also calls into question the model of the other sync options

  • One-way sync (FN = Obsidian) + Delete from FN
  • Real-time Two-way sync (FN # Obsidian)

Maybe there needs to be better description of behaviour?

Add ability to change title of note

Is your feature request related to a problem? Please describe.
basically people want to generate titles which will make it integrate with workflows better.

Describe the solution you'd like

  • An extra field in note templating options to automatically generate the title. It will still use the ${variables}. can be prefilled with any variable.
  • If there are duplicate titles it'll use the append (1) using same method I use now

Additional context
https://discord.com/channels/910294799188385885/1091066430709059666
image

add created_date & last_modified_date as a variable

  1. Move firebase folder to its own repository call it fleeting-notes-firebase & make it a private repo
  2. Update get_all_notes function to include the last_modified_timestamp when returning the note value
  3. Add {created_timestamp} & {last_modified_timestamp}, these will be in the UTC format (with hours minutes & seconds) (note: don't delete datetime because people may still be using it in their template)
  4. Add additional variables {created_date} and {last_modified_date} in the getFilledTemplate function. These will be in the format: (e.g. format 2022-08-28)
  5. Update default metadata to:
---
# Metadata used for sync
id: "${id}"
title: "${title}"
source: "${source}"
created_date: "${created_date}"
last_modified_date: "${last_modified_date}"
---
${content}

Feedback:
Image

Title being renamed with (1) on sync

Describe the bug
Title is being renamed on sync. Sometimes people create links to these titles and it will invalidate the links if the file is renamed.

To Reproduce
Steps to reproduce the behavior:

  1. Run sync command once (note populates)
  2. Run sync command again ( (1) is added to title)
  3. Run it again ( (1) is removed from the title)

Expected behavior
Title should not change after sync has occured

Dateformat

Is there a way to adjust the date format to pure YYYY-MM-DD type?

Notes created in the FleetingNotesApp folder should automatically create notes in Fleeting Notes

Is your feature request related to a problem? Please describe.
It is an expected behaviour to create a file in the FleetingNotesApp folder in obsidian and have it created in Fleeting Notes.

Describe the solution you'd like
When a user creates a new file in the folder, the note is automatically populated with the FleetingNotesApp template & a new note is created in Fleeting Notes

Additional context
image

Adjust date format in note template

Is your feature request related to a problem? Please describe.
Sometimes people use different date formats for things and they'd like to use their format and not YYYY-MM-DD

Describe the solution you'd like
A new text field to set the date format (using moment.js)

Describe alternatives you've considered
Using moment() code in "Note Template" but it's complicated to implement and not everyone needs that functionality

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.