Fork of bloat for contributing.
Go to file
r 967a9c954e Fix go mod 2019-12-22 16:28:31 +00:00
config Initial commit 2019-12-13 18:26:24 +00:00
kv Use filesystem based kv store instead of sqlite 2019-12-17 20:17:25 +00:00
mastodon Fix go mod 2019-12-22 16:28:31 +00:00
model Add support for scopes 2019-12-21 13:26:31 +00:00
renderer Fix css and template issues 2019-12-22 03:43:25 +00:00
repository Use json format for app and session repo 2019-12-21 10:56:40 +00:00
service Add nsfw checkbox for posts 2019-12-22 16:27:49 +00:00
static Add nsfw checkbox for posts 2019-12-22 16:27:49 +00:00
templates Add nsfw checkbox for posts 2019-12-22 16:27:49 +00:00
util Initial commit 2019-12-13 18:26:24 +00:00
.gitignore Change default database directory 2019-12-18 16:12:09 +00:00
COPYING Add license 2019-12-13 21:07:34 +00:00
Makefile Remove unsed variables from Makefile 2019-12-14 10:59:07 +00:00
README Remove sqlite from README 2019-12-17 20:23:29 +00:00
default.conf Change default database directory 2019-12-18 16:12:09 +00:00
go.mod Use filesystem based kv store instead of sqlite 2019-12-17 20:17:25 +00:00
go.sum Use filesystem based kv store instead of sqlite 2019-12-17 20:17:25 +00:00
main.go Use filesystem based kv store instead of sqlite 2019-12-17 20:17:25 +00:00

README

Web - A web client for Mastodon Network

Features:

- Does not require JavaScript to display text, images, audio and videos.


Requirements:

- Go 1.11


External dependencies:

- Fork of go-masodon (https://github.com/mattn/go-mastodon)
- gorilla/mux (https://github.com/gorilla/mux)


Building and Installation:

Make sure you have GO installed. Other dependencies will be 
downloaded automatically.

Typing make will build the binary 
$ make

Edit the provided config file. See the default.conf file for more details.
$ ed default.conf

Run the binary
$ ./web

You can also setup a reverse HTTP proxy serve the website over TLS connection.


Notes:

You will need to clear the database if you change config values for client_name, 
client_scope or client_website.


License:

To the extent possible under law, the author have dedicated all copyright and
related and neighboring rights to this software to the public domain worldwide.
This software is distributed without any warranty.

You should have received a copy of the CC0 Public Domain Dedication along with
this software. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.