tangled
alpha
login
or
join now
julien.rbrt.fr
/
ollama-proxy
0
fork
atom
lightweight go reverse proxy for ollama with bearer token authentication
go
proxy
ollama
0
fork
atom
overview
issues
pulls
pipelines
refactor!: migrated to tangled
julien.rbrt.fr
3 months ago
31fccba1
7139cbb0
0/1
ci.yml
pending
3mo ago
+27
-45
6 changed files
expand all
collapse all
unified
split
.github
workflows
test.yml
.tangled
workflows
ci.yml
go.mod
license
ollama-proxy.service
readme.md
-40
.github/workflows/test.yml
reviewed
···
1
1
-
name: Test
2
2
-
3
3
-
on:
4
4
-
push:
5
5
-
branches: [main]
6
6
-
pull_request:
7
7
-
8
8
-
jobs:
9
9
-
test:
10
10
-
name: Test
11
11
-
runs-on: ubuntu-latest
12
12
-
13
13
-
steps:
14
14
-
- name: Checkout code
15
15
-
uses: actions/checkout@v4
16
16
-
17
17
-
- name: Set up Go
18
18
-
uses: actions/setup-go@v5
19
19
-
20
20
-
- name: Download dependencies
21
21
-
run: go mod download
22
22
-
23
23
-
- name: Run tests
24
24
-
run: go test -v -race ./...
25
25
-
26
26
-
lint:
27
27
-
name: Lint
28
28
-
runs-on: ubuntu-latest
29
29
-
30
30
-
steps:
31
31
-
- name: Checkout code
32
32
-
uses: actions/checkout@v4
33
33
-
34
34
-
- name: Set up Go
35
35
-
uses: actions/setup-go@v5
36
36
-
37
37
-
- name: Run golangci-lint
38
38
-
uses: golangci/golangci-lint-action@v6
39
39
-
with:
40
40
-
version: latest
+24
.tangled/workflows/ci.yml
reviewed
···
1
1
+
when:
2
2
+
- event: ["push"]
3
3
+
branch: ["main"]
4
4
+
- event: ["pull_request"]
5
5
+
branch: ["main"]
6
6
+
7
7
+
engine: "nixery"
8
8
+
9
9
+
# using the default values
10
10
+
clone:
11
11
+
skip: false
12
12
+
depth: 1
13
13
+
submodules: false
14
14
+
15
15
+
dependencies:
16
16
+
nixpkgs:
17
17
+
- go
18
18
+
19
19
+
steps:
20
20
+
- name: "Build servmon"
21
21
+
command: "go build ."
22
22
+
23
23
+
- name: "Run tests"
24
24
+
command: "go test ./... -v"
LICENSE
license
reviewed
+1
-3
README.md
readme.md
reviewed
···
1
1
# Ollama Proxy
2
2
3
3
-
[](https://github.com/julienrbrt/ollama-proxy/actions/workflows/test.yml)
4
4
-
5
3
A lightweight Go reverse proxy for Ollama with Bearer token authentication.
6
4
7
5
## Features
···
13
11
## Installation
14
12
15
13
```bash
16
16
-
go install github.com/julienrbrt/ollama-proxy@latest
14
14
+
go install pkg.rbrt.fr/ollama-proxy@latest
17
15
```
18
16
19
17
```bash
+1
-1
go.mod
reviewed
···
1
1
-
module github.com/julienrbrt/ollama-proxy
1
1
+
module pkg.rbrt.fr/ollama-proxy
2
2
3
3
go 1.23
4
4
+1
-1
ollama-proxy.service
reviewed
···
1
1
[Unit]
2
2
Description=Ollama Proxy - Bearer token authentication proxy for Ollama API
3
3
-
Documentation=https://github.com/julienrbrt/ollama-proxy
3
3
+
Documentation=https://tangled.org/julien.rbrt.fr/ollama-proxy
4
4
After=network-online.target
5
5
Wants=network-online.target
6
6