File tree Expand file tree Collapse file tree 6 files changed +8
-8
lines changed Expand file tree Collapse file tree 6 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ FROM alpine:3.21 AS builder
3
3
RUN apk --no-cache add go npm libwebp-dev libwebp-static git make clang musl-dev
4
4
COPY . /pixlet
5
5
WORKDIR /pixlet
6
- RUN npm install && npm run build && STATIC=1 make build
6
+ RUN npm install && npm run build && STATIC=1 CC=clang make build
7
7
8
8
FROM scratch
9
9
Original file line number Diff line number Diff line change 7
7
"strings"
8
8
"testing"
9
9
10
+ "github.com/ingmarstein/go-libwebp/webp"
10
11
"github.com/stretchr/testify/assert"
11
12
"github.com/stretchr/testify/require"
12
- "github.com/tidbyt/go-libwebp/webp"
13
13
"tidbyt.dev/pixlet/render"
14
14
"tidbyt.dev/pixlet/runtime"
15
15
)
Original file line number Diff line number Diff line change 6
6
"fmt"
7
7
"time"
8
8
9
- "github.com/tidbyt /go-libwebp/webp"
9
+ "github.com/ingmarstein /go-libwebp/webp"
10
10
)
11
11
12
12
// Renders a screen to WebP. Optionally pass filters for
Original file line number Diff line number Diff line change 1
1
module tidbyt.dev/pixlet
2
2
3
- go 1.23
3
+ go 1.23.6
4
4
5
5
require (
6
6
github.com/Code-Hex/Neo-cowsay/v2 v2.0.4
@@ -17,6 +17,7 @@ require (
17
17
github.com/google/tink/go v1.7.0
18
18
github.com/gorilla/mux v1.8.1
19
19
github.com/gorilla/websocket v1.5.3
20
+ github.com/ingmarstein/go-libwebp v0.0.0-20250210064648-2a5c38d63a1b
20
21
github.com/manifoldco/promptui v0.9.0
21
22
github.com/mitchellh/hashstructure/v2 v2.0.2
22
23
github.com/nathan-osman/go-sunrise v1.1.0
@@ -33,7 +34,6 @@ require (
33
34
github.com/srwiley/rasterx v0.0.0-20220730225603-2ab79fcdd4ef
34
35
github.com/stretchr/testify v1.10.0
35
36
github.com/tidbyt/gg v0.0.0-20220808163829-95806fa1d427
36
- github.com/tidbyt/go-libwebp v0.0.0-20230922075150-fb11063b2a6a
37
37
github.com/vmihailenco/msgpack/v5 v5.4.1
38
38
github.com/zachomedia/go-bdf v0.0.0-20220611021443-a3af701111be
39
39
go.starlark.net v0.0.0-20250205221240-492d3672b3f4
Original file line number Diff line number Diff line change @@ -161,6 +161,8 @@ github.com/ianlancetaylor/demangle v0.0.0-20240912202439-0a2b6291aafd/go.mod h1:
161
161
github.com/inconshreveable/mousetrap v1.0.0 /go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8 =
162
162
github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8 =
163
163
github.com/inconshreveable/mousetrap v1.1.0 /go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw =
164
+ github.com/ingmarstein/go-libwebp v0.0.0-20250210064648-2a5c38d63a1b h1:Krdm0Ud4gdyfuac9pIJzjb2XS1uvzstuL15ShkvPsYM =
165
+ github.com/ingmarstein/go-libwebp v0.0.0-20250210064648-2a5c38d63a1b /go.mod h1:IpH5jI96BLlagb2XZnNHNOh37XP6KW/aKI66kR6lU/4 =
164
166
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 h1:BQSFePA1RWJOlocH6Fxy8MmwDt+yVQYULKfN0RoTN8A =
165
167
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 /go.mod h1:1lJo3i6rXxKeerYnT8Nvf0QmHCRC1n8sfWVwXF2Frvo =
166
168
github.com/jonboulle/clockwork v0.1.0 /go.mod h1:Ii8DK3G1RaLaWxj9trq07+26W01tbo22gdxWY5EU2bo =
@@ -305,8 +307,6 @@ github.com/subosito/gotenv v1.6.0 h1:9NlTDc1FTs4qu0DDq7AEtTPNw6SVm7uBMsUCUjABIf8
305
307
github.com/subosito/gotenv v1.6.0 /go.mod h1:Dk4QP5c2W3ibzajGcXpNraDfq2IrhjMIvMSWPKKo0FU =
306
308
github.com/tidbyt/gg v0.0.0-20220808163829-95806fa1d427 h1:br5WYVw/jr4G0PZpBBx2fBAANVUrI8KKHMSs3LVqO9A =
307
309
github.com/tidbyt/gg v0.0.0-20220808163829-95806fa1d427 /go.mod h1:+SCm6iJHe2lfsQzlbLCsd5XsTKYSD0VqtQmWMnNs9OE =
308
- github.com/tidbyt/go-libwebp v0.0.0-20230922075150-fb11063b2a6a h1:zvAhEO3ZB7m1Lc3BwJXLTDrLrHVAbcDByJ7XkL4WR+s =
309
- github.com/tidbyt/go-libwebp v0.0.0-20230922075150-fb11063b2a6a /go.mod h1:JU6yp7mldR7lmftjHPtaDs+Q8xn7l2tMR1XYx5iJELg =
310
310
github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5 /go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U =
311
311
github.com/ugorji/go v1.1.4 /go.mod h1:uQMGLiO92mf5W77hV/PUCpI3pbzQx3CRekS0kk+RGrc =
312
312
github.com/vmihailenco/msgpack/v5 v5.4.1 h1:cQriyiUvjTwOHg8QZaPihLWeRAAVoCpE00IUPn0Bjt8 =
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ package render
5
5
import (
6
6
"fmt"
7
7
8
- "github.com/tidbyt /go-libwebp/webp"
8
+ "github.com/ingmarstein /go-libwebp/webp"
9
9
)
10
10
11
11
func (p * Image ) InitFromWebP (data []byte ) error {
You can’t perform that action at this time.
0 commit comments