- a simple GTK+ tool for keeping an eye on your Nikola powered website(s)
- have an overview of posts, pages, listings, images, files, translations and site statistics
- open files from app or load article in a browser on right click
- keep track of changes made since last build (hint: bold)
- create new posts and pages
- if configured the application detects different input markup (reStructuredText, Markdown, ...)
- build, preview and deploy to GitHub or GitLab or a custom target¹
- create translation files on right click in the 'Translation' tab
- bookmark and switch between different Nikola site instances
- search for strings in posts, pages and listings
¹ For deploying to GitLab the nikola github_deploy
command is used. See this Example Nikola site using GitLab Pages for details on how to setup your Nikola configuration. The second "Deploy" toolbutton is active if you setup DEPLOY_COMMANDS
in your conf.py
and will execute the default preset.
- integrated terminal for switching easily between GUI and commandline interface
- in the 'Summary' tab there are some detailed information about the Nikola site like disk usage, available and installed themes or plugins (beta feature)
- this application is ready for localization (POT file); add your translation and open a PR if you like (only German translation available yet)
- create a Nikola site
- Python 3
- Nikola installation
- latest tested versions are 7.8.15 and 8.2.0
- consult the upgrade guide for v8, this code piece cannot help you with that but also is not affected by it
- configurated Nikola site (Getting Started)
- Python GObject Introspection bindings (PyGObject)
- PyYAML
- Python-Markdown for Python 3
- recommended: Git (probably already installed)
- ghp-import: deploy to GitHub Pages
- if you plan an installation: setuptools and pip (probably already installed)
The PyGObject Introspection bindings are probably already installed (tested with a plain Openbox and MATE desktop).
sudo pacman -S python-yaml python-setuptools python-ghp-import python-pip
sudo apt-get install python3-gi gir1.2-webkit2-4.0 gir1.2-vte-2.91 python3-pip python3-setuptools python3-setproctitle git
FTR: when executing
python
, it is Python 3
-
If you plan on testing NoN you probably have Nikola already installed. There are plenty ways to do so. Nonetheless Nikola will be installed as a dependency during the installation of NoN via pip.
-
clone the repository and change into said folder
-
run
pip install .
for a user-wide installation, run the command with root privileges to install system-wide
or
- run
pip install git+https://github.com/encarsia/non.git
without prior repo cloning
- press the SUPER key and start typing N...O...N
- press ENTER if you spot the duck
- Lucky you asked. It's as easy as the installation, just run
pip uninstall non
and you're done.
- application related files are stored in
~/.non
:config.yaml
for current Nikola site and bookmarks, editing or deleting does not affect any actual local Nikola sitenon.log
for the type of persons who stick their noses into everythingpath_to_nikola_site.json
stores all data (posts/pages with metadata, listings, tags etc. of a site, one file per sitepath_to_nikola_site.html
contains the page shown in the 'Summary' tab, one file per site
- if you want to edit or delete bookmarks you have to edit the config file (
~/.non/config.yaml
); you can open the file from the preferences menu - the summary page is generated if a
conf.py
is loaded for the first time or the task is invoked by the corresponding menu item; it is a HTML file with GitHub flavoured CSS; generating the summary may take some time - if you load data from a Nikola site for the first time the application indexes the content and saves it as a JSON file in the
~/.non
folder and only updates on every next startup; this initial task may take some time depending on the size if the site - just be patient
- My view on this project is quite selfish: I'm trying to improve my skills by writing stuff I intend to use.
- Besides this there are some ideas for further features such like
- an integrated reST editor
- provide personal article templates by using the
-i
option of thenew_post
command
-
application: The MIT License
-
icon: Ducky icon, released into the Public Domain