https://github.com/btipling/server
An HTTP server
https://github.com/btipling/server
haskell http http-server sockets tcp windows
Last synced: 5 months ago
JSON representation
An HTTP server
- Host: GitHub
- URL: https://github.com/btipling/server
- Owner: btipling
- License: bsd-3-clause
- Created: 2017-07-06T03:18:48.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-07-18T07:05:28.000Z (over 8 years ago)
- Last Synced: 2025-03-25T05:06:09.833Z (10 months ago)
- Topics: haskell, http, http-server, sockets, tcp, windows
- Language: Haskell
- Size: 53.7 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# server
A simle HTTP server built with Haskell on Windows TCP sockets to browse files.
## Progress
* Currently outputs directory contents and file contents for a given path.
* Crashes on non-utf8 file contents.
**Security note:** don't use this program in an untrusted environment or run the application as a restricted user as this program does not prevent the reading of files outside of the working directory.
```
stack build; stack exec server "C:\Users\swart\projects\haskell\server\"
```
### Screenshots

