An open API service indexing awesome lists of open source software.

https://github.com/writefreely/wf-migrate

Tools for migrating between WriteFreely instances.
https://github.com/writefreely/wf-migrate

writeas writefreely

Last synced: about 2 months ago
JSON representation

Tools for migrating between WriteFreely instances.

Awesome Lists containing this project

README

        

# wf-migrate

[![GoDoc](https://pkg.go.dev/badge/github.com/writefreely/wf-migrate?status.svg)](https://pkg.go.dev/github.com/writefreely/wf-migrate)

wf-migrate provides helper functions and a command-line utility for migrating posts between [WriteFreely](https://writefreely.org) instances.

## Command-line

Install the command-line utility with:

```
go install github.com/writefreely/wf-migrate/cmd/wfimport
```

`wfimport` takes a username `-u`, optional WriteFreely instance hostname `-h`, and the filename of the JSON data you want to import.

By default, `wfimport` publishes posts to [Write.as](https://write.as):

```
wfimport -u username exported-data.json
```

But you can also supply another WriteFreely instance to import to:

```
wfimport -u username -h pencil.writefree.ly exported-data.json
```