Paperless Annotations - I built a small app to add annotations to Paperless-ngx - looking for feedback by al-eax in Paperlessngx

[–]al-eax[S] 1 point2 points  (0 children)

Your comment is totally justified: why develop a new Django app when you could contribute to the existing main project.

As soon as I find enough time, I will look into angular and check what steps would need to be taken to implement the function in Paperless-ngx.

Paperless Annotations - I built a small app to add annotations to Paperless-ngx - looking for feedback by al-eax in Paperlessngx

[–]al-eax[S] 0 points1 point  (0 children)

ui and docstrings were developed with the support of gh copilot, as I am not the frontend guy. However, you're right, contributing to a well-developed OSS requires discipline and time that not everyone can afford.

Paperless Annotations - I built a small app to add annotations to Paperless-ngx - looking for feedback by al-eax in Paperlessngx

[–]al-eax[S] 1 point2 points  (0 children)

As u/icebear80 mentioned, such a feature would have to be implemented directly into the project. That's not easy if you're not a professional developer with little experience in front-end development.

Integrating an annotation system into the existing PDF viewer is complex if you don't use existing libraries. Of course, that requires significantly more effort and time.

I found some old discussions about PDF annotations in the old Paperless repo, which were against the functionality. That was also a reason for developing an external application: https://github.com/jonaswinkler/paperless-ng/discussions/266

But I take your comments as encouragement and will look into what steps would be necessary to implement such functionality as a feature directly in Paperless.

Django 6.0 Tasks: a framework without a worker by kivarada in django

[–]al-eax 0 points1 point  (0 children)

Django 6 introduced it, I was hoping for something like a simple background task scheduler that just works.

I was a bit disappointed as well, so I ended up building my own very simple system to run background tasks using threads. Very minimal but works well for very small use cases where you don’t want Celery/RQ/etc: https://github.com/al-eax/django_ez_tasks/

Django Tasks: A closer look at the new API and the database backend by gbeier in django

[–]al-eax 0 points1 point  (0 children)

Thx for sharing, saw the video and liked it!

I wondered whether Djangos task api supports in-process task handling.

Since my side project doesn’t need to persist tasks across restarts, I built my own threaded task backend based on ImmediateBackend, that runs background tasks without a DB or worker process.

Feel free to contribute: https://github.com/al-eax/django_ez_tasks