Skip to content

Export/import shopping lists as .menu files from the server UI #380

Closed

Description

@daviddehoog

It would be very helpful to be able to import and export meal plans through the web interface provided by the cook cli server.

  1. 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.

  2. 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.

  3. 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).

Activity

  1. 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
  2. added
    area: server
    area: shopping-list
    on Aug 7, 2026
  3. dubadub commented on Aug 8, 2026

    @dubadub
    Member

    @daviddehoog I'm curious if you have any opinion on when shopping list has a menu file already, how should it export it?

  4. daviddehoog commented on Aug 9, 2026

    @daviddehoog
    Author

    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.

  5. daviddehoog commented on Aug 9, 2026

    @daviddehoog
    Author

    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.

  6. dubadub commented on Aug 9, 2026

    @dubadub
    Member

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: serverarea: shopping-listfeature request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions