gbs


Namegbs JSON
Version 0.1.4 PyPI version JSON
download
home_pagehttps://github.com/gopherball/gbs
SummaryA Python gopher server.
upload_time2023-04-27 12:14:23
maintainer
docs_urlNone
authorSimon de Vlieger
requires_python>=3.9,<4
licenseMIT
keywords gopher server
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ![gb logo, a gopher in a ball](https://src.tty.cat/supakeen/gb/raw/branch/master/doc/_static/logo-doc.png)

# gbs

![rtd badge](https://readthedocs.org/projects/gb/badge/?version=latest) ![license badge](https://gb.readthedocs.io/en/latest/_static/license.svg) ![black badge](https://img.shields.io/badge/code%20style-black-000000.svg)

<<<<<<< Updated upstream
## About

`gb` or gopherball is a gopher server written in Python with the main goals of
ease of use and integration. The name gopherball is inspired by a recurring
theme in the Calvin & Hobbes comicbooks and a tongue in cheek reference of an
alternative to the World Wide Web as we know it today.
=======
A gopher server implemented on top of the [gb](https://github.com/supakeen/gb)-library.
>>>>>>> Stashed changes

## Examples
Quick examples to get you running.

<<<<<<< Updated upstream
`gb --mode=implicit .` will start a gopher server on `127.0.0.1` port `7070` serving
a recursive index of files starting from the current directory.

`gb --mode=implicit --magic .` will start `gb` in magic-mode on `127.0.0.1` port
`7070`. Magic mode will make `gb` guess at filetypes.

`gb --mode=implicit --host="127.1.1.1" --port 1025 .` will start `gb` in implicit
=======
`gbs --mode=implicit .` will start a gopher server on `127.0.0.1` port `7070` serving
a recursive index of files starting from the current directory.

`gbs --mode=implicit --magic .` will start `gbs` in magic-mode on `127.0.0.1` port
`7070`. Magic mode will make `gbs` guess at filetypes.

`gbs --mode=implicit --host="127.1.1.1" --port 1025 .` will start `gbs` in implicit
>>>>>>> Stashed changes
mode on the chosen ip and port. Note that using ports under 1024 requires
superuser permissions!

## Modes
`gbs` has one main mode of operation that is commonly used. More modes are
planned for the future.

### implicit
Implicit mode serves a directory recursively. Indexes are automatically
generated and text files are served to the client. Data files are also
supported.

## Magic
`gbs` will serve all non-directories as type 9 files, these are non-readable
files and most clients will prompt for download. Turning on magic with
`--magic` will let `gbs` try to determine the correct filetypes.

## Modes
`gb` has one main mode of operation that is commonly used. More modes are
planned for the future.

### implicit
Implicit mode serves a directory recursively. Indexes are automatically
generated and text files are served to the client. Data files are also
supported.

## Magic
`gb` will serve all non-directories as type 9 files, these are non-readable
files and most clients will prompt for download. Turning on magic with
`--magic` will let `gb` try to determine the correct filetypes.

## Contributing
The source code for `gb` lives on my Gitea where you can also submit issues and
pull requests. It mostly needs help by people with the ability to test in
various clients and libraries that might still support the gopher protocol.


            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/gopherball/gbs",
    "name": "gbs",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.9,<4",
    "maintainer_email": "",
    "keywords": "gopher,server",
    "author": "Simon de Vlieger",
    "author_email": "cmdr@supakeen.com",
    "download_url": "https://files.pythonhosted.org/packages/9f/13/a63cb43f0780dcdec7dfc6c19d36f8bbbed88efd645c6a4a98912405eb91/gbs-0.1.4.tar.gz",
    "platform": null,
    "description": "![gb logo, a gopher in a ball](https://src.tty.cat/supakeen/gb/raw/branch/master/doc/_static/logo-doc.png)\n\n# gbs\n\n![rtd badge](https://readthedocs.org/projects/gb/badge/?version=latest) ![license badge](https://gb.readthedocs.io/en/latest/_static/license.svg) ![black badge](https://img.shields.io/badge/code%20style-black-000000.svg)\n\n<<<<<<< Updated upstream\n## About\n\n`gb` or gopherball is a gopher server written in Python with the main goals of\nease of use and integration. The name gopherball is inspired by a recurring\ntheme in the Calvin & Hobbes comicbooks and a tongue in cheek reference of an\nalternative to the World Wide Web as we know it today.\n=======\nA gopher server implemented on top of the [gb](https://github.com/supakeen/gb)-library.\n>>>>>>> Stashed changes\n\n## Examples\nQuick examples to get you running.\n\n<<<<<<< Updated upstream\n`gb --mode=implicit .` will start a gopher server on `127.0.0.1` port `7070` serving\na recursive index of files starting from the current directory.\n\n`gb --mode=implicit --magic .` will start `gb` in magic-mode on `127.0.0.1` port\n`7070`. Magic mode will make `gb` guess at filetypes.\n\n`gb --mode=implicit --host=\"127.1.1.1\" --port 1025 .` will start `gb` in implicit\n=======\n`gbs --mode=implicit .` will start a gopher server on `127.0.0.1` port `7070` serving\na recursive index of files starting from the current directory.\n\n`gbs --mode=implicit --magic .` will start `gbs` in magic-mode on `127.0.0.1` port\n`7070`. Magic mode will make `gbs` guess at filetypes.\n\n`gbs --mode=implicit --host=\"127.1.1.1\" --port 1025 .` will start `gbs` in implicit\n>>>>>>> Stashed changes\nmode on the chosen ip and port. Note that using ports under 1024 requires\nsuperuser permissions!\n\n## Modes\n`gbs` has one main mode of operation that is commonly used. More modes are\nplanned for the future.\n\n### implicit\nImplicit mode serves a directory recursively. Indexes are automatically\ngenerated and text files are served to the client. Data files are also\nsupported.\n\n## Magic\n`gbs` will serve all non-directories as type 9 files, these are non-readable\nfiles and most clients will prompt for download. Turning on magic with\n`--magic` will let `gbs` try to determine the correct filetypes.\n\n## Modes\n`gb` has one main mode of operation that is commonly used. More modes are\nplanned for the future.\n\n### implicit\nImplicit mode serves a directory recursively. Indexes are automatically\ngenerated and text files are served to the client. Data files are also\nsupported.\n\n## Magic\n`gb` will serve all non-directories as type 9 files, these are non-readable\nfiles and most clients will prompt for download. Turning on magic with\n`--magic` will let `gb` try to determine the correct filetypes.\n\n## Contributing\nThe source code for `gb` lives on my Gitea where you can also submit issues and\npull requests. It mostly needs help by people with the ability to test in\nvarious clients and libraries that might still support the gopher protocol.\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A Python gopher server.",
    "version": "0.1.4",
    "split_keywords": [
        "gopher",
        "server"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "bd1f7dbc267ca53d726da3a6d202ffd3c7ff48409dfdc4083bff83372ca304a5",
                "md5": "4c69a1c04f5163dd1dbfd63414c65c8f",
                "sha256": "f56853585ae8e5b273359edc149c273d7dced54e215522971a66b6a25595e6ca"
            },
            "downloads": -1,
            "filename": "gbs-0.1.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "4c69a1c04f5163dd1dbfd63414c65c8f",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9,<4",
            "size": 6808,
            "upload_time": "2023-04-27T12:14:21",
            "upload_time_iso_8601": "2023-04-27T12:14:21.394370Z",
            "url": "https://files.pythonhosted.org/packages/bd/1f/7dbc267ca53d726da3a6d202ffd3c7ff48409dfdc4083bff83372ca304a5/gbs-0.1.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9f13a63cb43f0780dcdec7dfc6c19d36f8bbbed88efd645c6a4a98912405eb91",
                "md5": "1ec80a468073e7b1be4f538421008d8b",
                "sha256": "7c71c2ac6ec6f00cd1417b76ea1845c4dd611e2146ca6ab66af7a2ad08781073"
            },
            "downloads": -1,
            "filename": "gbs-0.1.4.tar.gz",
            "has_sig": false,
            "md5_digest": "1ec80a468073e7b1be4f538421008d8b",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9,<4",
            "size": 5903,
            "upload_time": "2023-04-27T12:14:23",
            "upload_time_iso_8601": "2023-04-27T12:14:23.165176Z",
            "url": "https://files.pythonhosted.org/packages/9f/13/a63cb43f0780dcdec7dfc6c19d36f8bbbed88efd645c6a4a98912405eb91/gbs-0.1.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-04-27 12:14:23",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "gopherball",
    "github_project": "gbs",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "gbs"
}
        
Elapsed time: 0.06829s