You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Convert Android **FastNotepad** exports into **Obsidian-ready Markdown** (one note per file).
4
9
5
10
- One note per `.md` file
6
-
- Optional category folders
7
-
- Optional Obsidian tags
8
-
- Optional YAML front matter
9
-
- Handles the FastNotepad export quirk where the **preview** lives in the `index` block, while the **full note body** is stored separately as `_<id>` keys.
11
+
- Optional category folders (`--by-category`)
12
+
- Optional Obsidian tags (`--tag`)
13
+
- Optional YAML front matter (default) or plain Markdown (`--no-frontmatter`)
14
+
- Handles the FastNotepad export quirk where the **preview** lives in the `index` block, while the **full note body** is stored separately as `_<id>` keys
-`json_block_1` contains `index` with `^!` note records
98
-
- Later blocks contain the full texts keyed as `_<id>`
99
-
- If your app uses a different format, open an issue with a **sanitized** snippet.
131
+
## Troubleshooting
132
+
133
+
-**`JSONDecodeError: Extra data`**: Your export has multiple blocks / trailing content. This tool extracts and merges JSON blocks separated by `{[!*|@]}`.
134
+
-**Some notes remain short**: Those notes may not have a corresponding `_<id>` full-text entry in the export. The tool will fall back to the preview text from the `index` block.
135
+
-**Weird characters**: rerun with `--encoding ...` (e.g. `latin-1`, `utf-16`).
136
+
137
+
## Contributing
138
+
139
+
PRs and format samples are welcome.
140
+
141
+
If you open an issue because your export differs, please include:
142
+
- the app name + version
143
+
- a **sanitized** export snippet (header + one note record + the `_<id>` mapping)
144
+
- the exact command you ran and the output
100
145
101
146
## Development
102
147
@@ -107,6 +152,11 @@ pip install -e .[dev]
107
152
pytest
108
153
```
109
154
155
+
## Roadmap (on purpose)
156
+
157
+
- Improve slugging/filename templates
158
+
- More resilient format detection if FastNotepad changes the export structure
0 commit comments