Skip to content

chris-sanders/outline-importer

ย 
ย 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

10 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ”Œ outline-importer

What's Outline

An open, extensible, wiki for your team built using React and Node.js.

What's outline-importer

outline-importer is a simple tool to import documents from markdown files.

Usage

Make sure your Directory Structure like this(This directory structure is consistent with the export from Outline)

| - wiki_dir
|      | - dir1
|      |    | - doc1.md
|      |    | - doc2.md
|      |
|      | - dir2
|           | - doc3.md
|           | - doc3
|                | - doc4.md
|                | - doc5.md

In the above example, Importer will create two collections: dir1 and dir2, the document doc4.mdใ€doc5.md will become a sub-document of doc3.

git clone:

git clone https://github.com/Coderhypo/outline-importer.git

run to import

pip install requests
python3 cli.py --server SERVER --token TOKEN --dir DIR_PATH

such as:

python cli.py --server http://localhost:3000/ --token JmDYPAHAKiGpMB9KJbWkIHkFSfv0RQX5oNpRgh --dir /Users/hypo/outline

Bug report

If you are having trouble using it, please create an issue.๐Ÿ˜Š

TODO

  1. Add tests
  2. Use the docker image to handle no python environment

About

๐Ÿ”Œ Import markdown documents to outline

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%