Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connector: directory connector [Source/Destination] #2000

Open
alarbada opened this issue Dec 6, 2024 · 4 comments
Open

Connector: directory connector [Source/Destination] #2000

alarbada opened this issue Dec 6, 2024 · 4 comments
Labels
connector:destination Request for a destination connector

Comments

@alarbada
Copy link

alarbada commented Dec 6, 2024

Resource name

directory

Resource link

https://en.wikipedia.org/wiki/Directory_(computing)

Connector type

Source

Expected connector behavior

We already have the file connector, so this is the logical next step. Just point to a directory and let conduit do its job.

Usecases:

  • Backups mainly
  • People that use something like obsidian, and want to backup all files into S3
  • Move files all files from an S3 bucket into a folder.
@alarbada alarbada added the triage Needs to be triaged label Dec 6, 2024
@github-project-automation github-project-automation bot moved this to Triage in Conduit Main Dec 6, 2024
@hariso hariso removed this from Conduit Main Dec 6, 2024
@hariso hariso added connector:destination Request for a destination connector and removed triage Needs to be triaged labels Dec 6, 2024
@nickchomey
Copy link

nickchomey commented Dec 6, 2024

I was looking into golang recursive directory watchers recently, so here's some info that might be helpful for this

fsnotify is probably the most popular golang filewatchers, but doesnt do recursive watching. fsnotify/fsnotify#18

frankenphp (a fantastic new golang-based php webserver, based in caddy) added such capabilities recently. They started with a PR from a contributor, then rolled their own golang watcher, then ended up using e-dant/watcher (which is also mentioned in the fsnotify thread above. Here's where they discovered e-dant and continued the discussion about and implementation of it. the e-dant dev seems to be quite happy to help others integrate it - you can see him communicating in both the fsnotify and frankenphp threads

Hope this helps

@alarbada
Copy link
Author

alarbada commented Dec 6, 2024

Oh @nickchomey hello! I was thinking about fsnotify aswell, sad that doesn't include adding new files. I remember reading somewhere that air also had good filewatching capabilities.

I'd like to do this connector soon at some point, looks very fun to program!

@nickchomey
Copy link

air uses fsnotify, so one of the other options would probably be better.

@hariso
Copy link
Contributor

hariso commented Dec 11, 2024

FYI I've added this (and other connector requests) to our internal connectors' project where we prioritize all connector requests. We'll let you know once we figure when we're going to work on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
connector:destination Request for a destination connector
Projects
None yet
Development

No branches or pull requests

3 participants