Skip to content

Go library for PmWiki's PageFileFormat and a PmWiki-to-git converter with full history.

Notifications You must be signed in to change notification settings

oxzi/pmwiki-pagefileformat-go

Repository files navigation

PmWiki's PageFileFormat in Go

GoDoc CI

A somewhat overengineered programming library to handle PmWiki's PageFileFormat in Go. Revision history can also be evaluated to provide file progress information. Lexer and parser included.

pmwiki-to-git

Based on this library, the pmwiki-to-git program converts the PmWiki wiki.d directory into a git repository.

# Clone this repository and build the tool
git clone https://github.com/oxzi/pmwiki-pagefileformat-go
cd pmwiki-pagefileformat-go
go build ./cmd/pmwiki-to-git

# Create a new git repository
git init pmwiki-git

# Start the conversion
./pmwiki-to-git -pmwiki ~/pmwiki/wiki.d -git pmwiki-git

This may log some errors. But as long as the program does not abort, these are negligible. PmWiki is sometimes very quirky.

License

GNU GPLv3 or later.

About

Go library for PmWiki's PageFileFormat and a PmWiki-to-git converter with full history.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Languages