Skip to content

A go server embedding a `cinny` Matrix client, generates config.json based on parameters

License

Notifications You must be signed in to change notification settings

eyedeekay/cinny-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cinny-go

A go server embedding a cinny Matrix client. Used to provide a single web interface to a single Matrix homeserver. In my case, a Dendrite server running over I2P.

Usage:

package main

import (
	"net"
	"net/http"
	"log"
)

func main() {
    l, err := net.Listen("tcp", "127.0.0.1:9090")
	if err != nil {
		log.Fatal(err)
	}
    cs := &CinnyServer{
        // replace "matrix.org" with your homeserver here
        "matrix.org",
    }
	http.Serve(l, cs)
}

About

A go server embedding a `cinny` Matrix client, generates config.json based on parameters

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published