Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
reaper47 committed Jul 14, 2024
1 parent 6719762 commit e51dca9
Show file tree
Hide file tree
Showing 5 changed files with 73 additions and 52 deletions.
20 changes: 18 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ It is focused on simplicity for the whole family to enjoy.
- Import recipes from around the web
- Digitize paper recipes
- Organize your recipes into cookbooks
- Works seamlessly with [Nextcloud Cookbook](https://apps.nextcloud.com/apps/cookbook)
- Easily migrate your recipes from [Mealie](https://mealie.io), [Tandoor](https://tandoor.dev) and [Nextcloud Cookbook](https://apps.nextcloud.com/apps/cookbook)
- Automatic conversion to your preferred measurement system (imperial/metric)
- Calculate nutritional information automatically
- Print any recipe in your collection
Expand All @@ -49,7 +49,23 @@ Follow these steps to build the project yourself:

Alternatively, you may use the [development container](https://recipes.musicavis.ca/guide/docs/development/devcontainer/).
Recipya's Docker [container](https://github.com/reaper47/recipya/tree/main/.devcontainer) includes all the necessary tools and dependencies
you need to start writing code quickly.
you need to start writing code quickly.
### Updating
#### Docker
Please follow these [instructions](https://recipes.musicavis.ca/guide/docs/installation/docker/#updating-your-container-1)
to update your Docker instance.
#### Release build
If you installed a release build of Recipya, i.e. v1.0.0, then the software will notify you once an update is available.
You can [self-update](https://recipes.musicavis.ca/guide/docs/features/updater) the application from the settings dialog.
Let's explain the mechanism developers. Basically, a cron job is run [every three days]((https://github.com/reaper47/recipya/blob/main/internal/jobs/jobs.go#L70-L82))
to check whether there is a new GitHub release. If so, the update indicators in the UI will be enabled. Once the user presses
the "Update" button, the latest release is fetched, unpacked and the application restarted.

## Contributing

Expand Down
99 changes: 52 additions & 47 deletions docs/website/content/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,59 +24,64 @@ layout: hextra-home

{{< hextra/feature-grid >}}
{{< hextra/feature-card
title="Curate Recipes"
subtitle="Effortlessly import your favorite recipes from around the web, digitize paper recipes, and add recipes manually."
class="aspect-auto md:aspect-[1.1/1] max-md:min-h-[340px]"
image="/images/curate.webp"
imageClass="small w-[180%] left-[36px] sm:w-[110%] dark:opacity-80"
style="background: radial-gradient(ellipse at 50% 80%,rgba(194,97,254,0.15),hsla(0,0%,100%,0));"
>}}
title="Curate Recipes"
subtitle="Effortlessly import your favorite recipes from around the web, digitize paper recipes, and add recipes manually."
class="aspect-auto md:aspect-[1.1/1] max-md:min-h-[340px]"
image="/images/curate.webp"
imageClass="small w-[180%] left-[36px] sm:w-[110%] dark:opacity-80"
style="background: radial-gradient(ellipse at 50% 80%,rgba(194,97,254,0.15),hsla(0,0%,100%,0));"
>}}
{{< hextra/feature-card
title="One Measurement System"
subtitle="All your recipes can be converted to your preferred measurement system. Say goodbye to imperial or metric."
class="aspect-auto md:aspect-[1.1/1] max-lg:min-h-[340px]"
image="/images/view-recipe.webp"
imageClass="small w-[110%] sm:w-[110%] dark:opacity-80"
icon="globe"
style="background: radial-gradient(ellipse at 50% 80%,rgba(142,53,74,0.15),hsla(0,0%,100%,0));"
>}}
title="One Measurement System"
subtitle="All your recipes can be converted to your preferred measurement system. Say goodbye to imperial or metric."
class="aspect-auto md:aspect-[1.1/1] max-lg:min-h-[340px]"
image="/images/view-recipe.webp"
imageClass="small w-[110%] sm:w-[110%] dark:opacity-80"
icon="globe"
style="background: radial-gradient(ellipse at 50% 80%,rgba(142,53,74,0.15),hsla(0,0%,100%,0));"
>}}
{{< hextra/feature-card
title="Self-Hostable"
subtitle="Easily self-host the software on your server with Docker."
icon="desktop-computer"
class="aspect-auto md:aspect-[1.1/1] max-md:min-h-[340px]"
image="/images/devices.svg"
imageClass="small w-[110%] sm:w-[110%] dark:opacity-80"
style="background: radial-gradient(ellipse at 50% 80%,rgba(221,210,59,0.15),hsla(0,0%,100%,0));"
>}}
title="Self-Hostable"
subtitle="Easily self-host the software on your server with Docker."
icon="desktop-computer"
class="aspect-auto md:aspect-[1.1/1] max-md:min-h-[340px]"
image="/images/devices.svg"
imageClass="small w-[110%] sm:w-[110%] dark:opacity-80"
style="background: radial-gradient(ellipse at 50% 80%,rgba(221,210,59,0.15),hsla(0,0%,100%,0));"
>}}
{{< hextra/feature-card
title="Nutrition Facts"
icon="information-circle"
subtitle="Let the software calculate nutritional information automatically when adding recipes."
>}}
title="Nutrition Facts"
icon="information-circle"
subtitle="Let the software calculate nutritional information automatically when adding recipes."
>}}
{{< hextra/feature-card
title="Integrations"
icon="chip"
subtitle="Import recipes from different solutions. Thus far, you can import recipes from Nextcloud Cookbook and MasterCook."
>}}
title="Integrations"
icon="chip"
subtitle="Import your recipes from different solutions, such as Mealie, Tandoor, Nextcloud Cookbook, MasterCook, and Paprika."
>}}
{{< hextra/feature-card
title="Wakelock"
icon="light-bulb"
subtitle="Prevent your device from going to sleep while viewing a recipe."
>}}
title="Wakelock"
icon="light-bulb"
subtitle="Prevent your device from going to sleep while viewing a recipe."
>}}
{{< hextra/feature-card
title="Print"
icon="printer"
subtitle="Print any recipe or cookbook in your collection."
>}}
title="Print"
icon="printer"
subtitle="Print any recipe or cookbook in your collection."
>}}
{{< hextra/feature-card
title="Responsive"
icon="device-mobile"
subtitle="Looks great on different screen sizes. Follows your system's theme."
>}}
title="Responsive"
icon="device-mobile"
subtitle="Looks great on different screen sizes. Follows your system's theme."
>}}
{{< hextra/feature-card
title="And Much More..."
icon="sparkles"
subtitle="Please make sure not to overlook the features tour in the documentation for more!"
>}}
title="Cross-compiled"
icon="chip"
subtitle="Can be installed on Windows, Linux, and macOS."
>}}
{{< hextra/feature-card
title="And Much More..."
icon="sparkles"
subtitle="Please make sure not to overlook the features tour in the documentation for more!"
>}}
{{< /hextra/feature-grid >}}
2 changes: 1 addition & 1 deletion docs/website/content/docs/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ share your favorite recipes. It is focussed on simplicity for the whole family t
- [Import recipes from around the web](/guide/docs/features/recipes/add#website)
- [Digitize paper recipes](/guide/docs/features/recipes/add#scan)
- [Organize your recipes into cookbooks](/guide/docs/features/cookbooks)
- [Works seamlessly with Nextcloud Cookbook](/guide/docs/features/integrations)
- [Easily migrate your recipes from Mealie, Tandoor and Nextcloud Cookbook](/guide/docs/features/integrations)
- [Automatic conversion to your preferred measurement system](/guide/docs/features/measurement-systems) (imperial/metric)
- [Calculate nutritional information automatically](/guide/docs/features/nutrition-facts)
- [Print any recipe in your collection](/guide/docs/features/recipes/print)
Expand Down
2 changes: 1 addition & 1 deletion internal/server/handlers_settings_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ func TestHandlers_Settings(t *testing.T) {

assertStatus(t, rr.Code, http.StatusOK)
assertStringsInHTML(t, getBodyHTML(rr), []string{
`<div><p class="font-semibold">Recipya Version</p><p class="text-sm mt-2">v1.2.0 (update available)</p><p class="text-xs">Last checked: 0001-01-01<br>Last updated: 0001-01-01<br><br>Read the <a class="link" href="https://recipes.musicavis.ca/guide/about/changelog/v1.2.0" target="_blank">release notes</a></p></div><button class="btn btn-sm" hx-get="/update" hx-swap="none" hx-indicator="#fullscreen-loader">Update</button></div></div>`,
`<div><p class="font-semibold">Recipya Version</p><p class="text-sm mt-2">v1.2.0 (update available)</p><p class="text-xs">Last checked: 0001-01-01<br>Last updated: 0001-01-01<br><br>Read the <a class="link" href="https://recipes.musicavis.ca/guide/about/changelog/v1.2.0" target="_blank">release notes</a></p></div><div class="flex flex-row self-start"><button class="btn btn-sm" hx-get="/update" hx-swap="none" hx-indicator="#fullscreen-loader">Update</button></div></div>`,
})
})

Expand Down

0 comments on commit e51dca9

Please sign in to comment.