Migrated from github.com/shafiqalibhai/Note-Station-to-markdown
  • Python 66.3%
  • QML 22.8%
  • Dockerfile 10.9%
Find a file
2026-04-27 22:38:48 +00:00
Dockerfile Add Dockerfile: Python 3 image for nsx2md.py converter 2026-04-27 22:38:48 +00:00
import-tag-to-QON.qml Add files via upload 2017-04-27 22:48:26 +03:00
LICENSE Initial commit 2017-04-23 13:47:54 +03:00
nsx2md.py Update nsx2md.py 2017-09-18 14:30:39 +01:00
README.md Update README with comprehensive project information 2026-04-27 20:38:32 +00:00

Note-Station-to-markdown

Overview

This script will convert notes from Synology Note Station to plain-text markdown notes. The script is written in Python and should work on any desktop platform. It's tested on Linux and Windows 7.

Detected project type: Python.

This repository was migrated from upstream source github.com/shafiqalibhai/Note-Station-to-markdown and is preserved here for archival, reference, or continued local development.

At a glance

  • Default branch: master
  • Visibility: public
  • Size: 46 KB
  • Created: 2026-04-27
  • Last updated: 2026-04-27
  • Stars / Forks / Open issues: 0 / 0 / 0
  • License: Apache-2.0

Languages

Language Bytes Share
Python 3,403 bytes 74.4%
QML 1,169 bytes 25.6%

Repository structure

  • import-tag-to-QON.qml (1,169 B)
  • LICENSE (11,357 B)
  • nsx2md.py (3,403 B)
  • README.md (2,705 B)

Getting started

Clone the repository:

git clone https://forgejo.deployview.com/ssa/Note-Station-to-markdown.git
cd Note-Station-to-markdown

Installation

python3 -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt

Usage

Invoke the main entry point:

python3 main.py    # or the appropriate module

Original README

The content below is preserved from the previous README. Headings have been demoted so they don't compete with the new top-level sections.

This script will convert notes from Synology Note Station to plain-text markdown notes. The script is written in Python and should work on any desktop platform. It's tested on Linux and Windows 7.

After conversion you will get:

  1. Directories named like exported notebooks;
  2. Notes in those directories as markdown-syntax plain text files with all in-line images in-place;
  3. Assigned tags and links to attachments at the beggining of note text;
  4. All images and attached files in media sub-directories inside notebook directories.

Installation

  1. The script requires Python 3 Interpreter and pandoc installed on your system. Get the install package or use the package manager of your OS.
  2. Put nsx2md.py to the directory, where you want to convert notes.
  3. (Linux only, optional) Give nsx2md.py execute permission.

Usage

  1. Export your Synology Note Station notebooks by: Setting -> Import and Export -> Export. You will get .nsx file.
  2. Adjust .nsx file permission if required. Mine was readable only by owner user.
  3. Copy .nsx file(s) to the directory where you've put nsx2md.py.
  4. Run nsx2md.py or python nsx2md.py to convert all .nsx files in the directory. It won't delete them.
    ... or run nsx2md.py path/to/export.nsx to convert a specific file. Converted notes will appear where the file is.

That means nsx2md.py can be located anywhere if you specify the file you want to convert.

Optional settings

Inside the script you can make some adjustments to the link format for local files. Default is file://media/file.jpg which is used by QOwnNotes and mostly works with other markdown editors.

For QOwnNotes users

Tag data that nsx2md.py puts to note text can be imported to QOwnNotes:

  1. Enable provided import-tag-to-QON.qml script in QOwnNotes (Note -> Settings -> Scripting);
  2. Add nsx2md.py generated directories as "note folders";
  3. Go through all notes (open each note) for import-tag-to-QON.qml script to import their tags.
  4. Disable import-tag-to-QON.qml script, so it won't missfire when you'll want to start line with Tags: in your note.

Known issues

Sometimes nsx2md.py may write to console that it can't find an attachment of some notes. In my case that was because the attached file was missing from the .nsx file. Note Station just haven't exported it for a reason not known to me.
The nsx2md.py will tell missing attachment name and a name of note which had it attached, so you can resolve it manually. It will also give the link to missing attachments NOT FOUND name.

Contributing

Contributions are welcome. The typical workflow is:

  1. Open an issue describing the change you'd like to make.
  2. Fork the repository (or create a feature branch if you have write access).
  3. Commit your changes with clear, descriptive messages.
  4. Open a pull request against the master branch.

Please follow the existing code style and include tests or reproduction steps where relevant.

License

This project is licensed under the Apache-2.0 license. See the LICENSE file for the full text.

Repository

  • Browse: https://forgejo.deployview.com/ssa/Note-Station-to-markdown
  • Clone (HTTPS): https://forgejo.deployview.com/ssa/Note-Station-to-markdown.git
  • Clone (SSH): ssh://git@forgejo.deployview.com:30143/ssa/Note-Station-to-markdown.git
  • Upstream / origin: github.com/shafiqalibhai/Note-Station-to-markdown

This README was generated automatically based on repository metadata, contents, and any prior README content. Edit any section above to add project-specific detail.