- Python 66.3%
- QML 22.8%
- Dockerfile 10.9%
| Dockerfile | ||
| import-tag-to-QON.qml | ||
| LICENSE | ||
| nsx2md.py | ||
| README.md | ||
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:
- Directories named like exported notebooks;
- Notes in those directories as markdown-syntax plain text files with all in-line images in-place;
- Assigned tags and links to attachments at the beggining of note text;
- All images and attached files in
mediasub-directories inside notebook directories.
Installation
- The script requires Python 3 Interpreter and pandoc installed on your system. Get the install package or use the package manager of your OS.
- Put
nsx2md.pyto the directory, where you want to convert notes. - (Linux only, optional) Give
nsx2md.pyexecute permission.
Usage
- Export your Synology Note Station notebooks by: Setting -> Import and Export -> Export. You will get .nsx file.
- Adjust .nsx file permission if required. Mine was readable only by owner user.
- Copy .nsx file(s) to the directory where you've put
nsx2md.py. - Run
nsx2md.pyorpython nsx2md.pyto convert all .nsx files in the directory. It won't delete them.
... or runnsx2md.py path/to/export.nsxto 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:
- Enable provided
import-tag-to-QON.qmlscript in QOwnNotes (Note -> Settings -> Scripting); - Add
nsx2md.pygenerated directories as "note folders"; - Go through all notes (open each note) for
import-tag-to-QON.qmlscript to import their tags. - Disable
import-tag-to-QON.qmlscript, so it won't missfire when you'll want to start line withTags: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:
- Open an issue describing the change you'd like to make.
- Fork the repository (or create a feature branch if you have write access).
- Commit your changes with clear, descriptive messages.
- Open a pull request against the
masterbranch.
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.