Giter Site home page Giter Site logo

cgod's Introduction

cgod

cgod is a Gopher Daemon with a similar feature set to Gophernicus and Motsognir and is fully "Dockerized" with Docker. cgod is written in Python using the circuits Application Framework.

Full documentation can be found on Gopherspace at:

gopher://daisy.shortcircuit.net.au/1~prologic/projects/cgod/

Installation

Either pull the prebuilt Docker image:

$ docker pull prologic/cgod

Or install from the development repository:

$ git clone https://github.com/prologic/cgod
$ cd cgod
$ pip install .

Usage

Using Docker:

$ docker run -d 70:70 -v /var/gopher:/var/gopher -H domain.com -r /var/gopher

Or via a local install:

# cgod -H domain.com -r /var/gopher

note

It is important to configure the -H/--hostname properly and set

this to the hostname that remote Gopher clients will connect to your Gopher server with.

For other configuration options:

$ docker run prologic/cgod --help

or:

$ cgod --help

A path to a configuration file can also be specified with the -c/--config option. The file format is INI-style and takes all of the same long options as the command-line.

Example Configuration:

[globals]
rootdir = '/var/gopher'
host = 'domain.com'

Demo

A full production version of cgod can be found at the following Gopher URI:

gopher://daisy.shortcircuit.net.au/

This is configured and managed with the following fig <http://fig.sh> configuration:

cgod:
    image: prologic/cgod
    environment:
      - CGOD_HOST=arrow.shortcircuit.net.au
      - CGOD_ROOTDIR=/var/gopher
    volumes:
      - /home:/home
      - /var/gopher:/var/gopher
    ports:
      - "70:70"

cgod's People

Contributors

prologic avatar

Watchers

 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.