No description
Find a file
Michael Demetriou 07fe366c15 Fix T657: add --sections argument to allow partial configuration.
Use the split argument list (slice) just for validation purposes
as it's substantially easier to do `.contains` in a string instead
of a slice. As such, pass the `configSections` arguments to
`Configure()` and check the existence of each one before showing
the options to the user.

An empty argument list is replaced by "server db app" so everything
is there negating the need to check anything else in `Configure()`.
In the same vein the default is "server db app".

The parsing is done in `app.go` alongside the other flags instead
of `main.go` as described in T657.
2019-06-20 23:41:03 +03:00
.github Automatically assign "bug?" label to bug reports 2019-03-14 09:43:48 -04:00
author Fix IsValidUsername check when PagesParentDir isn't current dir 2019-03-06 10:44:32 -05:00
cmd/writefreely Fix spacing around copyright notices 2018-12-31 01:05:26 -05:00
config Fix T657: add --sections argument to allow partial configuration. 2019-06-20 23:41:03 +03:00
keys Move key generation to app from keys.sh 2018-11-11 17:52:24 -05:00
less Add spacing around time element on index pages 2019-06-01 09:26:58 -04:00
migrations Run migrations on db initialization 2019-04-15 13:48:19 -04:00
page Link to version-specific writer's guide 2019-04-11 13:52:10 -04:00
pages Make WriteFreely spacing consistent 2019-04-11 21:33:33 -04:00
parse Describe package parse 2019-01-18 11:36:56 -05:00
static Move MathJax to git submodule 2019-05-14 07:50:37 -04:00
templates Enable un-setting RTL setting via web 2019-05-18 23:16:42 -04:00
.dockerignore added .git to make builds cache more effectively and run faster 2018-11-22 06:56:29 -06:00
.gitignore Fix go-bindata error in Travis build 2019-04-06 10:45:19 -04:00
.gitmodules Use HTTP for MathJax submodule 2019-05-14 07:58:36 -04:00
.travis.yml Fix go-bindata error in Travis build 2019-04-06 10:45:19 -04:00
account.go Support user invites 2019-01-18 00:05:50 -05:00
activitypub.go Merge pull request #111 from writeas/gh100 2019-06-03 16:37:36 -04:00
activitypub_test.go fixes issue #100 - can't follow from pubgate 2019-05-21 07:02:35 -07:00
admin.go Support changing instance page titles 2019-04-11 13:56:07 -04:00
app.go Fix T657: add --sections argument to allow partial configuration. 2019-06-20 23:41:03 +03:00
auth.go Fix spacing around copyright notices 2018-12-31 01:05:26 -05:00
AUTHORS.md Add @nkoehring to AUTHORS 2019-01-24 17:24:07 -05:00
cache.go Fix spacing around copyright notices 2018-12-31 01:05:26 -05:00
collections.go Change GetPosts() to have includePinned parameter, change all calls to match 2019-05-28 14:54:56 -04:00
config.ini.example Make WriteFreely spacing consistent 2019-04-11 21:33:33 -04:00
CONTRIBUTING.md Explain where to post questions, feedback, bugs 2018-11-11 10:30:50 -05:00
database-no-sqlite.go Support building without SQLite support 2019-01-03 17:57:06 -05:00
database-sqlite.go Fix tagged posts SQLite query 2019-01-07 11:55:23 -05:00
database.go Fix #96 2019-06-11 20:18:58 +03:00
docker-compose.yml Improved the Docker dev workflow slightly. 2018-11-16 14:53:42 -06:00
docker-setup.sh Improved the Docker dev workflow slightly. 2018-11-16 14:53:42 -06:00
Dockerfile Install the writefreely cmd properly 2019-04-19 13:05:01 +02:00
errors.go Fix spacing around copyright notices 2018-12-31 01:05:26 -05:00
export.go Merge pull request #111 from writeas/gh100 2019-06-03 16:37:36 -04:00
feed.go Change GetPosts() to have includePinned parameter, change all calls to match 2019-05-28 14:54:56 -04:00
go.mod Add go-bindata as a module dependency 2019-05-17 16:22:44 -07:00
go.sum Add go-bindata as a module dependency 2019-05-17 16:22:44 -07:00
handle.go Send correct status on 410/500 in handleHTTPError 2019-01-03 15:43:44 -05:00
hostmeta.go Fix spacing around copyright notices 2018-12-31 01:05:26 -05:00
instance.go Fix spacing around copyright notices 2018-12-31 01:05:26 -05:00
invites.go Support user invites 2019-01-18 00:05:50 -05:00
keys.go Generate encryption keys in configured directory 2019-01-20 14:18:09 -05:00
LICENSE Use AGPL 2018-10-29 10:06:45 -04:00
Makefile go-bindata url updated 2019-05-17 15:57:33 -05:00
nodeinfo.go Add invites flag in NodeInfo 2019-04-11 20:37:01 -04:00
pad.go Fix spacing around copyright notices 2018-12-31 01:05:26 -05:00
pages.go Make WriteFreely spacing consistent 2019-04-11 21:33:33 -04:00
postrender.go Make WriteFreely spacing consistent 2019-04-11 21:33:33 -04:00
posts.go change delete post authentication logic 2019-06-05 09:39:22 -07:00
read.go Fix hashes in code blocks rendered as hashtags 2019-02-04 17:50:37 +01:00
README.md Include -config and -init-db steps in make install 2019-04-16 11:27:27 -04:00
request.go Fix spacing around copyright notices 2018-12-31 01:05:26 -05:00
routes.go Move instance page editing to dedicated section 2019-04-06 13:23:22 -04:00
schema.sql Set up migrations table on initial setup 2019-01-24 17:08:08 -05:00
session.go Fix spacing around copyright notices 2018-12-31 01:05:26 -05:00
sitemap.go Change GetPosts() to have includePinned parameter, change all calls to match 2019-05-28 14:54:56 -04:00
sqlite.sql Set up migrations table on initial setup 2019-01-24 17:08:08 -05:00
templates.go Make WriteFreely spacing consistent 2019-04-11 21:33:33 -04:00
unregisteredusers.go Support user invites 2019-01-18 00:05:50 -05:00
users.go Support user invites 2019-01-18 00:05:50 -05:00
webfinger.go Fix spacing around copyright notices 2018-12-31 01:05:26 -05:00

 

