Add makefile .gitignore, change example config and add go mod
This commit is contained in:
parent
6967b5606a
commit
e49948777d
|
@ -0,0 +1,2 @@
|
|||
certs/*
|
||||
build/*
|
|
@ -0,0 +1,9 @@
|
|||
all: amd64 arm7
|
||||
|
||||
amd64:
|
||||
mkdir -p build
|
||||
GOOS=linux GOARCH=amd64 go build -o build/mastogem-amd64
|
||||
|
||||
arm7:
|
||||
mkdir -p build
|
||||
GOOS=linux GOARCH=arm GOARM=7 go build -o build/mastogem-arm7
|
|
@ -1,8 +1,8 @@
|
|||
{
|
||||
"listen": "0.0.0.0:1965",
|
||||
"cert_path": "cert.pem",
|
||||
"key_path": "key.rsa",
|
||||
"cert_path": "certs/cert.pem",
|
||||
"key_path": "certs/key.rsa",
|
||||
"base_url": "https://mamot.fr",
|
||||
"title": "MastoGem",
|
||||
"home_message": "Welcome on MastoGem, a Mastodon proxy for Gemini.\\nYou can view the last 20 toots of a Mastodon account by providing its id, for example:\\n=> gemini://localhost/310515 My Mastodon account"
|
||||
"home_message": "Welcome on MastoGem, a Mastodon proxy for Gemini.\nYou can view the last 20 toots of a Mastodon account by providing its id, for example:\n=> gemini://localhost/310515 My Mastodon account"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue