GithubHelp home page GithubHelp logo

ciarand / deserv Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 454 KB

A simple development server written in Go

Home Page: http://ciarand.github.io/deserv/

License: MIT License

Go 96.45% Makefile 3.55%

deserv's Introduction

This project is deprecated and unmaintained. Proceed with caution!

Deserv

A simple development server written in Go

screencast

Intended to provide functionality similar to the ones listed here. It provides pretty directory listings, but that's about it in terms of bells and whistles.

I made it because I work with Windows users who don't necessarily have anything cool installed on their machines. The compiled binary can be double-clicked to start, and does exactly what they need.

If you need anything heavier, I recommend getting something heavier.

Notes

  1. This is not a production web server.
  2. This is not a production web server.
  3. This is not a production web server.

Tests

There aren't any. Deal with it. You can still run make test if you like.

go test
?       github.com/ciarand/deserv   [no test files]

Building

Should be go get-able.

go get github.com/ciarand/deserv

To update, run it with the -u flag.

go get -u github.com/ciarand/deserv

Interested in compiling for multiple platforms? I use goxc. If you have it installed and in your path, running make compile should create a dump of all the possible versions in the snapshots directory. If you need more fine grained control then do it yourself, I'm not your mother.

Usage

# port is optional, defaults to 3000
# "public" is the directory to serve from - defaults to .
./deserve -port 8080 public

Libraries

Deserv is built with Go. This means that it can be run basically anywhere, as near as I can tell.

Deserv is also built on the Martini framework. If you're interested in working on web applications in Go, I highly recommend investigating it.

Finally, the directory index middleware that was developed for this project is available here.

License

MIT, see the license file.

deserv's People

Contributors

ciarand avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.