Skip to content

Commit 4bf8ec0

Browse files
committed
Update Readme
1 parent 5d02ed8 commit 4bf8ec0

1 file changed

Lines changed: 35 additions & 1 deletion

File tree

README.md

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,36 @@
11
# GopherServer
2-
A Gopher Server implemented in C#
2+
A Gopher Server implemented in C#.
3+
4+
## What is in here
5+
- Simple Socket Server implemented in GopherServer.Server
6+
- Concept of "Providers' which return a Result for the selector.
7+
- Providers only have two methods to implement: `void Init()` and `BaseResult GetResult(string selector);`
8+
- Models for results, item types, etc and helpers in GopherServer.Core
9+
- Providers configured in app.config
10+
- First provider has been written which allows a WordPress site to be viewed in a Gopher client
11+
12+
Pull requests very welcome!
13+
14+
# Providers
15+
16+
## WordPressProvider
17+
The WordPressProvider consumes the WordPress REST API and allows a blog to be browsed with a Gopher client(!).
18+
To use it:
19+
- Set `<add key="providerName" value="GopherServer.Providers.WpJson" />`
20+
- and adjust `<add key="WordPressProvider.Url" value="<your url>" />` to your URL
21+
22+
The provider has support for proxying GIF and Webpages over gopher.
23+
Give it a go!
24+
25+
# TODO
26+
- Write Much better documentation
27+
- Improve the HTML to Text rendering
28+
- Implement a File provider to expose a directory over gopher (like a typical gopher server would)
29+
- Improve the socket server (it's pretty much microsoft's example async socket server as is, lots of room for improvement)
30+
- Improve the configuration and loading of providers
31+
- Write a client
32+
- Replace hacky code
33+
34+
35+
36+

0 commit comments

Comments
 (0)