Giter Club home page Giter Club logo

goserve's Introduction

GoServe

Demo    |    Install    |    Use    |    Todo    |    Contribute

Quickly serve static sites in Go. You don't need to have Golang installed, nor do you need to know any Go! Just use the speed of Go to your advantage.

Demo

asciicast

What is this?

GoServe is a quick, 1-dep (Golang) serving utility, making anyone serve locally easily and quickly, especially since you have the speed of Go on your side! Absolutely NO knowledge of Go is needed to use. Just run make and it will do the rest!

Install

Dependencies

Actually, I lied. You need git to install. Sorry 😏😁.

If you don't have Golang installed, you will also need curl and wget.

Just get it

I don't have Golang installed

NOTE: Your version of GoServe may be old. The most updated precompiled binary is the x86_64 binary. Run

wget -q raw.githubusercontent.com/Bobbbay/GoServe/master/install.sh -O - | bash

And you're done!

I have Golang installed

Run

git clone https://github.com/Bobbbay/GoServe.git

That's Bobbbay with THREE b's

Start

To begin, just run

cd GoServe

Then

sudo go run main.go

Common problems

I don't have sudo permissions

If you don't have sudo permissions, then you can't serve ports under 1024. This means you cannot serve the default port, 80. You can still serve any valid port above 1024. Some comonly known are 8080 and 1234.

Update

Just run

make update

TODO

A lot.

  • Asciinema at the top => .gif in this README
  • WAYYYYY more commenting main.go
  • Translate README?
  • More Asciinema vids

Contribute

HELP! Don't hesitate to open issues and PRs (please)! We only support armv7l and x86_64 at the moment for pre-compiled binaries. Any additional binaries would be greatly appreciated!

goserve's People

Contributors

bobbbay avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

goserve's Issues

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.