File size: 778 Bytes
66191a5
 
 
 
29a0395
66191a5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
35
36
37
38
39
40
---
title: Ollama Template Test
emoji: 🚧
colorFrom: yellow
colorTo: red
sdk: static
pinned: true
license: mit
short_description: This is a web-based tool for testing Ollama chat template
---

# Ollama Go Template Web Demo

This is a web-based demonstration tool for testing Ollama chat templates using Go's template engine compiled to WebAssembly.

## Features

- Live preview of chat template formatting
- WebAssembly-powered Go template engine
- Simple and intuitive web interface

## Usage

1. Enter your conversation JSON in the first text area
2. Modify the Ollama template in the second text area
3. Click "Apply chat template" to see the results

## How to build it

```sh
# Make sure to install golang
# Clone the repo
./build.sh
# Enjoy
```

## License

MIT License