https://github.com/tnlx/agenex
A CLI tool to convert .agenda to .enex
https://github.com/tnlx/agenex
agenda enex evernote
Last synced: 6 months ago
JSON representation
A CLI tool to convert .agenda to .enex
- Host: GitHub
- URL: https://github.com/tnlx/agenex
- Owner: tnlx
- License: mit
- Created: 2022-03-21T09:23:59.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-05-23T03:36:53.000Z (over 3 years ago)
- Last Synced: 2025-02-07T17:29:47.519Z (8 months ago)
- Topics: agenda, enex, evernote
- Language: Go
- Homepage:
- Size: 86.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# agenex
[](LICENSE.md)
Script to convert .agenda (apple [agenda](https://www.agenda.com/) notebook export) to .enex ([evernote](https://evernote.com/) notebook export)
## Supported objects & styles
Item|Converted
|--|--|
Text|✅
List|✅
**Embedded objects**|
0: Hashtag|Plain text with # prefix
1: Mention|Plain text with @ prefix
2:|Plain text
3:|Plain text
4:|Plain text
5: Hyperlink|✅
6: Agenda internal link to other note|❌
7: Attachment|✅
8:|Plain text
9: Action list|Plain text## Specs
### .agenda
Zip archive with following structure
```
.agenda
├── Archive
│ ├── Attachments
│ │ ├── *
│ ├── Data.json
```### .enex
XML format. Official sample [here](https://gist.github.com/evernotegists/6116886)## Development
### Generate extension-to-mime mappings
Run `make gen` to generate extension-to-mime mappings into `mmap.go` to be used in main module.
Alternatively,
```sh
go run ./mmap ./mmap/mime.types > mmap.go
go fmt .
```### Build binaries
Run `make all` to build binaries (see [Makefile](Makefile))
## Usage
Run `./bin/agenex input_folder output_folder` to convert all `.agenda` in input_folder to `.enex` in output_folder