···1-ARG GO_VERSION=1
2-FROM golang:${GO_VERSION}-alpine as builder
3-4-# fix x509 cert error
5-RUN apk update && apk add ca-certificates
6-7-WORKDIR /usr/src/app
8-COPY go.mod go.sum ./
9-RUN go mod download && go mod verify
10-COPY . .
11-RUN go build -v -o /run-app .
12-13-FROM alpine:latest
14-15-COPY --from=builder /run-app /usr/local/bin/
16-CMD ["run-app"]
···0000000000000000
-24
LICENSE
···1-This is free and unencumbered software released into the public domain.
2-3-Anyone is free to copy, modify, publish, use, compile, sell, or
4-distribute this software, either in source code form or as a compiled
5-binary, for any purpose, commercial or non-commercial, and by any
6-means.
7-8-In jurisdictions that recognize copyright laws, the author or authors
9-of this software dedicate any and all copyright interest in the
10-software to the public domain. We make this dedication for the benefit
11-of the public at large and to the detriment of our heirs and
12-successors. We intend this dedication to be an overt act of
13-relinquishment in perpetuity of all present and future rights to this
14-software under copyright law.
15-16-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19-IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
20-OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
21-ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
22-OTHER DEALINGS IN THE SOFTWARE.
23-24-For more information, please refer to <https://unlicense.org>
···000000000000000000000000
-16
README.md
···1-# htmlsky
2-3-An HTML-only Bluesky frontend.
4-5-Just replace [bsky.app](https://bsky.app) with [htmlsky.app](https://htmlsky.app)!
6-7-Want JSON? `/raw/`
8-Want embeds? `/embed/`
9-10-## Self-hosting
11-12-Edit `fly.toml` to fit your needs.
13-14-## Contributing
15-16-Send patches/bug reports to <~jordanreger/htmlsky-devel@lists.sr.ht>