pentacent / keila

Open Source Newsletter Tool.
https://keila.io
GNU Affero General Public License v3.0
1.36k stars 67 forks source link

Allow download of contact list as CSV #110

Closed wmnnd closed 11 months ago

wmnnd commented 2 years ago

The Contacts page should allow downloading contacts as CSV. The CSV file should be formatted to be compatible with CSV import files.

The same download feature should also be available from the segment editor.

In order to allow also large contact lists to be downloaded, Keila.Contacts.stream_project_contacts/2 should be used with Plug.Conn.send_chunked/2 and Plug.Conn.chunk/2.

MagicFab commented 1 year ago

This feature is particularly important to avoid problematic cloud vendor lock-in : you can migrate your lists easily into Keila but can't migrate out once in as is right now - unless you're self-hosting and/or have direct access and knowledge to extract from the database. Data portability is essential to reassure users they have 100% control and ownership of their data - and their email recipients'.

satoshinotdead commented 1 year ago

I wonder if there is a good practice as manual workaround in order to export the database.

All tables from postgres and that's it?

katafrakt commented 1 year ago

I guess I could work on that, if that's ok

wmnnd commented 11 months ago

This feature is now available in version 0.12.6 :partying_face:

MagicFab commented 11 months ago

Awesome ! Thank you :1st_place_medal: