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

Fixing website

This commit is contained in:
Laurent Cozic 2017-07-31 19:57:17 +00:00
parent f1ffee805e
commit 68a9d37e22
2 changed files with 4 additions and 310 deletions

View File

@ -91,8 +91,8 @@ const headerHtml = `
<div class="container">
<div class="header">
<a class="forkme" href="https://github.com/laurent22/joplin"><img src="images/ForkMe.png"/></a>
<h1 id="joplin"><img class="title-icon" src="images/Icon512.png">oplin</h1>
<a class="forkme" href="https://github.com/laurent22/joplin"><img src="docs/images/ForkMe.png"/></a>
<h1 id="joplin"><img class="title-icon" src="docs/images/Icon512.png">oplin</h1>
<p class="sub-title">A free, open source, note taking and todo application with synchronisation capabilities.</p>
</div>
@ -117,7 +117,7 @@ const screenshotHtml = `
</tr>
<tr>
<td>
<img class="mobile-screenshot" src="images/Mobile.png"/>
<img class="mobile-screenshot" src="docs/images/Mobile.png"/>
</td>
<td class="cli-screenshot-wrapper">
<pre class="cli-screenshot">
@ -141,7 +141,6 @@ const screenshotHtml = `
`;
const rootDir = dirname(dirname(__dirname));
const docDir = rootDir + '/docs';
function markdownToHtml(md) {
const renderer = new marked.Renderer();
@ -164,7 +163,7 @@ async function main() {
const md = fs.readFileSync(rootDir + '/README.md', 'utf8');
const html = markdownToHtml(md);
fs.writeFileSync(docDir + '/index.html', html);
fs.writeFileSync(rootDir + '/index.html', html);
}
main().catch((error) => {

View File

@ -1,305 +0,0 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<style>
body {
background-color: #F1F1F1;
color: #333333;
}
.title-icon {
height: 2em;
}
.sub-title {
font-weight: bold;
font-size: 1.5em;
}
.container {
background-color: white;
padding: 0;
box-shadow: 0 10px 20px #888888;
}
table.screenshots {
margin-top: 2em;
margin-bottom: 2em;
}
table.screenshots th {
height: 3em;
text-align: center;
}
table.screenshots th,
table.screenshots td {
border: 1px solid #C2C2C2;
}
.mobile-screenshot {
height: 40em;
padding: 1em;
}
.cli-screenshot-wrapper {
background-color: black;
vertical-align: top;
padding: 1em 2em 1em 1em;
}
.cli-screenshot {
font-family: "Monaco", "Inconsolata", "CONSOLAS", "Deja Vu Sans Mono", "Droid Sans Mono", "Andale Mono", monospace;
background-color: black;
color: white;
border: none;
}
.cli-screenshot .prompt {
color: #48C2F0;
}
h1 {
font-weight: bold;
}
.header {
position: relative;
padding-left: 2em;
padding-right: 2em;
padding-top: 1em;
padding-bottom: 1em;
color: white;
background-color: #2B2B3D;
}
.content {
padding-left: 2em;
padding-right: 2em;
padding-bottom: 2em;
}
.forkme {
position: absolute;
right: 0;
top:0;
}
</style>
</head>
<body>
<div class="container">
<div class="header">
<a class="forkme" href="https://github.com/laurent22/joplin"><img src="images/ForkMe.png"/></a>
<h1 id="joplin"><img class="title-icon" src="images/Icon512.png">oplin</h1>
<p class="sub-title">A free, open source, note taking and todo application with synchronisation capabilities.</p>
</div>
<div class="content">
<table class="screenshots">
<tr>
<th>
Mobile
</th>
<th>
Command line
</th>
</tr>
<tr>
<td>
<img class="mobile-screenshot" src="images/Mobile.png"/>
</td>
<td class="cli-screenshot-wrapper">
<pre class="cli-screenshot">
<span class="prompt">joplin:/My notebook$</span> ls -n 12
[ ] 8am conference call ☎
[ ] Make vet appointment
[ ] Go pick up parcel
[ ] Pay flat rent 💸
[X] Book ferry 🚢
[X] Deploy Joplin app
Open source stuff
Swimming pool time table 🏊
Grocery shopping list 📝
Work itinerary
Tuesday random note
Vacation plans ☀️
</pre>
</td>
</tr>
</table>
<p>Joplin is a free, open source note taking and todo application, which can handle a large number of notes organised into notebooks. The notes are searchable, can be copied, tagged and modified with your own text editor. The Android application supports markdown rendering.</p>
<p>The notes can be synchronised 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.</p>
<p>Notes exported from Evenotes via .enex files can be imported into Joplin, including the formatted content (which is converted to markdown), resources (images, attachments, etc.) and complete metadata (geolocation, updated time, created time, etc.).</p>
<p>The current release has been heavily tested so it should be stable enough for every day use. Some features however are missing such as the ability to attach resources to notes and (in the mobile app) to tag notes. For the full list of current and planned features see the Features and Roadmap sections below.</p>
<h1 id="install">Install</h1>
<p>An Android app and a command line interface are currently available:</p>
<h2 id="android">Android</h2>
<p><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="100px" src='https://play.google.com/intl/en_us/badges/images/generic/en_badge_web_generic.png'/></a></p>
<h2 id="command-line">Command line</h2>
<pre><code>npm install joplin
</code></pre><h1 id="features">Features</h1>
<ul>
<li>Mobile and command line applications.</li>
<li>Support notes, todos, tags and notebooks.</li>
<li>Offline first, so the entire data is always available on the device.</li>
<li>Ability to synchronise with multiple targets, including the file system and OneDrive (Dropbox is planned).</li>
<li>Synchronises to a plain text format, which can be easily manipulated, backed up, or exported to a different format.</li>
<li>Plain text notes, which are rendered as markdown in the mobile application.</li>
<li>Tag support (currently, tags can be imported from Evernote and modified in the CLI application, but not yet in the mobile one)</li>
<li>File attachment support (likewise, all file attachements can be imported from Evernote but currently cannot be manually added to a note)</li>
<li>Search functionality.</li>
<li>Geolocation support.</li>
<li>Supports multiple languages.</li>
</ul>
<h1 id="localisation">Localisation</h1>
<p>The applications are currently available in English and French. If you would like to contribute a translation it is quite straightforward, please follow these steps:</p>
<ul>
<li>Download Poedit, the translation editor, and install it: <a href="https://poedit.net/">https://poedit.net/</a></li>
<li>Download the file to be translated: <a href="https://raw.githubusercontent.com/laurent22/joplin/master/CliClient/locales/joplin.pot">https://raw.githubusercontent.com/laurent22/joplin/master/CliClient/locales/joplin.pot</a></li>
<li>In Poedit, open this .pot file, go into the Catalog menu and click Configuration. Change &quot;Country&quot; and &quot;Language&quot; to your own country and language.</li>
<li>From then you can translate the file. Once it&#39;s done, please send the file to <a href="https://raw.githubusercontent.com/laurent22/joplin/master/Assets/Adresse.png">this address</a>.</li>
</ul>
<h1 id="roadmap">Roadmap</h1>
<ul>
<li>All clients: End to end encryption.</li>
<li>All clients: Support for Dropbox synchronisation.</li>
<li>Mobile: Compile Windows app?</li>
<li>Mobile: Support for dark theme / light theme.</li>
<li>Mobile: Link for non-image resources.</li>
<li>Mobile: Handle tags.</li>
<li>Mobile: Markdown edition support</li>
<li>CLI: Option to open conflicts with diff program.</li>
<li>CLI: Link to open resources (images, attached files, etc).</li>
<li>CLI: Improve autocompletion.</li>
</ul>
<h1 id="command-line-usage">Command line usage</h1>
<p>Joplin can work either as an interactive CLI application or, if a command is provided to the executable, as a one-off command.</p>
<p>For example, this would start the CLI application, from where commands can be ran interactively.</p>
<pre><code>joplin
</code></pre><p>While this would create a new note and exit:</p>
<pre><code>joplin mknote &quot;my new note&quot;
</code></pre><h2 id="full-commands-">Full commands:</h2>
<pre><code>cat &lt;title&gt;
Displays the given note.
-v, --verbose Displays the complete information about note.
config [name] [value]
Gets or sets a config value. If [value] is not provided, it will show
the value of [name]. If neither [name] nor [value] is provided, it
will list the current configuration.
-v, --verbose Also displays hidden config variables.
cp &lt;pattern&gt; [notebook]
Duplicates the notes matching &lt;pattern&gt; to [notebook]. If no notebook
is specified the note is duplicated in the current notebook.
edit &lt;title&gt;
Edit note.
geoloc &lt;title&gt;
Displays a geolocation URL for the note.
import-enex &lt;file&gt; [notebook]
Imports an Evernote notebook file (.enex file).
-f, --force Do not ask for confirmation.
--fuzzy-matching For debugging purposes. Do not use.
ls [pattern]
Displays the notes in [notebook]. Use `ls /` to display the list of
notebooks.
-n, --limit &lt;num&gt; Displays only the first top &lt;num&gt; notes.
-s, --sort &lt;field&gt; Sorts the item by &lt;field&gt; (eg. title,
updated_time, created_time).
-r, --reverse Reverses the sorting order.
-t, --type &lt;type&gt; Displays only the items of the specific
type(s). Can be `n` for notes, `t` for todos,
or `nt` for notes and todos (eg. `-tt` would
display only the todos, while `-ttd` would
display notes and todos.
-f, --format &lt;format&gt; Either &quot;text&quot; or &quot;json&quot;
-l, --long Use long list format. Format is ID, NOTE_COUNT
(for notebook), DATE, TODO_CHECKED (for todos),
TITLE
mkbook &lt;notebook&gt;
Creates a new notebook.
mknote &lt;note&gt;
Creates a new note.
mktodo &lt;note&gt;
Creates a new todo.
mv &lt;pattern&gt; &lt;destination&gt;
Moves the notes matching &lt;pattern&gt; to &lt;destination&gt;. If &lt;pattern&gt; is a
note, it will be moved to the notebook &lt;destination&gt;. If &lt;pattern&gt; is
a notebook, it will be renamed to &lt;destination&gt;.
rm &lt;pattern&gt;
Deletes the items matching &lt;pattern&gt;.
-f, --force Deletes the items without asking for confirmation.
-r, --recursive Deletes a notebook.
search &lt;pattern&gt; [notebook]
Searches for the given &lt;pattern&gt; in all the notes.
set &lt;note&gt; &lt;name&gt; [value]
Sets the property &lt;name&gt; of the given &lt;note&gt; to the given [value].
status
Displays summary about the notes and notebooks.
sync
Synchronises with remote storage.
--target &lt;target&gt; Sync to provided target (defaults to sync.target
config value)
--random-failures For debugging purposes. Do not use.
tag &lt;command&gt; [tag] [note]
&lt;command&gt; can be &quot;add&quot;, &quot;remove&quot; or &quot;list&quot; to assign or remove [tag]
from [note], or to list the notes associated with [tag]. The command
`tag list` can be used to list all the tags.
todo &lt;action&gt; &lt;pattern&gt;
&lt;action&gt; can either be &quot;toggle&quot; or &quot;clear&quot;. Use &quot;toggle&quot; to toggle the
given todo between completed and uncompleted state (If the target is a
regular note it will be converted to a todo). Use &quot;clear&quot; to convert
the todo back to a regular note.
toggle &lt;pattern&gt;
Toggles the given todo between completed and uncompleted. If the
target is not a single note it will be converted to a todo.
use &lt;notebook&gt;
Switches to [notebook] - all further operations will happen within
this notebook.
version
Displays version information
</code></pre>
<hr/>Copyright (c) 2017 Laurent Cozic
</body>
</html>