cookbook icon indicating copy to clipboard operation
cookbook copied to clipboard

Improve public sharing of Recipes

Open basebuilder opened this issue 4 years ago • 8 comments

Is your feature request related to a problem?

As a NextCloud user, I like being able to publicly share rendered markdown notes from the Notes app like this:

AFAICT as a Cookbook user, when sharing a recipe publicly, there is only the following:

Describe the solution you'd like

Ideally, public sharing of recipes would by default display the same rendering currently displayed to an authenticated user within the Cookbook app- e.g.

cookbook-recipe-view

Also,it would be helpful to display a pure JSON result by requesting something like

https://cloud.eotl.supply/s/GbHD2MYiWop43ki/json

Describe alternatives you've considered

Unless I completely overlooking something in the app, I don't know of an alternative solution at the moment.

basebuilder avatar Nov 18 '20 15:11 basebuilder

This is closely related #120 and also to #340.

You are right, currently there is no sharing possible (neither internally nor externally). There are some general changes to be addressed soon. The sharing will be one of these things.

christianlupus avatar Nov 18 '20 15:11 christianlupus

Thanks for clarifying @christianlupus I do PHP and front-end dev regularly, but have never worked with NextCloud apps.

Could you or someone else guesstimate how hard of task this is in terms of learning the APIs?

ghost avatar Nov 18 '20 16:11 ghost

Well it is not too hard to enter things. We define the web API ourselves. The nextcloud API is not too complex either. Currently some general preparations should be done in the codebase to help further development.

christianlupus avatar Nov 18 '20 17:11 christianlupus

I am new to the NextCloud App ecosystem especially Apps in the official /nextcloud/app-name organization. The Cookbook README says "We're limited on resources" does this mean in terms developers with time- is this constrained by money? Would it be helpful to help fund a dev to work on this feature (and maybe others)?

ghost avatar Nov 18 '20 18:11 ghost

Although not related with this issue, here are some points:

  • The maintainer @mrzapp is searching for a person to replace him.
  • Currently there are a few guys cooperating to push the plugin further. We are using our spare time so there is no dev team or so involved. There are some dedications due to individual strengths.
  • If you want to provide any help in terms of coding, just go ahead. Good practice is to have an issue related to it (for discussion and to avoid doubled work on the same topic). You can get assigned to that issue and start coding.
  • There is a matrix channel where a few devs and users are hanging around. Your question might be better fitting there as this allows common discussion as well (and we are not flooding this issue right now).

christianlupus avatar Nov 19 '20 10:11 christianlupus

Was looking for a solution to this.... I just share my "recipes" folder with all other users. They need to rename their "recipes" folder to "recipefolder(old)" an "recipes (2)" to "recipes".

reload in cookbook settings et voila!

It's a workaround that works! Anyhoo , it's a great app! exactly what we where looking for!

eddriesen avatar Nov 20 '20 12:11 eddriesen

@eddriesen i'm talking public sharing on the web with non-NextCloud users. As for

They need to rename their "recipes" folder to "recipefolder(old)" an "recipes (2)" to "recipes".

This is indeed an issue with sharing recipes folders but is unrelated to what I opened this issue about!

ghost avatar Nov 20 '20 13:11 ghost

I too would like to be able to publicly share recipes. More than anything else in my NC :)

Japhys avatar May 21 '22 07:05 Japhys