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