diff --git a/config.toml b/config.toml index e4ee986..eae15bf 100644 --- a/config.toml +++ b/config.toml @@ -61,6 +61,11 @@ googleAnalytics = "" # Enable Google Analytics by entering your tracking id # Custom social links +[[Params.widgets.social.custom]] + title = "Self-hosted source code" + url = "https://code.rocketnine.space/tslocum" + icon = "svg/git.svg" + [[Params.widgets.social.custom]] title = "GitLab" url = "https://gitlab.com/tslocum" diff --git a/content/authors/admin/_index.md b/content/authors/admin/_index.md index affc982..e32b3c5 100644 --- a/content/authors/admin/_index.md +++ b/content/authors/admin/_index.md @@ -47,7 +47,7 @@ social: # link: '#contact' # For a direct email link, use "mailto:test@example.org". - icon: git icon_pack: fab - link: https://git.sr.ht/~tslocum + link: https://code.rocketnine.space/tslocum - icon: gitlab icon_pack: fab link: https://gitlab.com/tslocum diff --git a/content/post/tetris-1.md b/content/post/tetris-1.md index e7883e0..a7a6c7e 100644 --- a/content/post/tetris-1.md +++ b/content/post/tetris-1.md @@ -11,14 +11,14 @@ aliases: This is the first part of a series of tutorials on creating a [terminal-based](https://en.wikipedia.org/wiki/Text-based_user_interface) [Tetris](https://en.wikipedia.org/wiki/Tetris) clone with [Go](https://golang.org). -[**Code for this tutorial is available on GitLab.**](https://gitlab.com/tslocum/terminal-tetris-tutorial/-/tree/master/part-1) +[**Code for this tutorial is available on GitLab.**](https://code.rocketnine.space/tslocum/terminal-tetris-tutorial/src/branch/master/part-1) ```bash -go get gitlab.com/tslocum/terminal-tetris-tutorial/part-1 # Download and install +go get code.rocketnine.space/tslocum/terminal-tetris-tutorial/part-1 # Download and install ~/go/bin/part-1 # Run ``` -For a complete implementation of a Tetris clone in Go, see [netris](https://gitlab.com/tslocum/netris). +For a complete implementation of a Tetris clone in Go, see [netris](https://code.rocketnine.space/tslocum/netris). # Disclaimer diff --git a/content/post/tetris-2.md b/content/post/tetris-2.md index 53782f7..4e4ed69 100644 --- a/content/post/tetris-2.md +++ b/content/post/tetris-2.md @@ -11,14 +11,14 @@ aliases: This is the second part of a series of tutorials on creating a [terminal-based](https://en.wikipedia.org/wiki/Text-based_user_interface) [Tetris](https://en.wikipedia.org/wiki/Tetris) clone with [Go](https://golang.org). -[**Code for this tutorial is available on GitLab.**](https://gitlab.com/tslocum/terminal-tetris-tutorial/-/tree/master/part-2) +[**Code for this tutorial is available on GitLab.**](https://code.rocketnine.space/tslocum/terminal-tetris-tutorial/src/branch/master/part-2) ```bash -go get gitlab.com/tslocum/terminal-tetris-tutorial/part-2 # Download and install +go get code.rocketnine.space/tslocum/terminal-tetris-tutorial/part-2 # Download and install ~/go/bin/part-2 # Run ``` -For a complete implementation of a Tetris clone in Go, see [netris](https://gitlab.com/tslocum/netris). +For a complete implementation of a Tetris clone in Go, see [netris](https://code.rocketnine.space/tslocum/netris). # Disclaimer @@ -202,15 +202,15 @@ func main() { We are currently rendering the matrix as text without any color information. To properly support colors, and to allow more advanced interface elements, we -will instead use a terminal-based user interface library, [cview](https://gitlab.com/tslocum/cview). +will instead use a terminal-based user interface library, [cview](https://code.rocketnine.space/tslocum/cview). This will be covered in part three. ## Rotation *Coming soon* -See [Piece](https://gitlab.com/tslocum/netris/-/blob/master/pkg/mino/piece.go). +See [Piece](https://code.rocketnine.space/tslocum/netris/-/blob/master/pkg/mino/piece.go). # Up next: The User Interface -In part three we will implement a terminal-based user interface with support for colors using [cview](https://gitlab.com/tslocum/cview). +In part three we will implement a terminal-based user interface with support for colors using [cview](https://code.rocketnine.space/tslocum/cview). diff --git a/content/post/tview-and-you.md b/content/post/tview-and-you.md index 26d29d3..a307040 100644 --- a/content/post/tview-and-you.md +++ b/content/post/tview-and-you.md @@ -8,7 +8,7 @@ categories: [tutorial] [![Donate](https://img.shields.io/liberapay/receives/rocketnine.space.svg?logo=liberapay)](https://liberapay.com/rocketnine.space) -This is an introduction to using [tview](https://github.com/rivo/tview) (or [cview](https://gitlab.com/tslocum/cview)) to create rich terminal-based user interfaces with [Go](https://golang.org). +This is an introduction to using [tview](https://github.com/rivo/tview) (or [cview](https://code.rocketnine.space/tslocum/cview)) to create rich terminal-based user interfaces with [Go](https://golang.org). ## Primitives @@ -212,7 +212,7 @@ To display a primitive (and its contents), we call [Application.SetRoot](https:/ This function has two arguments, a primitive which will become the root of the screen, and a boolean which controls whether the primitive will be resized to fit the screen. -In this example, the root is a Grid containing a label, an input and a submit button. For a more complex example, see [netris](https://gitlab.com/tslocum/netris). +In this example, the root is a Grid containing a label, an input and a submit button. For a more complex example, see [netris](https://code.rocketnine.space/tslocum/netris). Install tview if you haven't already: diff --git a/content/project/ditty.md b/content/project/ditty.md index fa2fb6d..1b9aa88 100644 --- a/content/project/ditty.md +++ b/content/project/ditty.md @@ -4,5 +4,5 @@ summary: Audio player tags: - Go -external_link: "https://gitlab.com/tslocum/ditty" +external_link: "https://code.rocketnine.space/tslocum/ditty" --- diff --git a/content/project/gmenu.md b/content/project/gmenu.md index e55d9e2..04d85bd 100644 --- a/content/project/gmenu.md +++ b/content/project/gmenu.md @@ -5,5 +5,5 @@ tags: - Go #date: "2016-04-27T00:00:00Z" -external_link: "https://gitlab.com/tslocum/gmenu" +external_link: "https://code.rocketnine.space/tslocum/gmenu" --- diff --git a/content/project/godoc-static.md b/content/project/godoc-static.md index fd8068a..37ac283 100644 --- a/content/project/godoc-static.md +++ b/content/project/godoc-static.md @@ -4,5 +4,5 @@ summary: Generate static Go documentation tags: - Go -external_link: "https://gitlab.com/tslocum/godoc-static" +external_link: "https://code.rocketnine.space/tslocum/godoc-static" --- diff --git a/content/project/gophast.md b/content/project/gophast.md index 263dd9e..7d35a9c 100644 --- a/content/project/gophast.md +++ b/content/project/gophast.md @@ -5,5 +5,5 @@ tags: - Go #date: "2016-04-27T00:00:00Z" -external_link: "https://gitlab.com/tslocum/gophast" +external_link: "https://code.rocketnine.space/tslocum/gophast" --- diff --git a/content/project/harmony.md b/content/project/harmony.md index 72be7b4..c665dcd 100644 --- a/content/project/harmony.md +++ b/content/project/harmony.md @@ -4,5 +4,5 @@ summary: Voice and text communications platform tags: - Go -external_link: "https://gitlab.com/tslocum/harmony" +external_link: "https://code.rocketnine.space/tslocum/harmony" --- diff --git a/content/project/joker.md b/content/project/joker.md index 4d696fb..198c152 100644 --- a/content/project/joker.md +++ b/content/project/joker.md @@ -4,5 +4,5 @@ summary: Playing card library tags: - Go -external_link: "https://gitlab.com/tslocum/joker" +external_link: "https://code.rocketnine.space/tslocum/joker" --- diff --git a/content/project/meditationassistant.md b/content/project/meditationassistant.md index d4f88e4..e3289b8 100644 --- a/content/project/meditationassistant.md +++ b/content/project/meditationassistant.md @@ -5,5 +5,5 @@ tags: - Android #date: "2016-04-27T00:00:00Z" -external_link: "https://gitlab.com/tslocum/meditationassistant" +external_link: "https://code.rocketnine.space/tslocum/meditationassistant" --- diff --git a/content/project/netris.md b/content/project/netris.md index c13404a..d8f9ade 100644 --- a/content/project/netris.md +++ b/content/project/netris.md @@ -4,5 +4,5 @@ summary: Multiplayer Tetris clone tags: - Go -external_link: "https://gitlab.com/tslocum/netris" +external_link: "https://code.rocketnine.space/tslocum/netris" --- diff --git a/content/project/sage.md b/content/project/sage.md index 1ddb79a..5422b4a 100644 --- a/content/project/sage.md +++ b/content/project/sage.md @@ -5,5 +5,5 @@ tags: - Go #date: "2016-04-27T00:00:00Z" -external_link: "https://gitlab.com/tslocum/sage" +external_link: "https://code.rocketnine.space/tslocum/sage" --- diff --git a/content/project/sshtargate.md b/content/project/sshtargate.md index e4960b4..74daf56 100644 --- a/content/project/sshtargate.md +++ b/content/project/sshtargate.md @@ -4,5 +4,5 @@ summary: Host SSH portals to applications tags: - Go -external_link: "https://gitlab.com/tslocum/sshtargate" +external_link: "https://code.rocketnine.space/tslocum/sshtargate" --- diff --git a/content/project/stick.md b/content/project/stick.md index 8ed597d..8946963 100644 --- a/content/project/stick.md +++ b/content/project/stick.md @@ -5,5 +5,5 @@ tags: - Go #date: "2016-04-27T00:00:00Z" -external_link: "https://gitlab.com/tslocum/stick" +external_link: "https://code.rocketnine.space/tslocum/stick" --- diff --git a/content/project/tinyib.md b/content/project/tinyib.md index bbfc53f..45b115d 100644 --- a/content/project/tinyib.md +++ b/content/project/tinyib.md @@ -6,5 +6,5 @@ tags: #date: "2016-04-27T00:00:00Z" -external_link: "https://gitlab.com/tslocum/tinyib" +external_link: "https://code.rocketnine.space/tslocum/tinyib" --- diff --git a/content/projects/_index.md b/content/projects/_index.md index 483d522..76b0f1d 100644 --- a/content/projects/_index.md +++ b/content/projects/_index.md @@ -9,18 +9,18 @@ weight: 10 | Name | Description | | --- | --- | -| [cbind](https://gitlab.com/tslocum/cbind) | Encode, decode and handle tcell key events | -| [cview](https://gitlab.com/tslocum/cview) | Terminal-based user interface toolkit | -| [ditty](https://gitlab.com/tslocum/ditty) | Audio player | -| [gmenu](https://gitlab.com/tslocum/gmenu) | Desktop application launcher | -| [godoc-static](https://gitlab.com/tslocum/godoc-static) | Generate static Go documentation | -| [gophast](https://gitlab.com/tslocum/gophast) | Download manager and accelerator -| [harmony](https://gitlab.com/tslocum/harmony) | Voice and text communications platform -| [joker](https://gitlab.com/tslocum/joker) | Playing card library | -| [joker-cribbage](https://gitlab.com/tslocum/joker-cribbage) | Cribbage scoring library | -| [Meditation Assistant](https://gitlab.com/tslocum/meditationassistant) | Feature packed meditation session timer and recorder | -| [netris](https://gitlab.com/tslocum/netris) | Multiplayer Tetris clone | -| [sage](https://gitlab.com/tslocum/sage) | Markov chain IRC bot | -| [sshtargate](https://gitlab.com/tslocum/sshtargate) | Host SSH portals to applications | -| [stick](https://gitlab.com/tslocum/stick) | Shareable Git-backed Markdown-formatted notes | -| [TinyIB](https://gitlab.com/tslocum/tinyib) | Lightweight image board | +| [cbind](https://code.rocketnine.space/tslocum/cbind) | Encode, decode and handle tcell key events | +| [cview](https://code.rocketnine.space/tslocum/cview) | Terminal-based user interface toolkit | +| [ditty](https://code.rocketnine.space/tslocum/ditty) | Audio player | +| [gmenu](https://code.rocketnine.space/tslocum/gmenu) | Desktop application launcher | +| [godoc-static](https://code.rocketnine.space/tslocum/godoc-static) | Generate static Go documentation | +| [gophast](https://code.rocketnine.space/tslocum/gophast) | Download manager and accelerator +| [harmony](https://code.rocketnine.space/tslocum/harmony) | Voice and text communications platform +| [joker](https://code.rocketnine.space/tslocum/joker) | Playing card library | +| [joker-cribbage](https://code.rocketnine.space/tslocum/joker-cribbage) | Cribbage scoring library | +| [Meditation Assistant](https://code.rocketnine.space/tslocum/meditationassistant) | Feature packed meditation session timer and recorder | +| [netris](https://code.rocketnine.space/tslocum/netris) | Multiplayer Tetris clone | +| [sage](https://code.rocketnine.space/tslocum/sage) | Markov chain IRC bot | +| [sshtargate](https://code.rocketnine.space/tslocum/sshtargate) | Host SSH portals to applications | +| [stick](https://code.rocketnine.space/tslocum/stick) | Shareable Git-backed Markdown-formatted notes | +| [TinyIB](https://code.rocketnine.space/tslocum/tinyib) | Lightweight image board |