I wanted a blog and wiki at the same time so I created "bleurg".
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Dashie der otter 9e37fdfe0a
Linter
7 months ago
cmd Linter 7 months ago
conf Can import blog posts; Fix viewing when not logged in 7 months ago
context Switch from Clog to Logrus 7 months ago
integrations dsfjdsfjdsflkjdsfkdsfjowif 7 months ago
locale Update translations; More template updates 7 months ago
models Can import blog posts; Fix viewing when not logged in 7 months ago
routers Can import blog posts; Fix viewing when not logged in 7 months ago
setting happy now ? 7 months ago
static Updated from datetimepicker to tempusdominus; Fixed kk->HH (???) 7 months ago
stuff Switch from Clog to Logrus 7 months ago
templates Fix integrations and reactivate them 7 months ago
vendor Update vendors 7 months ago
.bra.toml Fix checkbox issue 7 months ago
.drone.yml Fix integrations and reactivate them 7 months ago
.gitignore s/myapp/bleurg/ 7 months ago
Gopkg.lock Update vendors 7 months ago
Gopkg.toml Switch from Clog to Logrus 7 months ago
LICENSE Initial base app import 1 year ago
LICENSE.gogs Update from current git.txt 8 months ago
Makefile Make test now check fmt 7 months ago
README.md Can import blog posts; Fix viewing when not logged in 7 months ago
TODO TODO 7 months ago
bleurg.go Can import blog posts; Fix viewing when not logged in 7 months ago
bleurg.pot Update translations; More template updates 7 months ago
updatepo.sh Update to use another i18n lib backed with Gettext 7 months ago

README.md

bleurg

I wanted a blog, but also a ~wiki~ and the bleurg became reality.

Installation

go get git clone whatever
make
./bleurg web

Usage

It’s a SINGLE-USER wiki/blog, enable registration, create your user then disable registration, it will be the first user, and will became administrator automatically.

To create a new wiki page navigate to /wiki/page_name and the editor will permit to edit content.

To set a content for the sidebar, edit or create /wiki/sidebar.

Import

Create a directory like imports/ with files insides:

# imports/files.yml
posts:
    my_post.md:
        title: Wow post
        date: "2018-05-25"
    such_post.md:
        title: fdkjfsldk
        date: "1990-02-13"
pages:
    my_page.md:
        title: title here
        url: guess what

With the markdown post content in imports/my_post.md etc.

Then run ./bleurg import -d imports -u your_registered_user

License and contact

MIT, see LICENSE.*.

Made by Dashie .