Browse Source

Migrate to code.rocketnine.space

master v1.0.4
Trevor Slocum 6 months ago
parent
commit
e18a99b437
  1. 3
      CHANGELOG
  2. 11
      README.md
  3. 2
      config.go
  4. 2
      go.mod
  5. 2
      main.go

3
CHANGELOG

@ -1,3 +1,6 @@
1.0.3:
- Migrate to code.rocketnine.space
1.0.3:
- Add hostname option
- Set address bar width to screen width

11
README.md

@ -1,6 +1,5 @@
# gmitohtml
[![GoDoc](https://gitlab.com/tslocum/godoc-static/-/raw/master/badge.svg)](https://docs.rocketnine.space/gitlab.com/tslocum/gmitohtml/pkg/gmitohtml)
[![CI status](https://gitlab.com/tslocum/gmitohtml/badges/master/pipeline.svg)](https://gitlab.com/tslocum/gmitohtml/commits/master)
[![GoDoc](https://code.rocketnine.space/tslocum/godoc-static/-/raw/master/badge.svg)](https://docs.rocketnine.space/code.rocketnine.space/tslocum/gmitohtml/pkg/gmitohtml)
[![Donate](https://img.shields.io/liberapay/receives/rocketnine.space.svg?logo=liberapay)](https://liberapay.com/rocketnine.space)
[Gemini](https://gemini.circumlunar.space) to [HTML](https://en.wikipedia.org/wiki/HTML)
@ -10,7 +9,7 @@ conversion tool and daemon
[**Download gmitohtml**](https://gmitohtml.rocketnine.space/download/?sort=name&order=desc)
gmitohtml is available on Android as [Xenia](https://gitlab.com/tslocum/xenia).
gmitohtml is available on Android as [Xenia](https://code.rocketnine.space/tslocum/xenia).
## Compile
@ -18,14 +17,14 @@ gmitohtml is written in [Go](https://golang.org). Run the following command to
download and build gmitohtml from source.
```bash
go get gitlab.com/tslocum/gmitohtml
go get code.rocketnine.space/tslocum/gmitohtml
```
The resulting binary is available as `~/go/bin/gmitohtml`.
## Configure
See [CONFIGURATION.md](https://gitlab.com/tslocum/gmitohtml/blob/master/CONFIGURATION.md)
See [CONFIGURATION.md](https://code.rocketnine.space/tslocum/twins/src/branch/master/CONFIGURATION.md)
## Usage
@ -43,4 +42,4 @@ gmitohtml < document.gmi
## Support
Please share issues and suggestions [here](https://gitlab.com/tslocum/gmitohtml/issues).
Please share issues and suggestions [here](https://code.rocketnine.space/tslocum/gmitohtml/issues).

2
config.go

@ -8,7 +8,7 @@ import (
"os"
"path"
"gitlab.com/tslocum/gmitohtml/pkg/gmitohtml"
"code.rocketnine.space/tslocum/gmitohtml/pkg/gmitohtml"
"gopkg.in/yaml.v3"
)

2
go.mod

@ -1,4 +1,4 @@
module gitlab.com/tslocum/gmitohtml
module code.rocketnine.space/tslocum/gmitohtml
go 1.15

2
main.go

@ -10,7 +10,7 @@ import (
"os/exec"
"runtime"
"gitlab.com/tslocum/gmitohtml/pkg/gmitohtml"
"code.rocketnine.space/tslocum/gmitohtml/pkg/gmitohtml"
)
func openBrowser(url string) {

Loading…
Cancel
Save