Commit 9ca14cd7 authored by Aral Balkan's avatar Aral Balkan
Browse files

Added license info. Updated the readme. Made a simple index page so we can...

Added license info. Updated the readme. Made a simple index page so we can tell Waystone is running by hitting in the browser.
parent 0ff60f4f
......@@ -7,10 +7,12 @@
# which they can go their own way and have private conversations. It also
# showcases public posts made on Heartbeat.
#
# Waystone is only supported on Linux.
#
# This is independent technology. See ind.ie/manifesto
#
# Copyright © 2014, Aral Balkan.
# Free as in freedom. Released under GNU GPLv3 (or any later version).
# Copyright © 2014-2015, Aral Balkan.
# Free as in freedom. Released under GNU AGPLv3.
#
################################################################################
......@@ -160,8 +162,29 @@ app.use(bodyParser.urlencoded({ extended: false }))
#
# Index
#
# app.get '/', (request, response) ->
# response.end('Waystone')
app.get '/', (request, response) ->
welcomeMessage = """
__\/\\________\/\\__
/ /═╬═\\ /═╬═\\ \\
/ |_║_| |_║_| \\
/______________________\\
│ ╔╦╗ ┌──┐ ╔╦╗ │
│ ╚╩╝ │ │ ╚╩╝ │
└───────┘ └───────┘
__ __ _
/ / /\\ \\ \\__ _ _ _ ___| |_ ___ _ __ ___
\\ \\/ \\/ / _\` | | | / __| __/ _ \\| '_ \\ / _ \\
\\ /\\ / (_| | |_| \\__ \\ || (_) | | | | __/
\\/ \\/ \\__,_|\\__, |___/\\__\\___/|_| |_|\\___|
|___/
“But mostly because it felt like the right thing to do,
and that is reason enough.”)
"""
welcomeHTML = '<!doctype html><html lang=en><head><meta charset=utf-8><title>Waystone</title></head><body><pre>' + welcomeMessage + '</body></html>'
response.end(welcomeHTML)
#
# Waystone REST API
......
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment