{"id":15722168,"url":"https://github.com/dogsheep/evernote-to-sqlite","last_synced_at":"2025-05-01T01:53:02.242Z","repository":{"id":46277609,"uuid":"303218369","full_name":"dogsheep/evernote-to-sqlite","owner":"dogsheep","description":"Tools for converting Evernote content to SQLite","archived":false,"fork":false,"pushed_at":"2021-11-02T20:04:32.000Z","size":51,"stargazers_count":37,"open_issues_count":6,"forks_count":6,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-05-01T01:52:56.915Z","etag":null,"topics":["datasette-io","datasette-tool","dogsheep","evernote","sqlite"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dogsheep.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-10-11T21:45:49.000Z","updated_at":"2025-03-28T17:23:11.000Z","dependencies_parsed_at":"2022-08-17T15:11:02.550Z","dependency_job_id":null,"html_url":"https://github.com/dogsheep/evernote-to-sqlite","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dogsheep%2Fevernote-to-sqlite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dogsheep%2Fevernote-to-sqlite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dogsheep%2Fevernote-to-sqlite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dogsheep%2Fevernote-to-sqlite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dogsheep","download_url":"https://codeload.github.com/dogsheep/evernote-to-sqlite/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251810903,"owners_count":21647627,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["datasette-io","datasette-tool","dogsheep","evernote","sqlite"],"created_at":"2024-10-03T22:04:46.810Z","updated_at":"2025-05-01T01:53:02.222Z","avatar_url":"https://github.com/dogsheep.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# evernote-to-sqlite\n\n[![PyPI](https://img.shields.io/pypi/v/evernote-to-sqlite.svg)](https://pypi.org/project/evernote-to-sqlite/)\n[![Changelog](https://img.shields.io/github/v/release/dogsheep/evernote-to-sqlite?include_prereleases\u0026label=changelog)](https://github.com/dogsheep/evernote-to-sqlite/releases)\n[![Tests](https://github.com/dogsheep/evernote-to-sqlite/workflows/Test/badge.svg)](https://github.com/dogsheep/evernote-to-sqlite/actions?query=workflow%3ATest)\n[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://github.com/dogsheep/evernote-to-sqlite/blob/master/LICENSE)\n\nTools for converting Evernote content to SQLite. See [Building an Evernote to SQLite exporter](https://simonwillison.net/2020/Oct/16/building-evernote-sqlite-exporter/) for background on this project.\n\n## Installation\n\nInstall this tool using `pip`:\n\n    $ pip install evernote-to-sqlite\n\n## Usage\n\nCurrently the only available command is `evernote-to-sqlite enex`, which converts Evernote's ENEX export files into a SQLite database.\n\nYou can create [an ENEX export](https://help.evernote.com/hc/en-us/articles/209005557-Export-notes-and-notebooks-as-ENEX-or-HTML) in the Evernote desktop application by selecting some notes (or all of your notes) and using the `File -\u003e Export Notes...` menu option.\n\nThis used to be able to export everything in one go, but it looks like more recent Evernote versions only allow exporting up to fifty notes at a time, or let you export an entire notebook by right-clicking on the notebook and selecting \"Export notebook...\".\n\nYou can convert that file to SQLite like so:\n\n    $ evernote-to-sqlite enex evernote.db MyNotes.enex\n\nThis will display a progress bar and create a SQLite database file called `evernote.db`.\n\n### Limitations\n\nUnfortunately the ENEX export format does not include a unique identifier for each note. This means you cannot use this tool to re-import notes after they have been updated - you should consider this tool to be a one-time transformation of an ENEX file into an equivalent SQLite database.\n\nENEX exports also do not include details of which notebook a note belongs to.\n\n## Development\n\nTo contribute to this tool, first checkout the code. Then create a new virtual environment:\n\n    cd evernote-to-sqlite\n    python -mvenv venv\n    source venv/bin/activate\n\nOr if you are using `pipenv`:\n\n    pipenv shell\n\nNow install the dependencies and tests:\n\n    pip install -e '.[test]'\n\nTo run the tests:\n\n    pytest\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdogsheep%2Fevernote-to-sqlite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdogsheep%2Fevernote-to-sqlite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdogsheep%2Fevernote-to-sqlite/lists"}