From b65ee391629e199ba3d49b0fc5e10a461e401013 Mon Sep 17 00:00:00 2001 From: video-prize-ranch Date: Sat, 10 Jun 2023 12:27:20 -0400 Subject: [PATCH] Switch to codeberg.org/rimgo/rimgo --- README.md | 10 +++++----- api/album.go | 2 +- api/comments.go | 2 +- api/user.go | 2 +- go.mod | 2 +- main.go | 8 ++++---- pages/about.go | 2 +- pages/apiClient.go | 4 ++-- pages/embed.go | 4 ++-- pages/frontpage.go | 2 +- pages/media.go | 2 +- pages/post.go | 4 ++-- pages/privacy.go | 2 +- pages/tag.go | 2 +- pages/user.go | 2 +- 15 files changed, 25 insertions(+), 25 deletions(-) diff --git a/README.md b/README.md index 5838a47..443b05f 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ - + # rimgo An alternative frontend for Imgur. Originally based on [rimgu](https://codeberg.org/3np/rimgu). @@ -161,7 +161,7 @@ rimgo can run on any platform Go compiles on. ### Docker (recommended) Install [Docker](https://docs.docker.com/engine/install/) and [docker-compose](https://docs.docker.com/compose/install/), then clone this repository. ```bash -git clone https://codeberg.org/video-prize-ranch/rimgo +git clone https://codeberg.org/rimgo/rimgo cd rimgo ``` @@ -196,7 +196,7 @@ services: Clone the repository and `cd` into it. ```bash -git clone https://codeberg.org/video-prize-ranch/rimgo +git clone https://codeberg.org/rimgo/rimgo cd rimgo ``` @@ -213,7 +213,7 @@ You can now run rimgo. To include version information use: ```bash -go build -ldflags "-X codeberg.org/video-prize-ranch/rimgo/pages.VersionInfo=$(date '+%Y-%m-%d')-$(git rev-list --abbrev-commit -1 HEAD)" +go build -ldflags "-X codeberg.org/rimgo/rimgo/pages.VersionInfo=$(date '+%Y-%m-%d')-$(git rev-list --abbrev-commit -1 HEAD)" ``` (optional) You can use a .env file to set environment variables for configuration. @@ -254,7 +254,7 @@ rimgo can be configured using environment variables. The path to the .env file c | PRIVACY_DIAGNOSTICS | | | ## Contributing -Pull requests are welcome! If you have any questions or bug reports, open an [issue](https://codeberg.org/video-prize-ranch/rimgo/issues/new). +Pull requests are welcome! If you have any questions or bug reports, open an [issue](https://codeberg.org/rimgo/rimgo/issues/new). ## License This software is released under the AGPL-3.0 license. If you make any modifications to the code and distribute it (including use on a network server), you must publicly distribute your changes and release them under the AGPL-3.0. diff --git a/api/album.go b/api/album.go index 420d0a3..9e56097 100644 --- a/api/album.go +++ b/api/album.go @@ -4,7 +4,7 @@ import ( "strings" "time" - "codeberg.org/video-prize-ranch/rimgo/utils" + "codeberg.org/rimgo/rimgo/utils" "github.com/microcosm-cc/bluemonday" "github.com/tidwall/gjson" ) diff --git a/api/comments.go b/api/comments.go index b6be83d..290ddb4 100644 --- a/api/comments.go +++ b/api/comments.go @@ -6,7 +6,7 @@ import ( "sync" "time" - "codeberg.org/video-prize-ranch/rimgo/utils" + "codeberg.org/rimgo/rimgo/utils" "github.com/dustin/go-humanize" "github.com/microcosm-cc/bluemonday" "github.com/patrickmn/go-cache" diff --git a/api/user.go b/api/user.go index dd8fd1c..2b3be47 100644 --- a/api/user.go +++ b/api/user.go @@ -8,7 +8,7 @@ import ( "sync" "time" - "codeberg.org/video-prize-ranch/rimgo/utils" + "codeberg.org/rimgo/rimgo/utils" "github.com/tidwall/gjson" ) diff --git a/go.mod b/go.mod index 12959db..c14826d 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module codeberg.org/video-prize-ranch/rimgo +module codeberg.org/rimgo/rimgo go 1.17 diff --git a/main.go b/main.go index 486391a..e85f143 100644 --- a/main.go +++ b/main.go @@ -7,10 +7,10 @@ import ( "os" "time" - "codeberg.org/video-prize-ranch/rimgo/pages" - "codeberg.org/video-prize-ranch/rimgo/static" - "codeberg.org/video-prize-ranch/rimgo/utils" - "codeberg.org/video-prize-ranch/rimgo/views" + "codeberg.org/rimgo/rimgo/pages" + "codeberg.org/rimgo/rimgo/static" + "codeberg.org/rimgo/rimgo/utils" + "codeberg.org/rimgo/rimgo/views" "github.com/aymerick/raymond" "github.com/gofiber/fiber/v2" "github.com/gofiber/fiber/v2/middleware/cache" diff --git a/pages/about.go b/pages/about.go index b4328ae..f979d94 100644 --- a/pages/about.go +++ b/pages/about.go @@ -3,7 +3,7 @@ package pages import ( "os" - "codeberg.org/video-prize-ranch/rimgo/utils" + "codeberg.org/rimgo/rimgo/utils" "github.com/gofiber/fiber/v2" ) diff --git a/pages/apiClient.go b/pages/apiClient.go index 5b6d0e4..b85b1e6 100644 --- a/pages/apiClient.go +++ b/pages/apiClient.go @@ -1,8 +1,8 @@ package pages import ( - "codeberg.org/video-prize-ranch/rimgo/api" - "codeberg.org/video-prize-ranch/rimgo/utils" + "codeberg.org/rimgo/rimgo/api" + "codeberg.org/rimgo/rimgo/utils" ) var ApiClient *api.Client diff --git a/pages/embed.go b/pages/embed.go index 9cf1b23..d48844d 100644 --- a/pages/embed.go +++ b/pages/embed.go @@ -3,8 +3,8 @@ package pages import ( "strings" - "codeberg.org/video-prize-ranch/rimgo/api" - "codeberg.org/video-prize-ranch/rimgo/utils" + "codeberg.org/rimgo/rimgo/api" + "codeberg.org/rimgo/rimgo/utils" "github.com/gofiber/fiber/v2" ) diff --git a/pages/frontpage.go b/pages/frontpage.go index 55e2f00..0ba7d31 100644 --- a/pages/frontpage.go +++ b/pages/frontpage.go @@ -1,7 +1,7 @@ package pages import ( - "codeberg.org/video-prize-ranch/rimgo/utils" + "codeberg.org/rimgo/rimgo/utils" "github.com/gofiber/fiber/v2" ) diff --git a/pages/media.go b/pages/media.go index dd58c30..34208db 100644 --- a/pages/media.go +++ b/pages/media.go @@ -5,7 +5,7 @@ import ( "os" "strings" - "codeberg.org/video-prize-ranch/rimgo/utils" + "codeberg.org/rimgo/rimgo/utils" "github.com/gofiber/fiber/v2" ) diff --git a/pages/post.go b/pages/post.go index 03020f3..8c97318 100644 --- a/pages/post.go +++ b/pages/post.go @@ -5,8 +5,8 @@ import ( "fmt" "strings" - "codeberg.org/video-prize-ranch/rimgo/api" - "codeberg.org/video-prize-ranch/rimgo/utils" + "codeberg.org/rimgo/rimgo/api" + "codeberg.org/rimgo/rimgo/utils" "github.com/gofiber/fiber/v2" ) diff --git a/pages/privacy.go b/pages/privacy.go index 163fbea..2d7851b 100644 --- a/pages/privacy.go +++ b/pages/privacy.go @@ -3,7 +3,7 @@ package pages import ( "github.com/gofiber/fiber/v2" - "codeberg.org/video-prize-ranch/rimgo/utils" + "codeberg.org/rimgo/rimgo/utils" ) func HandlePrivacy(c *fiber.Ctx) error { diff --git a/pages/tag.go b/pages/tag.go index fa62f9c..63e964b 100644 --- a/pages/tag.go +++ b/pages/tag.go @@ -3,7 +3,7 @@ package pages import ( "strconv" - "codeberg.org/video-prize-ranch/rimgo/utils" + "codeberg.org/rimgo/rimgo/utils" "github.com/gofiber/fiber/v2" ) diff --git a/pages/user.go b/pages/user.go index 285d44e..6f27e7a 100644 --- a/pages/user.go +++ b/pages/user.go @@ -3,7 +3,7 @@ package pages import ( "strconv" - "codeberg.org/video-prize-ranch/rimgo/utils" + "codeberg.org/rimgo/rimgo/utils" "github.com/gofiber/fiber/v2" )