diff --git a/go.mod b/go.mod index edfd9f0..9299d4f 100644 --- a/go.mod +++ b/go.mod @@ -3,6 +3,7 @@ module warpbox go 1.22 require ( + github.com/gin-contrib/gzip v1.0.1 github.com/gin-gonic/gin v1.10.0 github.com/spf13/cobra v1.8.1 ) @@ -21,12 +22,15 @@ require ( github.com/inconshreveable/mousetrap v1.1.0 // indirect github.com/json-iterator/go v1.1.12 // indirect github.com/klauspost/cpuid/v2 v2.2.7 // indirect + github.com/kr/pretty v0.3.1 // indirect github.com/leodido/go-urn v1.4.0 // indirect github.com/mattn/go-isatty v0.0.20 // indirect github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect github.com/modern-go/reflect2 v1.0.2 // indirect github.com/pelletier/go-toml/v2 v2.2.2 // indirect + github.com/rogpeppe/go-internal v1.10.0 // indirect github.com/spf13/pflag v1.0.5 // indirect + github.com/stretchr/testify v1.11.1 // indirect github.com/twitchyliquid64/golang-asm v0.15.1 // indirect github.com/ugorji/go/codec v1.2.12 // indirect golang.org/x/arch v0.8.0 // indirect @@ -35,5 +39,6 @@ require ( golang.org/x/sys v0.20.0 // indirect golang.org/x/text v0.15.0 // indirect google.golang.org/protobuf v1.34.1 // indirect + gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect gopkg.in/yaml.v3 v3.0.1 // indirect ) diff --git a/go.sum b/go.sum index bab3cb0..956393b 100644 --- a/go.sum +++ b/go.sum @@ -7,11 +7,14 @@ github.com/cloudwego/base64x v0.1.4/go.mod h1:0zlkT4Wn5C6NdauXdJRhSKRlJvmclQ1hhJ github.com/cloudwego/iasm v0.2.0 h1:1KNIy1I1H9hNNFEEH3DVnI4UujN+1zjpuk6gwHLTssg= github.com/cloudwego/iasm v0.2.0/go.mod h1:8rXZaNYT2n95jn+zTI1sDr+IgcD2GVs0nlbbQPiEFhY= github.com/cpuguy83/go-md2man/v2 v2.0.4/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= +github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/gabriel-vasile/mimetype v1.4.3 h1:in2uUcidCuFcDKtdcBxlR0rJ1+fsokWf+uqxgUFjbI0= github.com/gabriel-vasile/mimetype v1.4.3/go.mod h1:d8uq/6HKRL6CGdk+aubisF/M5GcPfT7nKyLpA0lbSSk= +github.com/gin-contrib/gzip v1.0.1 h1:HQ8ENHODeLY7a4g1Au/46Z92bdGFl74OhxcZble9WJE= +github.com/gin-contrib/gzip v1.0.1/go.mod h1:njt428fdUNRvjuJf16tZMYZ2Yl+WQB53X5wmhDwXvC4= github.com/gin-contrib/sse v0.1.0 h1:Y/yl/+YNO8GZSjAhjMsSuLt29uWRFHdHYUb5lYOV9qE= github.com/gin-contrib/sse v0.1.0/go.mod h1:RHrZQHXnP2xjPF+u1gW/2HnVO7nvIa9PG3Gm+fLHvGI= github.com/gin-gonic/gin v1.10.0 h1:nTuyha1TYqgedzytsKYqna+DfLos46nTv2ygFy86HFU= @@ -37,6 +40,13 @@ github.com/klauspost/cpuid/v2 v2.0.9/go.mod h1:FInQzS24/EEf25PyTYn52gqo7WaD8xa02 github.com/klauspost/cpuid/v2 v2.2.7 h1:ZWSB3igEs+d0qvnxR/ZBzXVmxkgt8DdzP6m9pfuVLDM= github.com/klauspost/cpuid/v2 v2.2.7/go.mod h1:Lcz8mBdAVJIBVzewtcLocK12l3Y+JytZYpaMropDUws= github.com/knz/go-libedit v1.10.1/go.mod h1:MZTVkCWyz0oBc7JOWP3wNAzd002ZbM/5hgShxwh4x8M= +github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= +github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= +github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk= +github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= +github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= +github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= +github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= github.com/leodido/go-urn v1.4.0 h1:WT9HwE9SGECu3lg4d/dIA+jxlljEa1/ffXKmRjqdmIQ= github.com/leodido/go-urn v1.4.0/go.mod h1:bvxc+MVxLKB4z00jd1z+Dvzr47oO32F/QSNjSBOlFxI= github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY= @@ -48,8 +58,12 @@ github.com/modern-go/reflect2 v1.0.2 h1:xBagoLtFs94CBntxluKeaWgTMpvLxC4ur3nMaC9G github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk= github.com/pelletier/go-toml/v2 v2.2.2 h1:aYUidT7k73Pcl9nb2gScu7NSrKCSHIDE89b3+6Wq+LM= github.com/pelletier/go-toml/v2 v2.2.2/go.mod h1:1t835xjRzz80PqgE6HHgN2JOsmgYu/h4qDAS4n929Rs= +github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e/go.mod h1:pJLUxLENpZxwdsKMEsNbx1VGcRFpLqf3715MtcvvzbA= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= +github.com/rogpeppe/go-internal v1.9.0/go.mod h1:WtVeX8xhTBvf0smdhujwtBcq4Qrzq/fJaraNFVN+nFs= +github.com/rogpeppe/go-internal v1.10.0 h1:TMyTOH3F/DB16zRVcYyreMH6GnZZrwQVAoYjRBZyWFQ= +github.com/rogpeppe/go-internal v1.10.0/go.mod h1:UQnix2H7Ngw/k4C5ijL5+65zddjncjaFoBhdsK/akog= github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= github.com/spf13/cobra v1.8.1 h1:e5/vxKd/rZsfSJMUX1agtjeTDf+qv1/JdBF8gg5k9ZM= github.com/spf13/cobra v1.8.1/go.mod h1:wHxEcudfqmLYa8iTfL+OuZPbBZkmvliBWKIezN3kD9Y= @@ -65,8 +79,9 @@ github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/ github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= -github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg= github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= +github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu7U= +github.com/stretchr/testify v1.11.1/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U= github.com/twitchyliquid64/golang-asm v0.15.1 h1:SU5vSMR7hnwNxj24w34ZyCi/FmDZTkS4MhqMhdFk5YI= github.com/twitchyliquid64/golang-asm v0.15.1/go.mod h1:a1lVb/DtPvCB8fslRZhAngC2+aY1QWCk3Cedj/Gdt08= github.com/ugorji/go/codec v1.2.12 h1:9LC83zGrHhuUA9l16C9AHXAqEV/2wBQ4nkvumAE65EE= @@ -88,8 +103,9 @@ golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IV golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg= google.golang.org/protobuf v1.34.1/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos= -gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk= +gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q= gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= diff --git a/lib/server/server.go b/lib/server/server.go index a118ce3..ed9e8f4 100644 --- a/lib/server/server.go +++ b/lib/server/server.go @@ -1,13 +1,22 @@ package server -import "github.com/gin-gonic/gin" +import ( + "net/http" + + "github.com/gin-contrib/gzip" + "github.com/gin-gonic/gin" +) func Run(addr string) error { router := gin.Default() + router.LoadHTMLGlob("templates/*.html") router.GET("/", func(ctx *gin.Context) { - ctx.String(200, "ok") + ctx.HTML(http.StatusOK, "index.html", gin.H{}) }) + compressed := router.Group("/", gzip.Gzip(gzip.DefaultCompression)) + compressed.Static("/static", "./static") + return router.Run(addr) } diff --git a/static/css/app.css b/static/css/app.css new file mode 100644 index 0000000..5fa73f2 --- /dev/null +++ b/static/css/app.css @@ -0,0 +1,83 @@ +@font-face { + font-family: 'PixelOperator'; + src: url('/static/fonts/pixel_operator/PixelOperator.ttf'); +} + +@font-face { + font-family: 'PixelOperator'; + src: url('/static/fonts/pixel_operator/PixelOperator-Bold.ttf'); + font-weight: bold; +} + +@font-face { + font-family: 'PixelOperatorMono'; + src: url('/static/fonts/pixel_operator/PixelOperatorMono.ttf'); +} + +@font-face { + font-family: 'PixelOperatorMono'; + src: url('/static/fonts/pixel_operator/PixelOperatorMono-Bold.ttf'); + font-weight: bold; +} + +@font-face { + font-family: 'PixeloidSans'; + src: url('/static/fonts/pixeloid_sans/PixeloidSans.ttf'); +} + +@font-face { + font-family: 'PixeloidSans'; + src: url('/static/fonts/pixeloid_sans/PixeloidSans-Bold.ttf'); + font-weight: bold; +} + +:root { + font-family: 'PixeloidSans', 'PixelOperator', sans-serif, Arial, Helvetica; + font-smooth: never; + + image-rendering: pixelated; + + cursor: url('/static/cursors/vaporwave-hotline-white-plus/Normal\ Select.cur'), auto; + + --base-font-size: 14px; + + /* Colours */ + --w98-blue: #000078; + --w98-blue-gradient: linear-gradient(to right, #000078, 80%, #0f80cd); + --w98-gray: #c0c0c0; + --w98-gray2: #a6a6a6; + --w98-gray-gradient: linear-gradient(to bottom, #fff, 95%, #c0c0c0); + + scroll-behavior: smooth; +} + +a, .window-roach-message, .window-buttons .wbtn:not(.disabled_button) { + cursor: url('/static/cursors/vaporwave-hotline-white-plus/Link\ Select.cur'), auto; +} + +input[type="text"], textarea, [contenteditable="true"] { + cursor: url('/static/cursors/vaporwave-hotline-white-plus/Hotline\ Black\ Handwriting.cur'), text; +} + +html { + font-size: var(--base-font-size); + + color: white; + background-color: #000; +} + +html, body { + margin: 0; + padding: 0; + + overflow-x: hidden; +} + +body { + background-color: #000000; + background-image: url('/static/img/bg/stars1.gif'); + background-repeat: repeat; + width: 100vw; + min-height: 100vh; + height: auto; +} \ No newline at end of file diff --git a/static/cursors/vaporwave-hotline-white-plus/Alternate Select.cur b/static/cursors/vaporwave-hotline-white-plus/Alternate Select.cur new file mode 100644 index 0000000..0b14d5c Binary files /dev/null and b/static/cursors/vaporwave-hotline-white-plus/Alternate Select.cur differ diff --git a/static/cursors/vaporwave-hotline-white-plus/Busy Modern.ani b/static/cursors/vaporwave-hotline-white-plus/Busy Modern.ani new file mode 100644 index 0000000..7c3c7ae Binary files /dev/null and b/static/cursors/vaporwave-hotline-white-plus/Busy Modern.ani differ diff --git a/static/cursors/vaporwave-hotline-white-plus/Diagonal Resize 1.cur b/static/cursors/vaporwave-hotline-white-plus/Diagonal Resize 1.cur new file mode 100644 index 0000000..ca3bd2e Binary files /dev/null and b/static/cursors/vaporwave-hotline-white-plus/Diagonal Resize 1.cur differ diff --git a/static/cursors/vaporwave-hotline-white-plus/Diagonal Resize 2.cur b/static/cursors/vaporwave-hotline-white-plus/Diagonal Resize 2.cur new file mode 100644 index 0000000..0d8cde1 Binary files /dev/null and b/static/cursors/vaporwave-hotline-white-plus/Diagonal Resize 2.cur differ diff --git a/static/cursors/vaporwave-hotline-white-plus/Help Select.cur b/static/cursors/vaporwave-hotline-white-plus/Help Select.cur new file mode 100644 index 0000000..6f8a2a2 Binary files /dev/null and b/static/cursors/vaporwave-hotline-white-plus/Help Select.cur differ diff --git a/static/cursors/vaporwave-hotline-white-plus/Horizontal Resize.cur b/static/cursors/vaporwave-hotline-white-plus/Horizontal Resize.cur new file mode 100644 index 0000000..1e05b84 Binary files /dev/null and b/static/cursors/vaporwave-hotline-white-plus/Horizontal Resize.cur differ diff --git a/static/cursors/vaporwave-hotline-white-plus/Hotline Black Handwriting.cur b/static/cursors/vaporwave-hotline-white-plus/Hotline Black Handwriting.cur new file mode 100644 index 0000000..b43a8b3 Binary files /dev/null and b/static/cursors/vaporwave-hotline-white-plus/Hotline Black Handwriting.cur differ diff --git a/static/cursors/vaporwave-hotline-white-plus/Link Select Middlefinger.cur b/static/cursors/vaporwave-hotline-white-plus/Link Select Middlefinger.cur new file mode 100644 index 0000000..7ad1565 Binary files /dev/null and b/static/cursors/vaporwave-hotline-white-plus/Link Select Middlefinger.cur differ diff --git a/static/cursors/vaporwave-hotline-white-plus/Link Select.cur b/static/cursors/vaporwave-hotline-white-plus/Link Select.cur new file mode 100644 index 0000000..8dbfe7e Binary files /dev/null and b/static/cursors/vaporwave-hotline-white-plus/Link Select.cur differ diff --git a/static/cursors/vaporwave-hotline-white-plus/Location Select.cur b/static/cursors/vaporwave-hotline-white-plus/Location Select.cur new file mode 100644 index 0000000..3be3343 Binary files /dev/null and b/static/cursors/vaporwave-hotline-white-plus/Location Select.cur differ diff --git a/static/cursors/vaporwave-hotline-white-plus/Move.cur b/static/cursors/vaporwave-hotline-white-plus/Move.cur new file mode 100644 index 0000000..c927ae2 Binary files /dev/null and b/static/cursors/vaporwave-hotline-white-plus/Move.cur differ diff --git a/static/cursors/vaporwave-hotline-white-plus/Normal Select.cur b/static/cursors/vaporwave-hotline-white-plus/Normal Select.cur new file mode 100644 index 0000000..c48eec8 Binary files /dev/null and b/static/cursors/vaporwave-hotline-white-plus/Normal Select.cur differ diff --git a/static/cursors/vaporwave-hotline-white-plus/Person Select.cur b/static/cursors/vaporwave-hotline-white-plus/Person Select.cur new file mode 100644 index 0000000..2b83204 Binary files /dev/null and b/static/cursors/vaporwave-hotline-white-plus/Person Select.cur differ diff --git a/static/cursors/vaporwave-hotline-white-plus/Precision Select.cur b/static/cursors/vaporwave-hotline-white-plus/Precision Select.cur new file mode 100644 index 0000000..7310092 Binary files /dev/null and b/static/cursors/vaporwave-hotline-white-plus/Precision Select.cur differ diff --git a/static/cursors/vaporwave-hotline-white-plus/Text Select.cur b/static/cursors/vaporwave-hotline-white-plus/Text Select.cur new file mode 100644 index 0000000..b3dedf4 Binary files /dev/null and b/static/cursors/vaporwave-hotline-white-plus/Text Select.cur differ diff --git a/static/cursors/vaporwave-hotline-white-plus/Unavailable.cur b/static/cursors/vaporwave-hotline-white-plus/Unavailable.cur new file mode 100644 index 0000000..970ffe6 Binary files /dev/null and b/static/cursors/vaporwave-hotline-white-plus/Unavailable.cur differ diff --git a/static/cursors/vaporwave-hotline-white-plus/Vertical Resize.cur b/static/cursors/vaporwave-hotline-white-plus/Vertical Resize.cur new file mode 100644 index 0000000..1144669 Binary files /dev/null and b/static/cursors/vaporwave-hotline-white-plus/Vertical Resize.cur differ diff --git a/static/cursors/vaporwave-hotline-white-plus/Working In Background Modern.ani b/static/cursors/vaporwave-hotline-white-plus/Working In Background Modern.ani new file mode 100644 index 0000000..20714b1 Binary files /dev/null and b/static/cursors/vaporwave-hotline-white-plus/Working In Background Modern.ani differ diff --git a/static/cursors/vaporwave-hotline-white-plus/readme.txt b/static/cursors/vaporwave-hotline-white-plus/readme.txt new file mode 100644 index 0000000..c13846a --- /dev/null +++ b/static/cursors/vaporwave-hotline-white-plus/readme.txt @@ -0,0 +1,18 @@ +=== Vaporwave Hotline White Plus Cursor Set === + +By: Foxxey (http://www.rw-designer.com/user/104284) anton.draftr@gmail.com + +Download: http://www.rw-designer.com/cursor-set/vaporwave-hotline-white-plus + +Author's description: + +Hotline White Cursor Pack, Vaporwave, Retrowave, Outrun, cyan to pink gradient, retro, whatever you want to call it, but with more cursors and animations! I also fixed some hotspots. If you need help or you have any suggestions let me know in the comments down below. Originally made by Babaluggy. Modified, animated and improved by me. Created at a suggestion of an anonymous user. + + +========== + +License: Released to Public Domain + +You are free: + +* To use this work for any legal purpose. \ No newline at end of file diff --git a/static/cursors/vaporwave-hotline-white-plus/vaporwave-hotline-white-plus.crs b/static/cursors/vaporwave-hotline-white-plus/vaporwave-hotline-white-plus.crs new file mode 100644 index 0000000..09fb0bc --- /dev/null +++ b/static/cursors/vaporwave-hotline-white-plus/vaporwave-hotline-white-plus.crs @@ -0,0 +1,51 @@ +[SizeWE] +Path=Horizontal Resize.cur + +[No] +Path=Unavailable.cur + +[SizeNS] +Path=Vertical Resize.cur + +[Crosshair] +Path=Precision Select.cur + +[IBeam] +Path=Text Select.cur + +[NWPen] +Path=Hotline Black Handwriting.cur + +[AppStarting] +Path=Working In Background Modern.ani + +[Help] +Path=Help Select.cur + +[Arrow] +Path=Normal Select.cur + +[SizeNWSE] +Path=Diagonal Resize 1.cur + +[SizeNESW] +Path=Diagonal Resize 2.cur + +[SizeAll] +Path=Move.cur + +[UpArrow] +Path=Alternate Select.cur + +[Hand] +Path=Link Select.cur + +[Pin] +Path=Location Select.cur + +[Person] +Path=Person Select.cur + +[Wait] +Path=Busy Modern.ani + diff --git a/static/fonts/Graph-35-pix.ttf b/static/fonts/Graph-35-pix.ttf new file mode 100644 index 0000000..7c18700 Binary files /dev/null and b/static/fonts/Graph-35-pix.ttf differ diff --git a/static/fonts/Monocraft.ttf b/static/fonts/Monocraft.ttf new file mode 100644 index 0000000..4e80aa9 Binary files /dev/null and b/static/fonts/Monocraft.ttf differ diff --git a/static/fonts/kongtext.ttf b/static/fonts/kongtext.ttf new file mode 100644 index 0000000..5e4d65f Binary files /dev/null and b/static/fonts/kongtext.ttf differ diff --git a/static/fonts/pixel_operator/LICENSE.txt b/static/fonts/pixel_operator/LICENSE.txt new file mode 100644 index 0000000..354f1e0 --- /dev/null +++ b/static/fonts/pixel_operator/LICENSE.txt @@ -0,0 +1,121 @@ +Creative Commons Legal Code + +CC0 1.0 Universal + + CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE + LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN + ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS + INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES + REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS + PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM + THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED + HEREUNDER. + +Statement of Purpose + +The laws of most jurisdictions throughout the world automatically confer +exclusive Copyright and Related Rights (defined below) upon the creator +and subsequent owner(s) (each and all, an "owner") of an original work of +authorship and/or a database (each, a "Work"). + +Certain owners wish to permanently relinquish those rights to a Work for +the purpose of contributing to a commons of creative, cultural and +scientific works ("Commons") that the public can reliably and without fear +of later claims of infringement build upon, modify, incorporate in other +works, reuse and redistribute as freely as possible in any form whatsoever +and for any purposes, including without limitation commercial purposes. +These owners may contribute to the Commons to promote the ideal of a free +culture and the further production of creative, cultural and scientific +works, or to gain reputation or greater distribution for their Work in +part through the use and efforts of others. + +For these and/or other purposes and motivations, and without any +expectation of additional consideration or compensation, the person +associating CC0 with a Work (the "Affirmer"), to the extent that he or she +is an owner of Copyright and Related Rights in the Work, voluntarily +elects to apply CC0 to the Work and publicly distribute the Work under its +terms, with knowledge of his or her Copyright and Related Rights in the +Work and the meaning and intended legal effect of CC0 on those rights. + +1. Copyright and Related Rights. A Work made available under CC0 may be +protected by copyright and related or neighboring rights ("Copyright and +Related Rights"). Copyright and Related Rights include, but are not +limited to, the following: + + i. the right to reproduce, adapt, distribute, perform, display, + communicate, and translate a Work; + ii. moral rights retained by the original author(s) and/or performer(s); +iii. publicity and privacy rights pertaining to a person's image or + likeness depicted in a Work; + iv. rights protecting against unfair competition in regards to a Work, + subject to the limitations in paragraph 4(a), below; + v. rights protecting the extraction, dissemination, use and reuse of data + in a Work; + vi. database rights (such as those arising under Directive 96/9/EC of the + European Parliament and of the Council of 11 March 1996 on the legal + protection of databases, and under any national implementation + thereof, including any amended or successor version of such + directive); and +vii. other similar, equivalent or corresponding rights throughout the + world based on applicable law or treaty, and any national + implementations thereof. + +2. Waiver. To the greatest extent permitted by, but not in contravention +of, applicable law, Affirmer hereby overtly, fully, permanently, +irrevocably and unconditionally waives, abandons, and surrenders all of +Affirmer's Copyright and Related Rights and associated claims and causes +of action, whether now known or unknown (including existing as well as +future claims and causes of action), in the Work (i) in all territories +worldwide, (ii) for the maximum duration provided by applicable law or +treaty (including future time extensions), (iii) in any current or future +medium and for any number of copies, and (iv) for any purpose whatsoever, +including without limitation commercial, advertising or promotional +purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each +member of the public at large and to the detriment of Affirmer's heirs and +successors, fully intending that such Waiver shall not be subject to +revocation, rescission, cancellation, termination, or any other legal or +equitable action to disrupt the quiet enjoyment of the Work by the public +as contemplated by Affirmer's express Statement of Purpose. + +3. Public License Fallback. Should any part of the Waiver for any reason +be judged legally invalid or ineffective under applicable law, then the +Waiver shall be preserved to the maximum extent permitted taking into +account Affirmer's express Statement of Purpose. In addition, to the +extent the Waiver is so judged Affirmer hereby grants to each affected +person a royalty-free, non transferable, non sublicensable, non exclusive, +irrevocable and unconditional license to exercise Affirmer's Copyright and +Related Rights in the Work (i) in all territories worldwide, (ii) for the +maximum duration provided by applicable law or treaty (including future +time extensions), (iii) in any current or future medium and for any number +of copies, and (iv) for any purpose whatsoever, including without +limitation commercial, advertising or promotional purposes (the +"License"). The License shall be deemed effective as of the date CC0 was +applied by Affirmer to the Work. Should any part of the License for any +reason be judged legally invalid or ineffective under applicable law, such +partial invalidity or ineffectiveness shall not invalidate the remainder +of the License, and in such case Affirmer hereby affirms that he or she +will not (i) exercise any of his or her remaining Copyright and Related +Rights in the Work or (ii) assert any associated claims and causes of +action with respect to the Work, in either case contrary to Affirmer's +express Statement of Purpose. + +4. Limitations and Disclaimers. + + a. No trademark or patent rights held by Affirmer are waived, abandoned, + surrendered, licensed or otherwise affected by this document. + b. Affirmer offers the Work as-is and makes no representations or + warranties of any kind concerning the Work, express, implied, + statutory or otherwise, including without limitation warranties of + title, merchantability, fitness for a particular purpose, non + infringement, or the absence of latent or other defects, accuracy, or + the present or absence of errors, whether or not discoverable, all to + the greatest extent permissible under applicable law. + c. Affirmer disclaims responsibility for clearing rights of other persons + that may apply to the Work or any use thereof, including without + limitation any person's Copyright and Related Rights in the Work. + Further, Affirmer disclaims responsibility for obtaining any necessary + consents, permissions or other rights required for any use of the + Work. + d. Affirmer understands and acknowledges that Creative Commons is not a + party to this document and has no duty or obligation with respect to + this CC0 or use of the Work. diff --git a/static/fonts/pixel_operator/PixelOperator-Bold.ttf b/static/fonts/pixel_operator/PixelOperator-Bold.ttf new file mode 100644 index 0000000..745734f Binary files /dev/null and b/static/fonts/pixel_operator/PixelOperator-Bold.ttf differ diff --git a/static/fonts/pixel_operator/PixelOperator.ttf b/static/fonts/pixel_operator/PixelOperator.ttf new file mode 100644 index 0000000..34fe947 Binary files /dev/null and b/static/fonts/pixel_operator/PixelOperator.ttf differ diff --git a/static/fonts/pixel_operator/PixelOperator8-Bold.ttf b/static/fonts/pixel_operator/PixelOperator8-Bold.ttf new file mode 100644 index 0000000..10225eb Binary files /dev/null and b/static/fonts/pixel_operator/PixelOperator8-Bold.ttf differ diff --git a/static/fonts/pixel_operator/PixelOperator8.ttf b/static/fonts/pixel_operator/PixelOperator8.ttf new file mode 100644 index 0000000..f9146ac Binary files /dev/null and b/static/fonts/pixel_operator/PixelOperator8.ttf differ diff --git a/static/fonts/pixel_operator/PixelOperatorHB.ttf b/static/fonts/pixel_operator/PixelOperatorHB.ttf new file mode 100644 index 0000000..d63fa39 Binary files /dev/null and b/static/fonts/pixel_operator/PixelOperatorHB.ttf differ diff --git a/static/fonts/pixel_operator/PixelOperatorHB8.ttf b/static/fonts/pixel_operator/PixelOperatorHB8.ttf new file mode 100644 index 0000000..5283cb5 Binary files /dev/null and b/static/fonts/pixel_operator/PixelOperatorHB8.ttf differ diff --git a/static/fonts/pixel_operator/PixelOperatorHBSC.ttf b/static/fonts/pixel_operator/PixelOperatorHBSC.ttf new file mode 100644 index 0000000..b8fa149 Binary files /dev/null and b/static/fonts/pixel_operator/PixelOperatorHBSC.ttf differ diff --git a/static/fonts/pixel_operator/PixelOperatorMono-Bold.ttf b/static/fonts/pixel_operator/PixelOperatorMono-Bold.ttf new file mode 100644 index 0000000..215d4a2 Binary files /dev/null and b/static/fonts/pixel_operator/PixelOperatorMono-Bold.ttf differ diff --git a/static/fonts/pixel_operator/PixelOperatorMono.ttf b/static/fonts/pixel_operator/PixelOperatorMono.ttf new file mode 100644 index 0000000..1c1edcc Binary files /dev/null and b/static/fonts/pixel_operator/PixelOperatorMono.ttf differ diff --git a/static/fonts/pixel_operator/PixelOperatorMono8-Bold.ttf b/static/fonts/pixel_operator/PixelOperatorMono8-Bold.ttf new file mode 100644 index 0000000..fc5b82b Binary files /dev/null and b/static/fonts/pixel_operator/PixelOperatorMono8-Bold.ttf differ diff --git a/static/fonts/pixel_operator/PixelOperatorMono8.ttf b/static/fonts/pixel_operator/PixelOperatorMono8.ttf new file mode 100644 index 0000000..9e871ea Binary files /dev/null and b/static/fonts/pixel_operator/PixelOperatorMono8.ttf differ diff --git a/static/fonts/pixel_operator/PixelOperatorMonoHB.ttf b/static/fonts/pixel_operator/PixelOperatorMonoHB.ttf new file mode 100644 index 0000000..55410fb Binary files /dev/null and b/static/fonts/pixel_operator/PixelOperatorMonoHB.ttf differ diff --git a/static/fonts/pixel_operator/PixelOperatorMonoHB8.ttf b/static/fonts/pixel_operator/PixelOperatorMonoHB8.ttf new file mode 100644 index 0000000..1e10e3b Binary files /dev/null and b/static/fonts/pixel_operator/PixelOperatorMonoHB8.ttf differ diff --git a/static/fonts/pixel_operator/PixelOperatorSC-Bold.ttf b/static/fonts/pixel_operator/PixelOperatorSC-Bold.ttf new file mode 100644 index 0000000..a44caaf Binary files /dev/null and b/static/fonts/pixel_operator/PixelOperatorSC-Bold.ttf differ diff --git a/static/fonts/pixel_operator/PixelOperatorSC.ttf b/static/fonts/pixel_operator/PixelOperatorSC.ttf new file mode 100644 index 0000000..06783f8 Binary files /dev/null and b/static/fonts/pixel_operator/PixelOperatorSC.ttf differ diff --git a/static/fonts/pixeloid_sans/License.txt b/static/fonts/pixeloid_sans/License.txt new file mode 100644 index 0000000..7cd73ae --- /dev/null +++ b/static/fonts/pixeloid_sans/License.txt @@ -0,0 +1,92 @@ +Copyright © 2020-2022 GGBotNet (https://ggbot.net/fonts/), with Reserved Font Name "Pixeloid". + +This Font Software is licensed under the SIL Open Font License, Version 1.1. +This license is copied below, and is also available with a FAQ at: +http://scripts.sil.org/OFL + +----------------------------------------------------------- +SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 +----------------------------------------------------------- + +PREAMBLE +The goals of the Open Font License (OFL) are to stimulate worldwide +development of collaborative font projects, to support the font creation +efforts of academic and linguistic communities, and to provide a free and +open framework in which fonts may be shared and improved in partnership +with others. + +The OFL allows the licensed fonts to be used, studied, modified and +redistributed freely as long as they are not sold by themselves. The +fonts, including any derivative works, can be bundled, embedded, +redistributed and/or sold with any software provided that any reserved +names are not used by derivative works. The fonts and derivatives, +however, cannot be released under any other type of license. The +requirement for fonts to remain under this license does not apply +to any document created using the fonts or their derivatives. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright +Holder(s) under this license and clearly marked as such. This may +include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the +copyright statement(s). + +"Original Version" refers to the collection of Font Software components as +distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, deleting, +or substituting -- in part or in whole -- any of the components of the +Original Version, by changing formats or by porting the Font Software to a +new environment. + +"Author" refers to any designer, engineer, programmer, technical +writer or other person who contributed to the Font Software. + +PERMISSION & CONDITIONS +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Font Software, to use, study, copy, merge, embed, modify, +redistribute, and sell modified and unmodified copies of the Font +Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components, +in Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, +redistributed and/or sold with any software, provided that each copy +contains the above copyright notice and this license. These can be +included either as stand-alone text files, human-readable headers or +in the appropriate machine-readable metadata fields within text or +binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font +Name(s) unless explicit written permission is granted by the corresponding +Copyright Holder. This restriction only applies to the primary font name as +presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font +Software shall not be used to promote, endorse or advertise any +Modified Version, except to acknowledge the contribution(s) of the +Copyright Holder(s) and the Author(s) or with their explicit written +permission. + +5) The Font Software, modified or unmodified, in part or in whole, +must be distributed entirely under this license, and must not be +distributed under any other license. The requirement for fonts to +remain under this license does not apply to any document created +using the Font Software. + +TERMINATION +This license becomes null and void if any of the above conditions are +not met. + +DISCLAIMER +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE +COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM +OTHER DEALINGS IN THE FONT SOFTWARE. diff --git a/static/fonts/pixeloid_sans/PixeloidSans-Bold.ttf b/static/fonts/pixeloid_sans/PixeloidSans-Bold.ttf new file mode 100644 index 0000000..c8b030c Binary files /dev/null and b/static/fonts/pixeloid_sans/PixeloidSans-Bold.ttf differ diff --git a/static/fonts/pixeloid_sans/PixeloidSans.ttf b/static/fonts/pixeloid_sans/PixeloidSans.ttf new file mode 100644 index 0000000..445d9b8 Binary files /dev/null and b/static/fonts/pixeloid_sans/PixeloidSans.ttf differ diff --git a/static/img/bg/stars1.gif b/static/img/bg/stars1.gif new file mode 100644 index 0000000..8bc6a86 Binary files /dev/null and b/static/img/bg/stars1.gif differ diff --git a/static/js/app.js b/static/js/app.js new file mode 100644 index 0000000..e69de29 diff --git a/templates/index.html b/templates/index.html new file mode 100644 index 0000000..54ff993 --- /dev/null +++ b/templates/index.html @@ -0,0 +1,20 @@ + + +
+ + +