Discussion
Loading...

#Tag

Log in
  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
@reiver ⊼ (Charles) :batman: boosted
@reiver ⊼ (Charles) :batman:
@reiver ⊼ (Charles) :batman:
@reiver@mastodon.social  ·  activity timestamp 2 years ago

I like that the nex-protocol supports directories.

(It is something that the HTTP protocol lacks, except for some atavi like relative path resolution. And, no, WebDAV doesn't count.)

...

https://nex.nightfall.city/nex/info/specification.txt

https://nex.nightfall.city/nex/info/station-guide.txt

#nex #nexProtocol

  • Copy link
  • Flag this post
  • Block
@reiver ⊼ (Charles) :batman: boosted
@reiver ⊼ (Charles) :batman:
@reiver ⊼ (Charles) :batman:
@reiver@mastodon.social  ·  activity timestamp 4 months ago

The nex-protocol specification is very short.

https://nex.nightfall.city/nex/info/specification.txt

#nex #NexProtocol #SmallNet #SmallWeb

                           THE NEX PROTOCOL

Nex is a simple internet protocol designed for distributed document
retrieval. It's inspired by gopher and gemini.

Servers should listen on port 1900. Afterall, night falls at 7pm!
Users connect and send the server a path which may be empty. The
server responds with text or binary data and close the connection. No
state is retained.

Document content is returned as-is. Directory content use plain text
with a special syntax where each line beginning by "=> " followed by a
URL is considred a link. The URL can be absolute or relative. Here are
examples:

=> nex://my-site.net
=> about.txt
=> ../nexlog/

Clients can assume that an empty path or a path finishing with / is a
directory. A document should be displayed based on the path's file
extension. When there is no extension, plain text is assumed.

Here is an example telnet session:
telnet nex.nightfall.city 1900
hello-world.txt

Hello world!
THE NEX PROTOCOL Nex is a simple internet protocol designed for distributed document retrieval. It's inspired by gopher and gemini. Servers should listen on port 1900. Afterall, night falls at 7pm! Users connect and send the server a path which may be empty. The server responds with text or binary data and close the connection. No state is retained. Document content is returned as-is. Directory content use plain text with a special syntax where each line beginning by "=> " followed by a URL is considred a link. The URL can be absolute or relative. Here are examples: => nex://my-site.net => about.txt => ../nexlog/ Clients can assume that an empty path or a path finishing with / is a directory. A document should be displayed based on the path's file extension. When there is no extension, plain text is assumed. Here is an example telnet session: telnet nex.nightfall.city 1900 hello-world.txt Hello world!
THE NEX PROTOCOL Nex is a simple internet protocol designed for distributed document retrieval. It's inspired by gopher and gemini. Servers should listen on port 1900. Afterall, night falls at 7pm! Users connect and send the server a path which may be empty. The server responds with text or binary data and close the connection. No state is retained. Document content is returned as-is. Directory content use plain text with a special syntax where each line beginning by "=> " followed by a URL is considred a link. The URL can be absolute or relative. Here are examples: => nex://my-site.net => about.txt => ../nexlog/ Clients can assume that an empty path or a path finishing with / is a directory. A document should be displayed based on the path's file extension. When there is no extension, plain text is assumed. Here is an example telnet session: telnet nex.nightfall.city 1900 hello-world.txt Hello world!
  • Copy link
  • Flag this post
  • Block
@reiver ⊼ (Charles) :batman:
@reiver ⊼ (Charles) :batman:
@reiver@mastodon.social  ·  activity timestamp 4 months ago

The nex-protocol specification is very short.

https://nex.nightfall.city/nex/info/specification.txt

#nex #NexProtocol #SmallNet #SmallWeb

                           THE NEX PROTOCOL

Nex is a simple internet protocol designed for distributed document
retrieval. It's inspired by gopher and gemini.

Servers should listen on port 1900. Afterall, night falls at 7pm!
Users connect and send the server a path which may be empty. The
server responds with text or binary data and close the connection. No
state is retained.

Document content is returned as-is. Directory content use plain text
with a special syntax where each line beginning by "=> " followed by a
URL is considred a link. The URL can be absolute or relative. Here are
examples:

=> nex://my-site.net
=> about.txt
=> ../nexlog/

Clients can assume that an empty path or a path finishing with / is a
directory. A document should be displayed based on the path's file
extension. When there is no extension, plain text is assumed.

Here is an example telnet session:
telnet nex.nightfall.city 1900
hello-world.txt

Hello world!
THE NEX PROTOCOL Nex is a simple internet protocol designed for distributed document retrieval. It's inspired by gopher and gemini. Servers should listen on port 1900. Afterall, night falls at 7pm! Users connect and send the server a path which may be empty. The server responds with text or binary data and close the connection. No state is retained. Document content is returned as-is. Directory content use plain text with a special syntax where each line beginning by "=> " followed by a URL is considred a link. The URL can be absolute or relative. Here are examples: => nex://my-site.net => about.txt => ../nexlog/ Clients can assume that an empty path or a path finishing with / is a directory. A document should be displayed based on the path's file extension. When there is no extension, plain text is assumed. Here is an example telnet session: telnet nex.nightfall.city 1900 hello-world.txt Hello world!
THE NEX PROTOCOL Nex is a simple internet protocol designed for distributed document retrieval. It's inspired by gopher and gemini. Servers should listen on port 1900. Afterall, night falls at 7pm! Users connect and send the server a path which may be empty. The server responds with text or binary data and close the connection. No state is retained. Document content is returned as-is. Directory content use plain text with a special syntax where each line beginning by "=> " followed by a URL is considred a link. The URL can be absolute or relative. Here are examples: => nex://my-site.net => about.txt => ../nexlog/ Clients can assume that an empty path or a path finishing with / is a directory. A document should be displayed based on the path's file extension. When there is no extension, plain text is assumed. Here is an example telnet session: telnet nex.nightfall.city 1900 hello-world.txt Hello world!
  • Copy link
  • Flag this post
  • Block
ps@wizard.casa
ps@wizard.casa
@ps@wizard.casa  ·  activity timestamp 7 months ago

I have launched the #Yggdrasil mirror of my gemlog for the #Nex protocol:
nex://[302:68d0:f0d5:b88d::b]/
nex://ps.ygg/

  • Copy link
  • Flag this post
  • Block

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.1 no JS en
Automatic federation enabled
Log in
  • Explore
  • About
  • Members
  • Code of Conduct