gopad

command module
v0.0.0-...-42dca6d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 10, 2018 License: MIT Imports: 2 Imported by: 0

README

Build Status Go Report Card

runes is a notepad web application, with the following features:

  • Blog style, sequential entries
  • Workspaces to group entries by project
  • Markdown support with github flavour
  • Realtime render: All data written in the markdown are automatically rendered, with support for
  • Attachments support, just drag&drop
  • Page changes are kept and versioned
  • No database , all data are written into the filesystem. If you want to backup the data, just copy the folder, or create a git repo for it.
  • No data is overwritten, attachments cannot be overwritten
  • Google OAuth2 support, if you want you can push your blog in a public space and log into with your google account.
  • TLS support

Installation

Install the runes with

go get github.com/adriamb/runes

initialize the repository

runes create

then, start the runes

runes start

go to a browser http://localhost:8086

Fast test with docker

If you want to test the application, copy the docker folder

run docker-compose

docker-compose up

go to a browser http://localhost:8086

all files generated will be kept in the data folder, take a look

Configuration file

runes uses the following configuration file, by default located in $HOME/.runes.yaml but you can specify it with the --config command line parameter.

port: <server port, e.g. 8086>
datadir: <where data is stored, by default is $HOME/.runes>
tmpdir: <temp directory, by default is /tmp/runes/tmp>
cachedir: <cache directory, by default is /tmp/runes/tmp>
auth:
    type: <'none' or 'google'>
    googleclientid: <google oauth2 clientid>
    allowedemails:
        - <email of allowed oauth client>
        - <email of allowed oauth client>

Dropping files

To add files, just drop the file into the markdown edit box. The file will be added to the filesystem and a link will be created inside the markdown text.

You can access the file with the created link or using the Files menu item.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
web

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL