You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Export/import shopping lists as .menu files from the server UI #380
It would be very helpful to be able to import and export meal plans through the web interface provided by the cook cli server.
Once recipes are assembled into a shopping list on the server, it would be useful to be able to export that list as a .menu file, so you can repeat it another time or keep a track of menus over time.
It would also be great to be able to access a plaintext, non-HTML version of the shopping list for copying and pasting into other tools (like notes applications), potentially as a link from the Shopping List page.
Some way to import an existing .menu file to the web interface would also be a great addition, so you can load previous menus or a menu that someone else has prepared (provided you have the right recipes).
changed the title [-][New feature] Export/Import options for shopping lists created in cook server[/-][+]Export/import shopping lists as .menu files from the server UI[/+]on Aug 7, 2026
Thanks @dubadub. I think I've since discovered that cookcli already provides 1 and 3 (see my comment on issue 385. (And I'll try to propose some changes to the documentation to highlight these great features.)
So, the main thing would be 2, where I had been thinking either A) a button to download/display plain text (just: group name from aisle.conf or item and then a new line), so it's easy to copy and paste shopping lists into other note software without needing a parser on the other end; or B) a simpler view of the existing shopping list, without the checkboxes.
JSON shopping lists could be another option, which would essentially be an API end point that others could retrieve the content they need ? That might be over engineering it though.
Actually, now I stop and think, what I had in mind for 1, isn't quite in cookcli server.
I was imagining adding recipes to a shopping list using the web interface, and then having a button to "save" that collection as a .menu file. (So essentially, compiling a .menu file with the web interface recipe selections, rather than marking up a .menu file manually through text input.) Then, the .menu file would be saved and I could open it and convert it to a shopping list again, based on the current pantry at another time.
Activity
[-][New feature] Export/Import options for shopping lists created in cook server[/-][+]Export/import shopping lists as .menu files from the server UI[/+]dubadub commentedon Aug 8, 2026
@daviddehoog I'm curious if you have any opinion on when shopping list has a menu file already, how should it export it?
daviddehoog commentedon Aug 9, 2026
Thanks @dubadub. I think I've since discovered that cookcli already provides 1 and 3 (see my comment on issue 385. (And I'll try to propose some changes to the documentation to highlight these great features.)
So, the main thing would be 2, where I had been thinking either A) a button to download/display plain text (just: group name from aisle.conf or item and then a new line), so it's easy to copy and paste shopping lists into other note software without needing a parser on the other end; or B) a simpler view of the existing shopping list, without the checkboxes.
JSON shopping lists could be another option, which would essentially be an API end point that others could retrieve the content they need ? That might be over engineering it though.
daviddehoog commentedon Aug 9, 2026
Actually, now I stop and think, what I had in mind for 1, isn't quite in cookcli server.
I was imagining adding recipes to a shopping list using the web interface, and then having a button to "save" that collection as a .menu file. (So essentially, compiling a .menu file with the web interface recipe selections, rather than marking up a .menu file manually through text input.) Then, the .menu file would be saved and I could open it and convert it to a shopping list again, based on the current pantry at another time.
dubadub commentedon Aug 9, 2026
Alright, then it feels more like another feature request #385.
I have an API already in server, but it's not advertised, I'll create a doc page, so people can discover and use it in their automation.
I'll add a button to copy shopping list into clipboard then as part of this ticket.
feat(server): add a button to copy the shopping list as plain text (#411