File size: 1,115 Bytes
be8cc99
 
 
 
 
 
 
 
1923a52
be8cc99
 
 
94375a9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
---
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