Skip to content

🐍 📚 Web application companion for Joplin

License

Notifications You must be signed in to change notification settings

lettore/joplin-web

 
 

Repository files navigation

Joplin Web

A Web application companion for JoplinApp

Joplin web

why that project ?

Because it may happened we need to access to JoplinApp without having access to our smartphone or the Joplin Desktop, and a Web Application could to the trick at a given moment.

Requirements

Installation

python3 -m venv joplin-web
cd joplin-web
source bin/activate
git clone https://github.com/foxmask/joplin-web
cd joplin-web
pip install -r requirements.txt
cd ../joplin-vue
npm install

settings

copy env.sample to .env

then set at least this parm:

  • the JOPLIN_WEBCLIPPER_TOKEN you have in the Webclipper config page in Joplin
  • the JOPLIN_RESOURCES to find the files of joplin and being able to load them in the editori

the config file is commented to be able to help you to fill the parameters, like HTTP_PORT, PAGINATOR or DEBUG

Running

to be able to manage the joplin notes from the web app, we need to start:

  • if you are on your workstation just start "Joplin Desktop"
  • if you are using joplin on a dedicated server, you can start "joplin headless", as follow
joplin --profile ~/.config/joplin-desktop/ server start
Server is already running on port 41184

joplin headless is available with the "joplin terminal" version (since build 147), you can install like that

NPM_CONFIG_PREFIX=~/.joplin-bin npm install -g joplin
sudo ln -s ~/.joplin-bin/bin/joplin /usr/bin/joplin

(have a look at https://joplinapp.org/ for more details)

for developement purpose

we start the front and the back in 2 dedicated process

  • start the backend part of joplin-web app like this
python app.py &
Joplin Web - Starlette powered
Started server process [10043]
Waiting for application startup.
Uvicorn running on http://0.0.0.0:8001 (Press CTRL+C to quit)
  • start the frontend

see joplin-web/joplin-vue/README.md file

for production purpose

  • compile the vuejs project first,
cd joplin-vue
npm run build
  • then start the application:
cd ../joplin_web
python app.py &
Joplin Web - Starlette powered
Started server process [11243]
Waiting for application startup.
Uvicorn running on http://0.0.0.0:8001 (Press CTRL+C to quit)

Joplin-web : Docker

if you prefer to run the project from docker :

see joplin-web/docker.md for details

System settings

see joplin-web/system.md for details

About

🐍 📚 Web application companion for Joplin

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vue 49.3%
  • JavaScript 30.2%
  • Python 15.8%
  • HTML 3.2%
  • Other 1.5%