Giter Site home page Giter Site logo

gavin's Introduction

gavin

gavin is a self contained instance of Organice.

It combines a WebDAV server and the Organice assets into a single binary that can be run from virtually everywhere.

gavin can be used as a standalone webserver or placed behind a reverse proxy.

Features

  • Built in WebDAV server with basic http authentication.
  • Ability to serve over TLS using automatically managed ACME certificates.
  • Reverse proxy friendly.

Docs

Generating a .htpasswd file

Please note: gavin expects the .htpasswd file to use bcrypt as the hashing algorithm!

Using gavin

gavin -htpass /secrets/.htpasswd -gen

OpenBSD using htpasswd

htpasswd .htpasswd $USER

Linux/macOS using htpasswd

htpasswd -B -c .htpasswd $USER

Example usage on local machine

Download gavin

Releases can be downloaded for common OSs here:

https://github.com/qbit/gavin/releases

Running

  • Generate a .htpasswd file.
  • Run gavin pointing it at your org files:
gavin -davdir ~/org

Now you log into gavin with the following settings:

URL: https://localhost:8080/dav Username: $USER Password: $YOURPASSWORD

Running in auto ACME mode

gavin -domain gavin.example.com -http $externalIP:443

If you would like to specify where gavin stores the certificates the -cache flag can be used.

By default gavin will listen on port 80 for ACME requests. This can be changed using the -alisten flag, however, note that ACME always sends requests over port 80, so you will need something that forwards requests onto gavin.

gavin's People

Contributors

qbit avatar munen 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.