PUP Diary 1.4

Moderator: Forum moderators

Post Reply
don570
Posts: 624
Joined: Sat Nov 21, 2020 4:43 pm
Has thanked: 5 times
Been thanked: 98 times

PUP Diary 1.4

Post by don570 »

A simple diary program for taking notes that are dated.
It is meant to be a simpler and faster competitor to Notecase.
Date of entry is always inserted which may be valuable.
New diary entries are written at the head of file.
Languages translated: Portuguese,Spanish,Chinese,Russian,French,Italian,German

The entry of the data is always at the head of the current diary (see image),
therefore scrolling isn't needed. You click to choose the place to start typing.
The height of the window can be adjusted easily as well. I suggest 200 to 300

Should be reliable however if you experience a problem there is a backup of the previous session
in the hidden home folder.
Clicking 'Create' creates HTML file in home folder. You can then see the output in a HTML viewer program.
Clicking 'Cancel' doesn't affect the stored diary in any way..
Clicking 'Save' does save the diary info and makes the backup as well. Height of window is also saved.
The window is closed when clicking the save or cancel button.

Tested on Precise linux and fatdog64 and Easy void linux and Bookworm64.
64bit
32 bit linux can't create the html code but the rest of program works.
The diary is saved in your home folder. Feel free to edit the old info inside the diary using your text editor,
since the diary is a simple text file. You can do 'Find and Replace' with your text editor.

Each diary entry is a paragraph.
You can open the html file in Seamonkey Composer program and do further editing
(See image)

Download :
Size 43k

PUPDiary-1.4-x86_64.pet
(37.72 KiB) Downloaded 11 times
screenshot-pupdiary2.png
screenshot-pupdiary2.png (42.9 KiB) Viewed 483 times
Attachments
screenshot-pupdiaryhtm.png
screenshot-pupdiaryhtm.png (75.62 KiB) Viewed 185 times
Last edited by don570 on Tue Feb 06, 2024 10:15 pm, edited 8 times in total.
Trapster
Posts: 141
Joined: Sat Aug 01, 2020 7:44 pm
Has thanked: 1 time
Been thanked: 38 times

Re: PUP Diary 1.0

Post by Trapster »

Very handy!

Can it have .html links in the notes?

don570
Posts: 624
Joined: Sat Nov 21, 2020 4:43 pm
Has thanked: 5 times
Been thanked: 98 times

Re: PUP Diary 1.0

Post by don570 »

I never thought about that, but it sounds useful.
I should look closer at notecase and MD file viewer to see what features they have.
Fatdog64 has an excellent md file viewer that opens links.


don570
Posts: 624
Joined: Sat Nov 21, 2020 4:43 pm
Has thanked: 5 times
Been thanked: 98 times

links

Post by don570 »

It is possible to put a clickable link in a text file, Fatdog64 has done this and
created an app to open the file -->
https://distro.ibiblio.org/fatdog/packa ... 6_64-1.txz

But it doesn't open the diary file very nicely--- > so limited use.


Trapster
Posts: 141
Joined: Sat Aug 01, 2020 7:44 pm
Has thanked: 1 time
Been thanked: 38 times

Re: PUP Diary 1.0

Post by Trapster »

Thanks for looking into it.

don570
Posts: 624
Joined: Sat Nov 21, 2020 4:43 pm
Has thanked: 5 times
Been thanked: 98 times

Re: PUP Diary 1.0

Post by don570 »

I found a good mdview appimage that will open the diary properly when it has links in it,
but it's very big in size.
https://github.com/c3er/mdview/releases ... 4.AppImage

Here is an explanation of adding links to a text file
for example,

Code: Select all

*[foo*](url)

is a link
https://github.github.com/gfm/#links

Code: Select all

A link text consists of a sequence of zero or more inline elements enclosed by square brackets ([ and ]). The following rules apply:

Links may not contain other links, at any level of nesting. If multiple otherwise valid link definitions appear nested inside each other, the inner-most definition is used.

Brackets are allowed in the link text only if (a) they are backslash-escaped or (b) they appear as a matched pair of brackets, with an open bracket [, a sequence of zero or more inlines, and a close bracket ].

Backtick code spans, autolinks, and raw HTML tags bind more tightly than the brackets in link text. Thus, for example, [foo`]` could not be a link text, since the second ] is part of a code span.

The brackets in link text bind more tightly than markers for emphasis and strong emphasis. Thus, for example, *[foo*](url) is a link.
don570
Posts: 624
Joined: Sat Nov 21, 2020 4:43 pm
Has thanked: 5 times
Been thanked: 98 times

PUP Diary 1.2

Post by don570 »

New version 1.2
Markdown program 64 bit is included in package..
Output to HTML is now possible by clicking "Create" button

The text file goes through a C program called Markdown

Code: Select all

cat file.md | markdown > file.html     # write HTML to file

Instructions:
Hash symbol is used for headings...
https://github.com/adam-p/markdown-here ... Cheatsheet

internet link is made thus...
I'm an inline-style link


don570
Posts: 624
Joined: Sat Nov 21, 2020 4:43 pm
Has thanked: 5 times
Been thanked: 98 times

PUP Diary 1.3

Post by don570 »

New version PUP Diary 1.3

-rewrite so it will work with gtkdialog4

  • I started an entry with 3 hash characters to remind user
    to start with a heading. Useful when converting to HTML

Attachments
screenshot-pupdiary.png
screenshot-pupdiary.png (35.45 KiB) Viewed 148 times
don570
Posts: 624
Joined: Sat Nov 21, 2020 4:43 pm
Has thanked: 5 times
Been thanked: 98 times

PUP Diary 1.4

Post by don570 »

New version PUP Diary 1.4

-Compatible to gtkdialog8.5.3c (found in Bookworm64)
-entry fields are narrower to make the window look more attractive

Post Reply

Return to “Documents”