|
|
--- |
|
|
title: HebrewCookingRecipesViewer |
|
|
emoji: ๐ |
|
|
colorFrom: green |
|
|
colorTo: red |
|
|
sdk: docker |
|
|
pinned: false |
|
|
short_description: Recipe viewer from the hebrew recipes dataset |
|
|
app_port: 8080 |
|
|
--- |
|
|
|
|
|
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference |
|
|
|
|
|
## Local usage |
|
|
|
|
|
This is a simple Go + htmx web app that reads the `recipes.parquet` file (from the Hebrew Recipes dataset) and provides a searchable viewer. |
|
|
|
|
|
Steps: |
|
|
|
|
|
1. Put `recipes.parquet` from the Hugging Face dataset into the `data/` directory next to this repository root. |
|
|
2. Build and run the app (PowerShell): |
|
|
|
|
|
```powershell |
|
|
go mod tidy; go build -o hebrewrecipesviewer.exe |
|
|
./hebrewrecipesviewer.exe |
|
|
``` |
|
|
|
|
|
3. Open http://localhost:8080 in your browser. |
|
|
|
|
|
Notes |
|
|
|
|
|
- The app extracts `name`, `description`, `recipeInstructions`, and `recipeIngredient` fields from the `JsonLd` column and builds a simple searchable text blob. |
|
|
- If `data/recipes.parquet` is missing the server will still start but no recipes will be loaded; download the parquet from the dataset page: https://huggingface.co/datasets/Wissotsky/HebrewRecipes |
|
|
|