-
Notifications
You must be signed in to change notification settings - Fork 137
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
[Feature] Upload to paperless-ng #351
Comments
Hi. Thanks for the suggestion. I like the idea and am keen to work out a solution. The challenge is to allow for a generic upload. Once a paperless-ng integration goes in, then what about Dropbox / Google Drive etc. I was reading about how to post a document and the docs are a bit thin. When I did some digging it seems that there are plenty of other ways to get documents in - including a simple file copy to the the paperless-ng document location. Let's assume we can solve that problem. The next problem is the integration itself. One option is to change the UI. This could work but will end up being significant (at least for spare time) development in a clean way which doesn't impact users who don't want to integrate. Another option is to allow people to create their own plugins. This is better but still some work. Another solution would be to add CLI commands to pipelines (configurable items which run when you scan) - but the problem would be having to add commands to every pipeline. But then it occurred to me, it would be better to write a shell script (or something) which simply scans the scans directory Would that work for you? |
Hi. Yeah I'm ok that it's a bit out of scope for scanservjs , that's why I opened this issue.
I think it's a good way to have less manual action ( wife friendly method ! :D ) with the choice to submit to paperless or not. |
Ok cool - I'd be very interested in whatever you come up with though. If you're happy to share something, then put it in this issue and I'll add it to the docs. Also - thanks for your kind words 😄 |
@sbs20 , here is what I've done : https://github.com/Celedhrim/scantopl I first looked at incron , but it seems deprecated. Why I choose golang ? the single simple binary and the easy it's to make it go in docker. |
Thanks for this - and nice work! I have updated the documentation and linked to your code. |
Thx ! :) |
First , thx for this excellent software !
I use it mainly to scan document to feed my paperless-ng instance.
For this , I first scan , then download the file and upload it to paperless.
Maybe , if possible of course , a good addition could be a button to upload to a paperless instance.
Paperless has an api (https://paperless-ng.readthedocs.io/en/latest/api.html)
I think about 2 field in settings :
Then a button next to download in files section to directly send file to paperless instance.
The text was updated successfully, but these errors were encountered: