1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00
freebsd-ports/devel/statik/pkg-descr
Kurt Jaeger 1613a3112c New port: devel/statik
statik allows you to embed a directory of static files into your
Go binary to be later served from an http.FileSystem. Is this a
crazy idea?  No, not necessarily. If you're building a tool that
has a Web component, you typically want to serve some images, CSS
and JavaScript. You like the comfort of distributing a single binary,
so you don't want to mess with deploying them elsewhere. If your
static files are not large in size and will be browsed by a few
people, statik is a solution you are looking for.

WWW: https://github.com/rakyll/statik

PR:		194987
Submitted by:	cheffo@freebsd-bg.org
2015-02-08 10:06:54 +00:00

11 lines
548 B
Plaintext

statik allows you to embed a directory of static files into your
Go binary to be later served from an http.FileSystem. Is this a
crazy idea? No, not necessarily. If you're building a tool that
has a Web component, you typically want to serve some images, CSS
and JavaScript. You like the comfort of distributing a single binary,
so you don't want to mess with deploying them elsewhere. If your
static files are not large in size and will be browsed by a few
people, statik is a solution you are looking for.
WWW: https://github.com/rakyll/statik