Skip to content

fewebahr/t9

Repository files navigation

T9

This is my reference implementation of a T9 server. There is particular emphasis on modularity with clear boundaries, reliability, and performance.

Building

Prerequisites

The build process requires the following tools installed:

Building and installing locally

Once the prerequisites are installed, simply typing the below will build and then install on the local system:

$ make

Building for deployment on Linux

Alternatively, you may wish to build a binary and then scp it to a server for deployment. You can build such a binary for deployment to an AMD64/Linux server with the command:

$ make linux

Building for deployment with Docker

If you have installed Docker and Docker-Compose (see Prerequisites), then you may build a Docker container. Simply type:

make docker

Cleaning the workspace

If any of the build steps fail, then it is advisable to clean up the workspace before attempting another build. Type:

$ make clean

Running

On your local machine after local installation, run the server by typing:

$ t9
info  2020/05/11 14:31:03 server listening on https://127.0.0.1:4239/

While the server is running you may direct your browser to the address specified (warning: if you used the default command-line flags as in example above, expect an untrusted certificate warning.)

TODO

  • Support lets-encrypt?
  • Add cache-control/expires headers
  • Unit tests
  • Consider adopting zap for faster logging
  • Support Brotli (once there is native, pure-go support)

Etc.

This project is licensed under the terms of the GNU General Public License v2.0

Copyright ©2018 Robert Ellis [email protected]

About

Reference implementation for T9 algorithm

Resources

License

Stars

Watchers

Forks

Packages

No packages published