Popularity
0.7
Declining
Activity
0.0
Stable
10
0
1
Programming language: Go
License: MIT License
Tags:
Utilities
Latest version: v1.7.0
statiks alternatives and similar packages
Based on the "Utilities" category.
Alternatively, view statiks alternatives based on common mentions on social networks and blogs.
-
项目文档
基于vite+vue3+gin搭建的开发基础平台(支持TS,JS混用),集成jwt鉴权,权限管理,动态路由,显隐可控组件,分页封装,多点登录拦截,资源权限,上传下载,代码生成器,表单生成器,chatGPT自动查表等开发必备功能。 -
excelize
Go language library for reading and writing Microsoft Excel™ (XLAM / XLSM / XLSX / XLTM / XLTX) spreadsheets -
xlsx
(No longer maintained!) Go (golang) library for reading and writing XLSX files. -
godotenv
A Go port of Ruby's dotenv library (Loads environment variables from .env files) -
hystrix-go
Netflix's Hystrix latency and fault tolerance library, for Go -
go-funk
A modern Go utility library which provides helpers (map, find, contains, filter, ...) -
gorequest
GoRequest -- Simplified HTTP client ( inspired by nodejs SuperAgent ) -
Kopia
Cross-platform backup tool for Windows, macOS & Linux with fast, incremental backups, client-side end-to-end encryption, compression and data deduplication. CLI and GUI included. -
goreporter
A Golang tool that does static analysis, unit testing, code review and generate code quality report. -
gojson
Automatically generate Go (golang) struct definitions from example JSON -
lancet
A comprehensive, efficient, and reusable util function library of go. -
create-go-app
✨ Create a new production-ready project with backend, frontend and deploy automation by running one CLI command! -
spinner
Go (golang) package with 90 configurable terminal spinner/progress indicators. -
filetype
Fast, dependency-free Go package to infer binary file types based on the magic numbers header signature -
EaseProbe
A simple, standalone, and lightweight tool that can do health/status checking, written in Go. -
mole
CLI application to create ssh tunnels focused on resiliency and user experience. -
boilr
:zap: boilerplate template manager that generates files or directories from template repositories -
beaver
💨 A real time messaging system to build a scalable in-app notifications, multiplayer games, chat apps in web and mobile apps. -
mimetype
A fast Golang library for media type and file extension detection, based on magic numbers -
go-underscore
Helpfully Functional Go - A useful collection of Go utilities. Designed for programmer happiness. -
JobRunner
Framework for performing work asynchronously, outside of the request flow -
git-time-metric
Simple, seamless, lightweight time tracking for Git
Static code analysis for 29 languages.
Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.
Promo
www.sonarqube.org
Do you think we are missing an alternative of statiks or a related project?
Popular Comparisons
README
Statiks
Fast, zero-configuration, static HTTP filer server.
Like Python's SimpleHTTPServer
but scalable.
Features
- HTTP and HTTPS (TLS/SSL)
- Support directory list
- Cache control and "Last-Modified"
- Delay response
- CORS support
- Content compression (gzip)
- Request logging
Installation
Via Binaries
Via Homebrew (macOS)
brew tap janiltonmaciel/homebrew-tap
brew install statiks
Via Docker
The official janilton/statiks image is available on Docker Hub.
docker container run -p 9080:9080 -v .:/var/www --rm janilton/statiks
Volume dir: /var/www
Expose port: 9080
Use
statiks [options] <path>
OPTIONS:
--host value, -h value host address to bind to (default: "0.0.0.0") [$HOST]
--port value, -p value port number (default: "9080") [$PORT]
--quiet, -q enable quiet mode, do not output each incoming request (default: false)
--add-delay value add delay to responses (in milliseconds) (default: 0)
--cache value set cache time (in seconds) for cache-control max-age header (default: 0)
--no-index disable directory listings (default: false)
--compression enable gzip compression (default: false)
--include-hidden enable hidden files as normal (default: false)
--cors enable CORS allowing all origins with all standard methods with any header and credentials. (default: false)
--ssl enable https (default: false)
--cert value path to the ssl cert file (default: "cert.pem")
--key value path to the ssl key file (default: "key.pem")
--help show help (default: false)
--version, -v print the version (default: false)
<path>
defaults to.
(relative path to the current directory)
Examples
- start server at http://0.0.0.0:9000 serving "." current directory
statiks -port 9000
- start server at http://0.0.0.0:9080 serving "/home" with CORS
statiks --cors /home
- start server at http://192.168.1.100:9080 serving "/tmp" with gzip compression
statiks --host 192.168.1.100 --compression /tmp
- start server at https://0.0.0.0:9080 serving "." with HTTPS
statiks --ssl --cert cert.pem --key key.pem
- start server at http://0.0.0.0:9080 serving "/tmp" with delay response 100ms
statiks --add-delay 100 /tmp
Credits
- Check - go-check/check (testing)
- Cli - urfave/cli
- Cors - rs/cors
- Httpexpect - gavv/httpexpect (testing)
- Negroni - urfave/negroni