Page 1 of 1
PUP Diary 1.4
Posted: Tue Jan 23, 2024 12:23 am
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
- screenshot-pupdiary2.png (42.9 KiB) Viewed 1267 times
Re: PUP Diary 1.0
Posted: Tue Jan 23, 2024 12:37 am
by Trapster
Very handy!
Can it have .html links in the notes?
Re: PUP Diary 1.0
Posted: Tue Jan 23, 2024 12:43 am
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.
links
Posted: Tue Jan 23, 2024 9:50 pm
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.
Re: PUP Diary 1.0
Posted: Tue Jan 23, 2024 9:59 pm
by Trapster
Thanks for looking into it.
Re: PUP Diary 1.0
Posted: Wed Jan 24, 2024 8:26 pm
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,
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.
PUP Diary 1.2
Posted: Mon Jan 29, 2024 10:31 pm
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
PUP Diary 1.3
Posted: Wed Jan 31, 2024 6:36 pm
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
PUP Diary 1.4
Posted: Tue Feb 06, 2024 10:19 pm
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