1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-11-27 08:21:03 +02:00
joplin/README.md

139 lines
13 KiB
Markdown
Raw Normal View History

2017-10-29 17:41:30 +02:00
# Joplin
2017-11-26 21:38:05 +02:00
Joplin is a free, open source note taking and to-do application, which can handle a large number of notes organised into notebooks. The notes are searchable, can be copied, tagged and modified either from the applications directly or from your own text editor. The notes are in [Markdown format](https://daringfireball.net/projects/markdown/basics).
2017-11-26 21:38:05 +02:00
Notes exported from Evernote via .enex files [can be imported](#importing-notes-from-evernote) into Joplin, including the formatted content (which is converted to Markdown), resources (images, attachments, etc.) and complete metadata (geolocation, updated time, created time, etc.).
The notes can be [synchronised](#synchronisation) with various targets including the file system (for example with a network directory) or with Microsoft OneDrive. When synchronising the notes, notebooks, tags and other metadata are saved to plain text files which can be easily inspected, backed up and moved around.
2017-11-17 23:29:49 +02:00
Joplin is still under development but is out of Beta and should be suitable for every day use. The UI of the terminal client is built on top of the great [terminal-kit](https://github.com/cronvel/terminal-kit) library, the desktop client using [Electron](https://electronjs.org/), and the Android client front end is done using [React Native](https://facebook.github.io/react-native/).
2017-11-16 13:37:46 +02:00
<div class="top-screenshot"><img src="https://raw.githubusercontent.com/laurent22/joplin/master/docs/images/AllClients.jpg" style="max-width: 100%; max-height: 35em;"></div>
2017-10-29 17:41:30 +02:00
2017-10-29 01:31:51 +02:00
# Installation
2017-11-26 21:38:05 +02:00
Three types of applications are available: for the **desktop** (Windows, macOS and Linux), for **mobile** (Android and iOS) and for **terminal** (Windows, macOS and Linux). All applications have similar user interfaces and can synchronise with each others.
2017-10-29 01:31:51 +02:00
2017-11-16 13:37:46 +02:00
## Desktop applications
2017-10-29 17:41:30 +02:00
Operating System | Download
2017-11-17 21:05:12 +02:00
-----------------|--------
2017-12-01 11:57:32 +02:00
Windows | <a href='https://github.com/laurent22/joplin/releases/download/v0.10.31/Joplin-Setup-0.10.31.exe'><img alt='Get it on Windows' height="40px" src='https://raw.githubusercontent.com/laurent22/joplin/master/docs/images/BadgeWindows.png'/></a>
macOS | <a href='https://github.com/laurent22/joplin/releases/download/v0.10.31/Joplin-0.10.31.dmg'><img alt='Get it on macOS' height="40px" src='https://raw.githubusercontent.com/laurent22/joplin/master/docs/images/BadgeMacOS.png'/></a>
Linux | <a href='https://github.com/laurent22/joplin/releases/download/v0.10.31/Joplin-0.10.31-x86_64.AppImage'><img alt='Get it on macOS' height="40px" src='https://raw.githubusercontent.com/laurent22/joplin/master/docs/images/BadgeLinux.png'/></a>
2017-10-29 01:31:51 +02:00
2017-11-16 13:37:46 +02:00
## Mobile applications
2017-10-29 01:31:51 +02:00
Operating System | Download
2017-11-17 21:05:12 +02:00
-----------------|--------
Android | <a href='https://play.google.com/store/apps/details?id=net.cozic.joplin&utm_source=GitHub&utm_campaign=README&pcampaignid=MKT-Other-global-all-co-prtnr-py-PartBadge-Mar2515-1'><img alt='Get it on Google Play' height="40px" src='https://raw.githubusercontent.com/laurent22/joplin/master/docs/images/BadgeAndroid.png'/></a>
2017-11-21 21:05:59 +02:00
iOS | <a href='https://itunes.apple.com/us/app/joplin/id1315599797'><img alt='Get it on the App Store' height="40px" src='https://raw.githubusercontent.com/laurent22/joplin/master/docs/images/BadgeIOS.png'/></a>
2017-10-29 01:31:51 +02:00
2017-11-16 13:37:46 +02:00
## Terminal application
On macOS, Linux or Windows (via [WSL](https://msdn.microsoft.com/en-us/commandline/wsl/faq?f=255&MSPPError=-2147217396)), type:
npm install -g joplin
2017-12-01 15:06:26 +02:00
**IMPORTANT: Node v8+ is required**
2017-11-16 13:37:46 +02:00
2017-11-26 21:38:05 +02:00
If the application does not install due to permission issues, please make sure that your global npm permissions are correct by following the instructions [here](https://docs.npmjs.com/getting-started/fixing-npm-permissions).
2017-11-16 13:37:46 +02:00
To start it, type `joplin`.
2017-11-17 21:05:12 +02:00
For usage information, please refer to the full [Joplin Terminal Application Documentation](http://joplin.cozic.net/terminal).
2017-10-29 17:41:30 +02:00
2017-11-13 15:36:07 +02:00
# Features
2017-10-29 01:31:51 +02:00
2017-11-16 13:37:46 +02:00
- Desktop, mobile and terminal applications.
2017-10-30 02:37:34 +02:00
- Support notes, to-dos, tags and notebooks.
2017-11-16 13:37:46 +02:00
- Offline first, so the entire data is always available on the device even without an internet connection.
- Ability to synchronise with multiple targets, including the file system and OneDrive (NextCloud and Dropbox are planned).
2017-10-29 01:31:51 +02:00
- Synchronises to a plain text format, which can be easily manipulated, backed up, or exported to a different format.
2017-11-26 21:38:05 +02:00
- Markdown notes, which are rendered with images and formatting in the desktop and mobile applications.
2017-10-29 17:41:30 +02:00
- Tag support
2017-11-17 21:05:12 +02:00
- File attachment support (images are displayed, and other files are linked and can be opened in the relevant application).
2017-10-29 01:31:51 +02:00
- Search functionality.
2017-10-29 22:40:53 +02:00
- Geo-location support.
2017-11-17 21:05:12 +02:00
- Supports multiple languages
2017-10-29 01:31:51 +02:00
# Importing notes from Evernote
2017-10-29 22:40:53 +02:00
Joplin was designed as a replacement for Evernote and so can import complete Evernote notebooks, as well as notes, tags, resources (attached files) and note metadata (such as author, geo-location, etc.) via ENEX files. In terms of data, the only two things that might slightly differ are:
- Recognition data - Evernote images, in particular scanned (or photographed) documents have [recognition data](https://en.wikipedia.org/wiki/Optical_character_recognition) associated with them. It is the text that Evernote has been able to recognise in the document. This data is not preserved when the note are imported into Joplin. However, should it become supported in the search tool or other parts of Joplin, it should be possible to regenerate this recognition data since the actual image would still be available.
2017-10-29 01:31:51 +02:00
2017-11-30 23:23:04 +02:00
- Colour, font sizes and faces - Evernote text is stored as HTML and this is converted to Markdown during the import process. For notes that are mostly plain text or with basic formatting (bold, italic, bullet points, links, etc.) this is a lossless conversion, and the note, once rendered back to HTML should be very similar. Tables are also imported and converted to Markdown tables. For very complex notes, some formatting data might be lost - in particular colours, font sizes and font faces will not be imported. The text itself however is always imported in full regardless of formatting.
2017-10-29 01:31:51 +02:00
2017-11-26 21:38:05 +02:00
To import Evernote data, first export your Evernote notebooks to ENEX files as described [here](https://help.evernote.com/hc/en-us/articles/209005557-How-to-back-up-export-and-restore-import-notes-and-notebooks). Then follow these steps:
2017-11-16 13:37:46 +02:00
2017-11-26 21:38:05 +02:00
On the **desktop application**, open the "File" menu, click "Import Evernote notes" and select your ENEX file. This will open a new screen which will display the import progress. The notes will be imported into a new separate notebook (so that, in case of a mistake, the notes are not mixed up with any existing notes). If needed then can then be moved to a different notebook, or the notebook can be renamed, etc.
2017-11-16 13:37:46 +02:00
2017-11-26 21:39:12 +02:00
On the **terminal application**, in [command-line mode](/terminal#command-line-mode), type `import-enex /path/to/file.enex`. This will import the notes into a new notebook named after the filename.
2017-10-29 01:31:51 +02:00
2017-10-29 23:19:37 +02:00
# Synchronisation
2017-10-29 01:31:51 +02:00
2017-10-31 01:56:56 +02:00
One of the goals of Joplin was to avoid being tied to any particular company or service, whether it is Evernote, Google or Microsoft. As such the synchronisation is designed without any hard dependency to any particular service. Most of the synchronisation process is done at an abstract level and access to external services, such as OneDrive or Dropbox, is done via lightweight drivers. It is easy to support new services by creating simple drivers that provide a filesystem-like interface, i.e. the ability to read, write, delete and list items. It is also simple to switch from one service to another or to even sync to multiple services at once. Each note, notebook, tags, as well as the relation between items is transmitted as plain text files during synchronisation, which means the data can also be moved to a different application, can be easily backed up, inspected, etc.
2017-10-31 01:46:22 +02:00
Currently, synchronisation is possible with OneDrive (by default) or the local filesystem. A NextCloud driver, and a Dropbox one will also be available once [this React Native bug](https://github.com/facebook/react-native/issues/14445) is fixed. When syncing with OneDrive, Joplin creates a sub-directory in OneDrive, in /Apps/Joplin and read/write the notes and notebooks from it. The application does not have access to anything outside this directory.
2017-10-31 01:46:22 +02:00
2017-11-26 21:38:05 +02:00
On the **desktop application**, to initiate the synchronisation process, click on the "Synchronise" button in the sidebar. You will be asked to login to OneDrive to authorise the application (simply input your Microsoft credentials - you do not need to register with OneDrive). After that, the application will synchronise in the background whenever it is running, or you can click on "Synchronise" to start a synchronisation manually.
2017-10-29 01:31:51 +02:00
2017-11-26 21:38:05 +02:00
On the **terminal application**, to initiate the synchronisation process, type `:sync`. You will be asked to follow a link to authorise the application (simply input your Microsoft credentials - you do not need to register with OneDrive). After that, the application will synchronise in the background whenever it is running. It is possible to also synchronise outside of the user interface by typing `joplin sync` from the terminal. This can be used to setup a cron script to synchronise at regular interval. For example, this would do it every 30 minutes:
2017-10-29 01:31:51 +02:00
2017-11-16 13:37:46 +02:00
*/30 * * * * /path/to/joplin sync
2017-10-29 01:31:51 +02:00
# Attachments / Resources
2017-11-18 00:12:30 +02:00
Any kind of file can be attached to a note. In Markdown, links to these files are represented as a simple ID to the resource. In the note viewer, these files, if they are images, will be displayed or, if they are other files (PDF, text files, etc.) they will be displayed as links. Clicking on this link will open the file in the default application.
2017-10-29 01:31:51 +02:00
# Notifications
On the desktop and mobile apps, an alarm can be associated with any to-do. It will be triggered at the given time by displaying a notification. How the notification will be displayed depends on the operating system since each has a different way to handle this. Please see below for the requirements for the desktop applications:
- **Windows**: >= 8. Make sure the Action Center is enabled on Windows. Task bar balloon for Windows < 8. Growl as fallback. Growl takes precedence over Windows balloons.
- **macOS**: >= 10.8 or Growl if earlier.
- **Linux**: `notify-osd` or `libnotify-bin` installed (Ubuntu should have this by default). Growl otherwise
See [documentation and flow chart for reporter choice](./DECISION_FLOW.md)
On mobile, the alarms will be displayed using the built-in notification system.
If for any reason the notifications do not work, please [open an issue](https://github.com/laurent22/joplin/issues).
2017-10-29 01:31:51 +02:00
# Localisation
2017-11-30 22:30:01 +02:00
Joplin is currently available in English, French and Spanish. If you would like to contribute a translation, it is quite straightforward, please follow these steps:
2017-10-29 01:31:51 +02:00
2017-10-29 22:40:53 +02:00
- [Download Poedit](https://poedit.net/), the translation editor, and install it.
- [Download the file to be translated](https://raw.githubusercontent.com/laurent22/joplin/master/CliClient/locales/joplin.pot).
2017-10-29 01:31:51 +02:00
- In Poedit, open this .pot file, go into the Catalog menu and click Configuration. Change "Country" and "Language" to your own country and language.
2017-11-30 23:18:48 +02:00
- From then you can translate the file. Once it is done, please either [open a pull request](https://github.com/laurent22/joplin/pulls) or send the file to [this address](https://raw.githubusercontent.com/laurent22/joplin/master/Assets/Adresse.png).
2017-10-29 22:40:53 +02:00
2017-11-26 21:38:05 +02:00
This translation will apply to the three applications - desktop, mobile and terminal.
2017-10-29 01:31:51 +02:00
2017-11-18 00:12:30 +02:00
# Coming features
- NextCloud support
- All: End to end encryption
- Windows: Tray icon
- Desktop apps: Tag auto-complete
- Desktop apps: Dark theme
- Linux: Enable auto-update for desktop app
2017-11-18 00:12:30 +02:00
2017-10-31 00:43:11 +02:00
# Known bugs
2017-11-16 13:37:46 +02:00
- Non-alphabetical characters such as Chinese or Arabic might create glitches in the terminal on Windows. This is a limitation of the current Windows console.
- Auto-update is not working in the Linux desktop application.
2017-11-26 21:38:05 +02:00
- While the mobile can sync and load tags, it is not currently possible to create new ones. The desktop and terminal apps can create, delete and edit tags.
2017-10-31 00:43:11 +02:00
2017-10-29 01:31:51 +02:00
# License
Copyright (c) 2016-2017 Laurent Cozic
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
2017-11-13 15:36:07 +02:00
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.