[FR] Add capabilities to receive 'share' intents #47

Open
opened 2025-11-01 20:45:24 -05:00 by GiteaMirror · 5 comments
Owner

Originally created by @RoboMagus on GitHub (May 6, 2022).

Much like how you can hit the share button in any app to e.g. save a URL to Google Keep, I'd like to have this functionality for my Vikunja lists as well.
I figured, since the Vikunja frontend is just a webapp it might not be possible, but then I came across this webpage that seems to suggest this can be implemented in a fairly straightforward way.

Ideally users would be able to select what should be done with the received content (e.g. to which list to add, to add a 'Shared' tag, etc.), but by default adding it to a separate list called 'shared' so the items can be sorted by hand and moved to their intended location later on.

Originally created by @RoboMagus on GitHub (May 6, 2022). Much like how you can hit the share button in any app to e.g. save a URL to Google Keep, I'd like to have this functionality for my Vikunja lists as well. I figured, since the Vikunja frontend is just a webapp it might not be possible, but then I came across [this webpage](https://web.dev/web-share-target/) that seems to suggest this can be implemented in a fairly straightforward way. Ideally users would be able to select what should be done with the received content (e.g. to which list to add, to add a 'Shared' tag, etc.), but by default adding it to a separate list called 'shared' so the items can be sorted by hand and moved to their intended location later on.
Author
Owner

@kolaente commented on GitHub (May 10, 2022):

Pinging @Benimautner since this is probably also interesting for the app.

@kolaente commented on GitHub (May 10, 2022): Pinging @Benimautner since this is probably also interesting for the app.
Author
Owner

@anderspitman commented on GitHub (Sep 28, 2023):

I would also love to see this implemented. It's definitely possible by making the Vikunja frontend a PWA and imlementing share_target. Currently works on Chrome on Android.

@anderspitman commented on GitHub (Sep 28, 2023): I would also love to see this implemented. It's definitely possible by making the Vikunja frontend a PWA and imlementing `share_target`. Currently works on Chrome on Android.
Author
Owner

@kolaente commented on GitHub (Sep 28, 2023):

I'd merge a PR if someone wants to contribute

@kolaente commented on GitHub (Sep 28, 2023): I'd merge a PR if someone wants to contribute
Author
Owner

@RoboMagus commented on GitHub (Oct 5, 2023):

I've been tinkering with the implementation for a share target over the last week, but my lack of Frontend / JS dev experience does not help me out regarding the build errors I'm getting.

I've opened up a draft PR to share the implementation so far, but need help to get through some of the hurdles regarding access to the authStore and taskStore.

@RoboMagus commented on GitHub (Oct 5, 2023): I've been tinkering with the implementation for a share target over the last week, but my lack of Frontend / JS dev experience does not help me out regarding the build errors I'm getting. I've opened up a draft PR to share the implementation so far, but need help to get through some of the hurdles regarding access to the `authStore` and `taskStore`.
Author
Owner

@bioshazard commented on GitHub (Jul 21, 2025):

I am gonna take another crack at a PR for this. I am all in on PWA and love using share target for my other PWAs.

https://github.com/go-vikunja/vikunja/blob/main/frontend/vite.config.ts#L141

@bioshazard commented on GitHub (Jul 21, 2025): I am gonna take another crack at a PR for this. I am all in on PWA and love using share target for my other PWAs. https://github.com/go-vikunja/vikunja/blob/main/frontend/vite.config.ts#L141
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vikunja#47