WriteFreely è un software libero e open source per costruire uno spazio di scrittura sul web - che sia una pubblicazione, un blog interno o una comunità di scrittura nel fediverso. https://noblogo.org
Go to file
Matt Baer 6bcc4cfa46 Check for error response in code exchange
This checks to see if we get a response with a populated `error` field
in exchangeOauthCode(). If so, we return that error message as an error,
to ensure the callback logic doesn't continue with a bad response.

Ref T705
2019-12-30 18:25:24 -05:00
.github Automatically assign "bug?" label to bug reports 2019-03-14 09:43:48 -04:00
appstats move tool from gogs into appstats pkg 2019-09-13 08:22:38 -07:00
author Fix IsValidUsername check when PagesParentDir isn't current dir 2019-03-06 10:44:32 -05:00
cmd/writefreely Emit the server software and version to the log on startup 2019-08-11 09:53:33 -04:00
config Added oauth handlers and tests with mocks. Part of T705. 2019-12-19 11:51:19 -05:00
db Unit tests, integration testing, and code cleanup for oauth support. Part of T705. 2019-12-23 14:30:32 -05:00
key Add TODO for multierror 2019-06-14 19:12:14 -04:00
keys Move key generation to app from keys.sh 2018-11-11 17:52:24 -05:00
less Fix "silenced" alert styles on more pages 2019-11-12 00:41:45 +09:00
migrations Unit tests, integration testing, and code cleanup for oauth support. Part of T705. 2019-12-23 14:30:32 -05:00
oauth Added oauth handlers and tests with mocks. Part of T705. 2019-12-19 11:51:19 -05:00
page Add site-wide navigation on colls when chorus = true 2019-08-07 09:00:16 -04:00
pages Fix false login state on failed login 2019-09-03 17:56:27 -04:00
parse Describe package parse 2019-01-18 11:36:56 -05:00
scripts fix: update script: non-standard version numbers 2019-06-14 17:26:56 -07:00
static Move MathJax to git submodule 2019-05-14 07:50:37 -04:00
templates Remove "silenced" warning on password-collection.tmpl 2019-12-17 13:11:32 -05: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
AUTHORS.md Add @nkoehring to AUTHORS 2019-01-24 17:24:07 -05:00
CONTRIBUTING.md Explain where to post questions, feedback, bugs 2018-11-11 10:30:50 -05:00
Dockerfile Install the writefreely cmd properly 2019-04-19 13:05:01 +02:00
LICENSE Use AGPL 2018-10-29 10:06:45 -04:00
Makefile fix typo in Makefile GITREV release target 2019-08-22 12:16:37 -07:00
README.md Update hosting options in README 2019-11-04 14:06:24 -05:00
account.go Merge branch 'develop' into T661-disable-accounts 2019-11-12 01:46:37 +09:00
activitypub.go Merge branch 'develop' into T661-disable-accounts 2019-11-12 01:46:37 +09:00
activitypub_test.go fixes issue #100 - can't follow from pubgate 2019-05-21 07:02:35 -07:00
admin.go Added oauth handlers and tests with mocks. Part of T705. 2019-12-19 11:51:19 -05:00
app.go Added oauth handlers and tests with mocks. Part of T705. 2019-12-19 11:51:19 -05:00
auth.go Fix spacing around copyright notices 2018-12-31 01:05:26 -05:00
bindata-lib.go Include schema.sql when built with wflib tag 2019-06-13 20:25:30 -04:00
cache.go Fix spacing around copyright notices 2018-12-31 01:05:26 -05:00
collections.go Return 404 for suspended pass-protected colls 2019-12-17 13:02:21 -05:00
config.ini.example Make WriteFreely spacing consistent 2019-04-11 21:33:33 -04:00
database-lib.go Allow compiling without go-sql-driver/mysql pkg 2019-06-13 13:47:27 -04:00
database-no-sqlite.go Allow compiling without go-sql-driver/mysql pkg 2019-06-13 13:47:27 -04:00
database-sqlite.go Allow compiling without go-sql-driver/mysql pkg 2019-06-13 13:47:27 -04:00
database.go Code cleanup from PR 255 feedback. T705 2019-12-27 13:35:48 -05:00
database_test.go Unit tests, integration testing, and code cleanup for oauth support. Part of T705. 2019-12-23 14:30:32 -05: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
errors.go Change "suspend" to "silence" where user-facing 2019-11-12 00:22:33 +09:00
export.go Fix URLs in CSV exports 2019-11-07 17:25:42 +09:00
feed.go Merge branch 'develop' into T661-disable-accounts 2019-10-24 13:22:26 -04:00
go.mod Unit tests, integration testing, and code cleanup for oauth support. Part of T705. 2019-12-23 14:30:32 -05:00
go.sum Unit tests, integration testing, and code cleanup for oauth support. Part of T705. 2019-12-23 14:30:32 -05:00
handle.go Added oauth handlers and tests with mocks. Part of T705. 2019-12-19 11:51:19 -05:00
hostmeta.go Make App struct public 2019-05-12 17:19:38 -04:00
instance.go Fix spacing around copyright notices 2018-12-31 01:05:26 -05:00
invites.go Rename UserSuspended to UserSilenced 2019-11-12 00:41:25 +09:00
keys.go Break functionality out of Serve() func 2019-06-13 18:50:23 -04:00
main_test.go Unit tests, integration testing, and code cleanup for oauth support. Part of T705. 2019-12-23 14:30:32 -05:00
nodeinfo.go Add `invites` flag in NodeInfo 2019-04-11 20:37:01 -04:00
oauth.go Check for error response in code exchange 2019-12-30 18:25:24 -05:00
oauth_test.go Code cleanup from PR 255 feedback. T705 2019-12-27 13:35:48 -05:00
pad.go Suppress log when editing post or its metadata 2019-12-01 06:16:12 -05:00
pages.go Enable customizing Reader page 2019-08-09 11:16:38 -04:00
postrender.go allow titles for abbreviation elements 2019-09-18 08:21:33 -07:00
posts.go Merge pull request #215 from writeas/prevent-fail-on-suspend-check 2019-12-17 21:12:58 -05:00
read.go Merge branch 'develop' into T661-disable-accounts 2019-11-12 01:46:37 +09:00
request.go update IsJSON to check for Accept header 2019-09-18 12:39:53 -07:00
routes.go Unit tests, integration testing, and code cleanup for oauth support. Part of T705. 2019-12-23 14:30:32 -05:00
schema.sql address PR comments 2019-10-25 12:04:24 -07:00
session.go Break functionality out of Serve() func 2019-06-13 18:50:23 -04:00
sitemap.go Link hashtags to Reader when Chorus mode enabled 2019-08-07 09:40:07 -04:00
sqlite.sql address PR comments 2019-10-25 12:04:24 -07:00
templates.go address PR comments 2019-10-25 12:04:24 -07:00
unregisteredusers.go update IsJSON to check for Accept header 2019-09-18 12:39:53 -07:00
users.go Rename UserSuspended to UserSilenced 2019-11-12 00:41:25 +09:00
webfinger.go Add account suspension features 2019-08-29 09:09:11 -07:00

README.md

 

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 Pro for individuals, and Write.as for Teams for businesses. Besides saving you time and effort, both services directly fund WriteFreely development and ensure the long-term sustainability of our open source work.

Write.as Pro

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.

Write.as for Teams

Write.as for Teams gives your organization, business, or open source project a clutter-free space to share updates or proposals and build your collective knowledge. We take care of hosting, upgrades, backups, and maintenance so your team 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.

To get started, head over to our Getting Started guide. For production use, jump to the Running in Production section.

Packages

WriteFreely is available in these package repositories:

Documentation

Read our full documentation on WriteFreely.org. Help us improve by contributing to the writefreely/documentation repo.

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.