gbs
<<<<<<< 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-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.
Metadata
Release files for gbs 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| gbs-0.1.4.tar.gz | 5.9 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gbs-0.1.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.7 kB
Release files / gbs-0.1.4.tar.gz
| Download URL | gbs-0.1.4.tar.gz |
|---|---|
| Size | 5.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7c71c2ac6ec6f00cd1417b76ea1845c4dd611e2146ca6ab66af7a2ad08781073
|
|
BLAKE2b-256 checksum How to use checksums |
9f13a63cb43f0780dcdec7dfc6c19d36f8bbbed88efd645c6a4a98912405eb91
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.2 CPython/3.11.3 Linux/6.2.12-300.fc38.x86_64
|
Release files / gbs-0.1.4-py3-none-any.whl
| Download URL | gbs-0.1.4-py3-none-any.whl |
|---|---|
| Size | 6.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f56853585ae8e5b273359edc149c273d7dced54e215522971a66b6a25595e6ca
|
|
BLAKE2b-256 checksum How to use checksums |
bd1f7dbc267ca53d726da3a6d202ffd3c7ff48409dfdc4083bff83372ca304a5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.2 CPython/3.11.3 Linux/6.2.12-300.fc38.x86_64
|
Security for gbs 0.1.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.