RedNotebook is a cross-platform journal

Overview

RedNotebook

RedNotebook is a modern desktop journal. It lets you format, tag and search your entries. You can also add pictures, links and customizable templates, spell check your notes, and export to plain text, HTML, Latex or PDF.

Requirements

See debian/control for Debian and Ubuntu package names.

Recommended libraries:

Run on Linux (without installation)

$ ./run

Install on Linux

We recommend to install RedNotebook with your package manager or to download the Windows installer. Follow the steps below only if your distribution has no RedNotebook package or you want to use a newer RedNotebook version.

Install RedNotebook under ~/.local/lib/python3.x/site-packages/ and create ~/.local/bin/rednotebook executable:

sudo apt install python3-pip
# Change into RedNotebook repository.
pip3 install .

Run on Windows

See appveyor.yml for setup instructions, then run

C:\path\to\rednotebook> python3 rednotebook/journal.py

Thanks to

License notes

RedNotebook is published under the GPLv2+. Since it bundles code released under the LGPLv3+, the resulting work is licensed under the GPLv3+. See debian/copyright for detailed license information.

Enjoy!

Comments
  • Generating a PDF splits the last line of text between two pages

    Generating a PDF splits the last line of text between two pages

    Generating a PDF splits the last line of text between two pages. That is the top half of the line of text (character ascenders) is on one page whilst the bottom half ( character decenders) is on the second page.

    opened by jendrikseipp 37
  • Freeze on application start

    Freeze on application start

    Originally reported at launchpad:


    When I start rednotebook in Jaunty window appears with no text and locks up (freezes). When I run from the command line I get: andrew@andrew:~$ rednotebook INFO AppDir: /usr/share/rednotebook/rednotebook INFO BaseDir: /usr/share/rednotebook INFO First Start: False INFO RedNotebook version: 0.7.4 INFO System info: machine: x86_64, platform: Linux-2.6.28-13-generic-x86_64-with-Ubuntu-9.04-jaunty, processor: , python_version: 2.6.2, release: 2.6.28-13-generic, system: Linux, GTK version: (2, 16, 1), PyGTK version: (2, 14, 1), Yaml version: 3.08, INFO The config file /usr/share/rednotebook/rednotebook/files/default.cfg was read INFO The config file /home/andrew/.rednotebook/configuration.cfg was read /usr/share/rednotebook/rednotebook/gui/mainWindow.py:61: GtkWarning: gtk_toolbar_set_icon_size: assertion `icon_size != GTK_ICON_SIZE_INVALID' failed self.wTree = gtk.glade.XML(self.gladefile) INFO Cloud ignore list: ['filter', 'these', 'comma', 'separated', 'words', 'about', 'again', 'almost', 'looking', 'seems', 'stuff', 'which', 'whole', 'putting', 'going', 'handling', 'makes', 'unused', 'update', 'search', 'remove', 'removed', 'replacement', 'tomorrow', 'thing', "that's", 'there', 'solve', 'still', 'monday', 'looked', 'needs', 'items', 'files', 'fixed', 'folder', 'found', 'further', 'getting', 'having', 'helping', 'include', 'started', 'other', 'until', 'given', 'details', 'directory', 'discovered', 'email', 'enable', 'class', 'completed', 'building'] INFO Opening journal at /home/andrew/.rednotebook/data/ INFO 0.7.4 is newest version. You have version 0.7.4 INFO Connected Signals: 1 2 3 6 15 20

    I then have to forcibly kill the application.

    fix released high 
    opened by jendrikseipp 36
  • Use GtkSourceView for undo/redo functionality

    Use GtkSourceView for undo/redo functionality

    (Hello from EuroPython :-)

    This isn't quite ready to go, but the day is drawing to a close, so I wanted to open a PR with what I'd got done. The aim is to use GtkSourceView for the day text editor, which brings built-in undo history and syntax highlighting. This could save a fair bit of code in RedNotebook, and also fix some UX quirks with undo.

    I store the most recent 10 'source buffers' used, which preserve undo history and cursor position for the last 10 days viewed. Once a buffer falls out of this recent list, the undo history and cursor position for it are lost. It would be easy to increase the size of the recent list. I started small to make it easy to check the behaviour.

    Bits to figure out:

    • The UndoRedoManager in rednotebook also stores actions for the categories view. This can no longer be enabled, but the code is still there. If the plan is to remove this entirely, it's easy, because we can just use the GtkSourceView undo system (as in this PR). If the categories view is coming back in some form and undo should remain integrated, it's more complex.
    • The txt2tags highlighting mode for GtkSourceView doesn't seem to be very good. This is defined in an XML file. I think it's possible to ship a modified XML file separately and use it if necessary, but we're also interested in the possibility of using markdown, since it's so much more widely known.
    opened by takluyver 24
  • Works only with home user folder in Ubuntu 12.10

    Works only with home user folder in Ubuntu 12.10

    Originally reported by nick222-yandex at https://bugs.launchpad.net/bugs/1068655 (2012-10-19T14:08:23Z):


    After update from Ubuntu 12.04 to Xubuntu 12.10 - Rednotebook cannot open and cannot create any files anywhere except home user folder...

    When I try to create new journal in another folder - it created in my main user folder.

    fix released critical 
    opened by jendrikseipp 24
  • Cannot read Thai language in Edit but yes in Browser

    Cannot read Thai language in Edit but yes in Browser

    After installation of RedNotebook 2.3 on Windows7 I am not able to read or enter Thai language text in Edit Page which was working fine in earlier versions. Can read OK only in the Preview but that is annoying as I hardly use the Preview. rnb cannot read thai

    opened by TomChat2011 21
  • Win7: Images neither shown in preview mode nor pdf export

    Win7: Images neither shown in preview mode nor pdf export

    Originally reported by spamtostefan at https://bugs.launchpad.net/bugs/663944 (2010-10-20T14:54:04Z):


    Running the German version of RedNotebook 1.1.1 under Windows7 images neither show up in preview mode nor in exported pdf files. Exported html is fine and shows all images.

    fix released undecided 
    opened by jendrikseipp 19
  • Search is broken

    Search is broken

    Versions

    RedNotebook version: 2.4 (the issue happened somewhere between 1.10 and 2.4, since I was happily using 1.10.1 for a long time, until spellcheck stopped working and I was forced to update).

    Operating system and version: Ubuntu 16.04.4 LTS (Xenial Xerus)

    Expected behavior

    1. The text search works with partial word match.
    2. The text search works in case insensitive mode.

    Actual behavior

    1. Trying to search the word without typing one or more leading letters never works.
    2. Trying to search the word without typing one or more trailing letters sometimes works, sometimes it doesn't.
    3. Trying to search the word without typing the letters in needed case (upper or lower) sometimes works, sometimes it doesn't.
    4. Trying to search a phrase containing non-alphanumeric characters (e.g. parenthesis) leads to the non-alphanumeric characters being utterly ignored during search.

    Steps to reproduce the behavior

    To reproduce 1: make a journal, pick a word from it, remove its first letter, and try to perform search. To reproduce 4: make a journal, type something like (abc), then try to search something like !abc!.

    Log output when reproducing behavior

    ($HOME/.rednotebook/rednotebook.log or C:\Users<username>.rednotebook.log)

    https://gist.github.com/ScumCoder/4795ce79add92df87286bd3a8ecd8e28 (it doesn't contain anything suspicious).

    opened by ScumCoder 17
  • RedNotebook doesn't start: TypeError: an integer is required

    RedNotebook doesn't start: TypeError: an integer is required

    Fresh brand new RedNotebook 1.1.3 from robin.powdarrmonkey.net repo.

    Started once and became unwilling to start again after a reboot.

    ================================

    The console output is:

    myo@myo-desktop:~$ rednotebook /usr/share/themes/Kiwi/gtk-2.0/gtkrc:78: Murrine configuration option "scrollbar_color" is no longer supported and will be ignored. /usr/share/themes/Kiwi/gtk-2.0/gtkrc:82: Murrine configuration option "gradients" is no longer supported and will be ignored. INFO Writing log to file "/home/myo/.rednotebook/rednotebook.log" INFO Set default locale: "ru_RU" INFO Module glade found INFO Running in portable mode: False INFO First Start: False INFO RedNotebook version: 1.1.3 INFO System info: machine: i686, platform: Linux-2.6.32-30-generic-i686-with-Ubuntu-10.04-lucid, processor: , python_version: 2.6.5, release: 2.6.32-30-generic, system: Linux, GTK version: (2, 20, 1), PyGTK version: (2, 17, 0), Yaml version: 3.09 INFO Using webkit for previews: 1 Traceback (most recent call last): File "/usr/bin/rednotebook", line 12, in rednotebook.journal.main() File "/usr/share/rednotebook/rednotebook/journal.py", line 687, in main journal = Journal() File "/usr/share/rednotebook/rednotebook/journal.py", line 292, in init self.frame = MainWindow(self) File "/usr/share/rednotebook/rednotebook/gui/main_window.py", line 157, in init self.load_values_from_config() File "/usr/share/rednotebook/rednotebook/gui/main_window.py", line 653, in load_values_from_config self.main_frame.move(pos_x, pos_y) TypeError: an integer is required

    ================================

    The strings in configuration.cfg that could possibly cause this error are:

    mainFrameX=None mainFrameY=None

    fix released high 
    opened by jendrikseipp 17
  • Blockquote support?

    Blockquote support?

    Versions

    RedNotebook version (make sure you have the latest version): 2.11.1 (rednotebook-git package)

    Operating system and version: Linux 5.3.6-1 Manjaro (Arch derivative) x86_64

    Expected behavior

    Using ">" at the beginning of a line results in blockquote formatting when previewing the text.

    Actual behavior

    There doesn't seem to be any support for blockquotes. When using the markdown, then previewing, the ">" characters are left visible and there is no blockquote formatting.

    (It seems like maybe this feature just isn't implemented. It would be a great feature to have in a journal, since some people (myself included) like to include interesting or inspirational quotes when journaling. If this isn't a feature yet, may I please suggest it be added in a future release?)

    Steps to reproduce the behavior

    Add lines starting with ">" then press Preview, and the lines are not formatted like blockquotes.

    Log output when reproducing behavior

    There is nothing relevant in the log. It registered past instances of saving, nothing relevant to formatting blockquotes.

    opened by skyblue002 16
  • Up to date MacOS installer

    Up to date MacOS installer

    The option to install it on MacOS are to complex (on top of that macport is relatively unstable and messy) for most users. Would be great to generate a MacOS app.

    opened by gagarine 15
  • RedNotebook hangs

    RedNotebook hangs

    Originally reported by jani-valtari at https://bugs.launchpad.net/bugs/1498044 (2015-09-21T14:56:16Z):


    I have been useing RedNotebook for 9 months now, making some notes almost every day. It has been working fine, but it started hanging all of a sudden after I installed latest version 1.10.2. Seems to happen at the point when it is auto-saving my writing to text files. And after it hangs, I am not able to start it anymore - if I shut it down and try to restart, it just hangs immediately again. The only way to get rednotebook running again is to manually open the text file what it saved last, and then manually remove the latest entry. After that I am again able to start RedNotebook again.

    So it seems to me, that RedNotebook saves something corrupt to the text file, and then hangs. The file looks perfectly fine to me ( if I open it e.g. via Notepad++). I just need to manually remove the last entry. If I then copy-past the exact same deleted content on the RedNotebook UI (and remove all the extra escape characters what RedNotebook stores to text files). It is still fine. So the issue does not seem to be in the actual text content itself, but something else corrupts the file...

    I use Windows 7 Enterprice as OS.

    fix released medium 
    opened by jendrikseipp 15
  • Codebase Refactor ⭐

    Codebase Refactor ⭐

    workerB

    Summary of the changes in this pull request

    I scanned the entire codebase for potential issues regarding performance and readability and fixed as many issues as possible. This should make the codebase "modern" and more cleaner to read/review through.

    These fixes include:

    • Better named expressions added
    • f-strings added rather than interpolated variable names
    • better conditional branching added (which is a good practice and follows standards laid out by the Python community)
    • code made more readable following "pythonic" code style
    • improved formatting based on PEP8 guidelines
    • added list comprehensions wherever needed replacing large, complex-looking code blocks
    • TODO.md formatted based on Markdown file guidelines.

    Pull request checklist

    • [x] I have added an entry in CHANGELOG.md including my name and issue and/or pull request number.
    • [x] If applicable: I have removed the corresponding entry in TODO.md.
    opened by HighnessAtharva 1
  • MacOS Brew Cask

    MacOS Brew Cask

    Summary of the changes in this pull request

    • TODO

    Pull request checklist

    • [ ] I have added an entry in CHANGELOG.md including my name and issue and/or pull request number.
    • [ ] If applicable: I have removed the corresponding entry in TODO.md.
    opened by oussjarrousse 1
  • Multiple entries per day.

    Multiple entries per day.

    Looking in the documentation it seems that the format in the month text file only allows for one entry per day as the day date is used as an index. Would it be feasible to allow more than one entry per day without having to create a separate journal? If you manually put a second text: entry under the same date only the second one is shown. If you manually put a suffix letter after the date then it complains that it is not an integer

    wishlist 
    opened by rogercreagh 3
  • Metadata for entries

    Metadata for entries

    To facilitate sharing with other systems you will need to add some metadata to the daily files.

    • Calendar date - currently implied by the filename and the day number in the text file, the date the entry is associated with should be available somewhere as a date field.
    • Created date - the actual date the entry was created, not the calendar date (not user editable)
    • Modified date - the date the entry was last modified (automatically updated on save - used to determine sync status with a CalDav server copy
    • Categories (Tags) - one word text tags to group and search entries
    • Status (Draft, Final, Cancelled)
    • Class (Public,Private,Confidential)

    There may also be more. Do you have a structured format for storing this information in the text file? This would also all be useful info to have available in the display

    wishlist 
    opened by rogercreagh 1
  • Fix dragging and dropping files into RedNotebook on Windows

    Fix dragging and dropping files into RedNotebook on Windows

    I hope you don't mind if I put them all in one issue. I don't see much reason to separate them.

    Is your feature request related to a problem? Please describe.

    1. Importing media into the app is a repetitive process, with having to open the file selection menu every time. Alongside the apparent inability to change/set a default location, requiring you to navigate to your desired directory each time you want to import a file. Sure, there's bookmarking, but that's not really my point.

    2. Default image size is the image's actual size, often (in my case) being far too big to fit on the screen without scrolling.

    Describe the solution you'd like

    1. Dragging and dropping files into the app, preferably putting it on the same line as your mouse is under at the time of releasing the button.

    2. Allow configuration of image size to be either proportional to the window size (Shrinking and growing accordingly as you adjust the window size), and/or choosing the preview size after importing, preferably (configurable, perhaps) defaulting/starting with a small preview, or simply scaling with window size at the time of importing. Additionally, if the image is larger than displayed, allow clicking it to show a bigger/full version either (or make it configurable between the two) within the app window or in your default image viewer.

    3. Add an option to load image previews regardless of whether user is in preview mode or edit mode.

    4. (Low priority) I don't mind the style of the main app window, but it would be nice to be able to change the style of the file select menu to that of the user's operating system (Or just have one matching Windows 10).

    Describe alternatives you've considered

    1. None.

    2. None.

    3. Automatically view past days (ones that aren't empty) in preview mode (Of course, with the option to switch back to edit mode).

    4. Simply add a scale option to make the distance between texts i.e directories on the side smaller.

    Versions:

    • RedNotebook version 2.24 (Installed via Scoop in case that matters, not that I think it should.)
    • Operating system and version: Windows 10 Pro build 19043.1526

    Thanks very much in advance. I understand to an extent (My only firsthand experience with code is basic AutoHotKey) that it may not be easy or quick to implement some/all/any of this, but if there's one thing I would like most, it's the image size configuration ability.

    wishlist 
    opened by WubTheGame 3
  • Adds a dockerfile

    Adds a dockerfile

    Summary of the changes in this pull request

    non-linux releases of rednotebook are a bit of a pain. So for all those of you out there who know how to both xwindows and docker, why not just run it on a linux container?

    I dont know how useful this is for others, it is certainly useful for me for when I switch mac laptops and dont want to have to do a giant dance involving brew, gtk installations and lots of time.

    As a side note, I believe the icon theme listed on line 20 is missing from your ubuntu apt definition. I got a bunch of warnings before I installed that.

    Pull request checklist

    • [x] I have added an entry in CHANGELOG.md including my name and issue and/or pull request number.
    • [ ] If applicable: I have removed the corresponding entry in TODO.md.
    opened by echaz 4
Releases(v2.29)
Agile project management platform. Built on top of Django and AngularJS

Taiga Backend Documentation Currently, we have authored three main documentation hubs: API: Our API documentation and reference for developing from Ta

Taiga.io 5.8k Jan 5, 2023
Cross-platform desktop synchronization client for the Nuxeo platform.

Nuxeo Drive Desktop Synchronization Client for Nuxeo This is an ongoing development project for desktop synchronization of local folders with remote N

Nuxeo 63 Dec 16, 2022
📔️ Generate a text-based journal from a template file.

JGen ??️ Generate a text-based journal from a template file. Contents Getting Started Example Overview Usage Details Reserved Keywords Gotchas Getting

Harrison Broadbent 21 Sep 25, 2022
Journey is a journaling app where users can create their own journal and entries in it!

Journey is a journaling app where users can create their own journal and entries in it!

Hieu Ma 8 Dec 12, 2021
jfc is an utility to make reviewing ArXiv papers for your Journal Club easier.

jfc is an utility to make reviewing ArXiv papers for your Journal Club easier.

Miguel M. 3 Dec 20, 2021
Python program that handles the creation, encryption and storage of log/journal files. Kinda works like a diary of sorts.

LucaSoft J.O.U.R.N.A.L The J.O.U.R.N.A.L (Just anOther User Redaction & Navigation Assistant by Lucaspec72) is a Python program that handles the creat

Lucaspec72 8 Oct 27, 2021
jrnl is a simple journal application for the command line.

jrnl To get help, submit an issue on Github. jrnl is a simple journal application for the command line. You can use it to easily create, search, and v

jrnl 5.7k Dec 31, 2022
Unsub is a collection analysis tool that assists libraries in analyzing their journal subscriptions.

About Unsub is a collection analysis tool that assists libraries in analyzing their journal subscriptions. The tool provides rich data and a summary g

null 9 Nov 16, 2022
A Python package for searching journal publications and researchers

scholarpy A python package for searching journal publications and researchers Free software: MIT license Documentation: https://giswqs.github.io/schol

Qiusheng Wu 8 Mar 12, 2022
A Straightforward Markdown Journal

Introducing Pepys: A straightforward markdown journal "It is rightly made for those who love to document their daily life events" - FOSSBytes Pepys is

Luke Briggs 23 Nov 12, 2022
Markdown journal template.

Markdown Journal Template Description This project contains a script which creates a markdown journal template for the current year by creating a mark

Stephen McAleese 2 Mar 6, 2022
[SIGGRAPH 2022 Journal Track] AvatarCLIP: Zero-Shot Text-Driven Generation and Animation of 3D Avatars

AvatarCLIP: Zero-Shot Text-Driven Generation and Animation of 3D Avatars Fangzhou Hong1*  Mingyuan Zhang1*  Liang Pan1  Zhongang Cai1,2,3  Lei Yang2 

Fangzhou Hong 749 Jan 4, 2023
CVPR 2021 Official Pytorch Code for UC2: Universal Cross-lingual Cross-modal Vision-and-Language Pre-training

UC2 UC2: Universal Cross-lingual Cross-modal Vision-and-Language Pre-training Mingyang Zhou, Luowei Zhou, Shuohang Wang, Yu Cheng, Linjie Li, Zhou Yu,

Mingyang Zhou 28 Dec 30, 2022
Cross Quality LFW: A database for Analyzing Cross-Resolution Image Face Recognition in Unconstrained Environments

Cross-Quality Labeled Faces in the Wild (XQLFW) Here, we release the database, evaluation protocol and code for the following paper: Cross Quality LFW

Martin Knoche 10 Dec 12, 2022
xonsh is a Python-powered, cross-platform, Unix-gazing shell

xonsh is a Python-powered, cross-platform, Unix-gazing shell language and command prompt.

xonsh 6.7k Dec 31, 2022
Cross-platform lib for process and system monitoring in Python

Home Install Documentation Download Forum Blog Funding What's new Summary psutil (process and system utilities) is a cross-platform library for retrie

Giampaolo Rodola 9k Jan 2, 2023
pyglet is a cross-platform windowing and multimedia library for Python, for developing games and other visually rich applications.

pyglet pyglet is a cross-platform windowing and multimedia library for Python, intended for developing games and other visually rich applications. It

null 1.3k Jan 1, 2023
A module for cross-platform control of the mouse and keyboard in python that is simple to install and use.

PyUserInput PyUserInput is a group project so we've moved the project over to a group organization: https://github.com/PyUserInput/PyUserInput . That

Paul Barton 1k Dec 27, 2022
A cross-platform GUI automation Python module for human beings. Used to programmatically control the mouse & keyboard.

PyAutoGUI PyAutoGUI is a cross-platform GUI automation Python module for human beings. Used to programmatically control the mouse & keyboard. pip inst

Al Sweigart 7.5k Dec 31, 2022
A cross-platform GUI automation Python module for human beings. Used to programmatically control the mouse & keyboard.

PyAutoGUI PyAutoGUI is a cross-platform GUI automation Python module for human beings. Used to programmatically control the mouse & keyboard. pip inst

Al Sweigart 7.6k Jan 1, 2023