WriteFreely


Latest release Go Report Card Build status

 

WriteFreely is a beautifully pared-down blogging platform that's simple on the surface, yet powerful underneath.

It's designed to be flexible and share your writing widely, so it's built around plain text and can publish to the fediverse via ActivityPub. It's easy to install and light enough to run on a Raspberry Pi.

Try the editor

Find an instance

Features

  • Start a blog for yourself, or host a community of writers
  • Form larger federated networks, and interact over modern protocols like ActivityPub
  • Write on a fast, dead-simple, and distraction-free editor
  • Format text with Markdown
  • Organize posts with hashtags
  • Create static pages
  • Publish drafts and let others proofread them by sharing a private link
  • Create multiple lightweight blogs under a single account
  • Export all data in plain text files
  • Read a stream of other posts in your writing community
  • Build more advanced apps and extensions with the well-documented API
  • Designed around user privacy and consent

Hosting

We offer two kinds of hosting services that make WriteFreely deployment painless: Write.as for individuals, and WriteFreely.host for communities. Besides saving you time, as a customer you directly help fund WriteFreely development.

Write.as

Start a personal blog on Write.as, our flagship instance. Built to eliminate setup friction and preserve your privacy, Write.as helps you start a blog in seconds. It supports custom domains (with SSL) and multiple blogs / pen names per account. Read more here.

WriteFreely.host

WriteFreely.host makes it easy to start a close-knit community — to share knowledge, complement your Mastodon instance, or publish updates in your organization. We take care of the hosting, upgrades, backups, and maintenance so you can focus on writing.

Quick start

WriteFreely has minimal requirements to get up and running — you only need to be able to run an executable.

Note

this is currently alpha software. We're quickly moving out of this v0.x stage, but while we're in it, there are no guarantees that this is ready for production use.

First, download the latest release for your OS. It includes everything you need to start your blog.

Now extract the files from the archive, change into the directory, and do the following steps:

# 1) Configure your blog
./writefreely --config

# 2) (if you chose MySQL in the previous step) Log into MySQL and run:
# CREATE DATABASE writefreely;

# 3) (if you chose Multi-user setup) Import the schema with:
./writefreely --init-db

# 4) Generate data encryption keys
./writefreely --gen-keys

# 5) Run
./writefreely

# 6) Check out your site at the URL you specified in the setup process
# 7) There is no Step 7, you're done!

For running in production, see our guide.

Packages

WriteFreely is available in these package repositories:

Development

Ready to hack on your site? Get started with our developer guide.

Docker

Read about using Docker in the documentation.

Contributing

We gladly welcome contributions to WriteFreely, whether in the form of code, bug reports, feature requests, translations, or documentation improvements.

Before contributing anything, please read our Contributing Guide. It describes the correct channels for submitting contributions and any potential requirements.

License

Licensed under the AGPL.