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.
 
 
 
 
 
 
squeaky otter 9e37fdfe0a
Linter
3 years ago
cmd Linter 3 years ago
conf Can import blog posts; Fix viewing when not logged in 3 years ago
context Switch from Clog to Logrus 3 years ago
integrations dsfjdsfjdsflkjdsfkdsfjowif 3 years ago
locale Update translations; More template updates 3 years ago
models Can import blog posts; Fix viewing when not logged in 3 years ago
routers Can import blog posts; Fix viewing when not logged in 3 years ago
setting happy now ? 3 years ago
static Updated from datetimepicker to tempusdominus; Fixed kk->HH (???) 3 years ago
stuff Switch from Clog to Logrus 3 years ago
templates Fix integrations and reactivate them 3 years ago
vendor Update vendors 3 years ago
.bra.toml Fix checkbox issue 3 years ago
.drone.yml Fix integrations and reactivate them 3 years ago
.gitignore s/myapp/bleurg/ 3 years ago
Gopkg.lock Update vendors 3 years ago
Gopkg.toml Switch from Clog to Logrus 3 years ago
LICENSE Initial base app import 4 years ago
LICENSE.gogs Update from current git.txt 3 years ago
Makefile Make test now check fmt 3 years ago
README.md Can import blog posts; Fix viewing when not logged in 3 years ago
TODO TODO 3 years ago
bleurg.go Can import blog posts; Fix viewing when not logged in 3 years ago
bleurg.pot Update translations; More template updates 3 years ago
updatepo.sh Update to use another i18n lib backed with Gettext 3 years 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 <dashie @ otter . sh>.