Commit graph

15 commits

Author SHA1 Message Date
Gabriel Simmer dfeba31784
Basic Prometheus metrics
All checks were successful
Nix build / build-docker (pull_request) Successful in 2m25s
Nix build / build-docker-arm (pull_request) Successful in 5m41s
Currently track number of paste views and total pastes in
database. May expand over time.
2024-05-18 23:02:27 +01:00
Gabriel Simmer fdbbc6a891
PostgreSQL compatibility (#5)
All checks were successful
Nix build / build-docker (push) Successful in 2m10s
Nix build / build-docker-arm (push) Successful in 4m53s
Removes the need for a PVC in my Kubernetes cluster, which is really why I'm doing this.

Reviewed-on: #5
Co-authored-by: Gabriel Simmer <g@gmem.ca>
Co-committed-by: Gabriel Simmer <g@gmem.ca>
2024-04-30 23:57:37 +01:00
Gabriel Simmer 4301cef8a7
Correct Tailscale version (go up!)
Some checks failed
Nix build / build-docker-arm (pull_request) Failing after 1m43s
Nix build / build-docker (pull_request) Failing after 5m12s
2024-03-30 15:18:00 +00:00
Gabriel Simmer 0fe78aeb62
Fix dependencies
All checks were successful
Nix build / build-docker-arm (pull_request) Successful in 5m36s
Nix build / build-docker (pull_request) Successful in 11m4s
2024-03-30 14:11:27 +00:00
Gabriel Simmer b5c8a7d3a5
Upgrade dependencies
Some checks failed
Nix build / build-docker-arm (pull_request) Failing after 1m38s
Nix build / build-docker (pull_request) Has been cancelled
2024-03-30 13:56:02 +00:00
Gabriel Simmer 367a84eb11
Treat org-mode as render-able document 2023-09-19 16:45:22 +01:00
Xe Iaso cfddee4285 update nixpkgs and go dependencies
Fixes #30
Fixes #28
2023-09-19 11:24:38 -04:00
Xe Iaso ec04b09f74 cmd/web: use modernc sqlite
Signed-off-by: Xe Iaso <xe@tailscale.com>
2023-09-19 10:51:11 -04:00
Xe Iaso 26cbc62bca go.mod: update tailscale
Signed-off-by: Xe Iaso <xe@tailscale.com>
2023-03-17 14:38:56 +00:00
Xe Iaso dc69c0cd81 cmd/web: add markdown processing
This uses the library blackfriday[1] to convert markdown to HTML. This
is a naive implementation, but it will do for now.

[1]: https://pkg.go.dev/github.com/russross/blackfriday

Signed-off-by: Xe Iaso <xe@tailscale.com>
2023-02-23 19:58:37 +00:00
Xe Iaso a6de30a985 cmd/web: syntax highlighting with prism.js
Signed-off-by: Xe Iaso <xe@tailscale.com>
2023-02-22 15:43:17 +00:00
Xe Iaso b4ff6aa03f rename to tclip
Signed-off-by: Xe Iaso <xe@tailscale.com>
2023-01-16 19:14:45 +00:00
Xe Iaso 2d60fbc5cb rename to infinipaste
Signed-off-by: Xe Iaso <xe@tailscale.com>
2023-01-16 16:07:36 +00:00
Xe Iaso 34f5253535 go mod tidy
Signed-off-by: Xe Iaso <xe@tailscale.com>
2023-01-12 16:25:13 +00:00
Xe Iaso b397291bd2 initial commit
Signed-off-by: Xe Iaso <xe@tailscale.com>
2022-12-08 19:43:13 +00:00