-
9 votes
-
Blame economists for the mess we’re in: Why did America listen to the people who thought we needed “more millionaires and more bankrupts?”
19 votes -
Security researchers find several bugs in Nest security cameras
10 votes -
Hong Kong police families call for independent inquiry into protest clashes (translation of the demonstration's speakers in comments)
9 votes -
Ben Stokes' century keeps England in the Ashes with historic third-Test win
7 votes -
My first conlang - How not to make a language
10 votes -
A trailblazing plan to fight California wildfires
5 votes -
The fall of Prague: ‘Drunk tourists are acting like they’ve conquered our city’
15 votes -
First release of my native Markdown notes app, Notementum (v0.1.0)
Screenshot I posted a few days ago about a notes app I was working on called Notementum, and I'm happy to show you the first release (0.1.0). Installation instructions are available on the Github...
I posted a few days ago about a notes app I was working on called Notementum, and I'm happy to show you the first release (0.1.0). Installation instructions are available on the Github repo: https://github.com/IvanFon/notementum
There's still lots of things I'd like to add, both big and small, and definitely a few bugs here and there, but I've been going for too long without sharing it, and I find it's best to release as early as you can to start getting feedback, and perfect it later.
One things that's missing is documentation. I'd like to start on this soon, but I'm probably not going to share this anywhere other than Tildes just yet, so this comment will do for now :)
Right now, the app only runs on Linux. I'd like to add Windows support, and it almost works, the problem is that WebKit2Gtk, the embedded web view I use to show note previews, doesn't support Windows. I'm going to explore some other options in the future, whether that's figuring out how to compile it, or allowing other preview methods (user's web browser, PDF, etc.).
The app is also very much in alpha, so you shouldn't use this for anything important, there may be bugs that can cause you to lose some of your data. If you do use this for anything, make sure you backup your notes database.
If you want to use it, here's a wall of text on usage:
Usage
The notes database is located at
~/.notes.db. When you launch the app, it'll load it, or automatically create it if it doesn't exist. I'd eventually like to allow choosing different locations, but it's hard coded for now.The interface is fairly simple. The leftmost sidebar displays a list of notebooks, and the "middlebar" displays a list of notes. Selecting a notebook will display the notes within it in the notes list. Selecting a note will open it in the editor, which is to the right.
To create a new note, press
Escapeto focus on the searchbar above the notes list, and start typing a title. If no existing notes are found, press enter, and a note will be created with the title you entered.To rename a note, double-click on it in the notes list.
The editor has a toolbar with 4 buttons, from left-to-right:
- Toggle between editor and preview (shortcut:
Ctrl+E) - Assign the current note's notebook
- Add an attachment
- Delete the current note
The green circle all the way to the right turns into a loading indicator when you have unsaved changes. Once you stop typing for a few seconds, your changes will be saved, and it'll switch back into a green circle.
Notebooks
Notebooks aren't created directly, they're based on what notebooks your notes are assigned to. This means that, to create a notebook, assign it to a note. To delete a notebook, just delete all the notes contained within it, or assign them to a different notebook.
Clicking on the notebook toolbar button brings up this dialog. To create a new notebook, double click on
<New notebook>and type in a name.Attachments
The notes database also stores attachments. This means that the entirety your notes can be contained in your database. Clicking on the attachment toolbar button brings up this dialog. The toolbar allows you to upload an attachment or delete it respectively. Pressing
Insert Selectedwill insert the image at your cursor in the editor ().Theme
The screenshots show the app with my desktop Gtk theme, Arc Dark. On your desktop, it'll use whatever your theme is. It should look good with any Gtk theme, but at some point I may bundle Arc Dark with it.
The note preview currently has it's colours hard coded to look good with Arc Dark, so it may look a bit off on other themes. I'll try to sort that out at some point.
Planned features
- load/save database to/from different path
- Windows support
- note exports
- database encryption
- changing syntax highlighting theme
- note tags
- full-text search
- proper documentation
- more keyboard shortcuts
- integrated sync
- although you should already be able to use Git, Synthing, Dropbox, etc.
- Vim mode for editor
- maybe somehow embed a terminal to allow using vim/emacs/whatever
Boring technical stuff
The app was made with Python and Gtk+ 3. I've done this before and I really enjoy the development experience, especially with Glade to design the interface. There are still some Gtk features that I should really be using to make things simpler (GtkApplication, actions, and accelerators) that I'll be adding later.
The database uses sqlite 3. This is convenient, as it allows for storing everything in one file, and will make fast searches easier in the future. Attachments are stored as base64 directly in the database. This makes it easy to have all your notes be contained entirely in the one database, but I may have to think about a more efficient method in the future.
Markdown rendering is done using mistletoe, which has been great to use. Syntax highlighting and MathJax renderers were already available, so it was just a matter of combining both and adding custom image loading from the database, which was very easy. Mistletoe has a very easy to use API, so this was no problem.
For LaTeX math rendering, I'm using MathJax. It supports pretty much everything, which is nice, but it can take a while to load. I'm currently loading it from a CDN in a
<script>tag, so I'm hoping once I load it from a local file it'll be a bit faster. If not, I may have to find another solution.Like I said, the app still has a few bugs that need to be fixed. If you find any problems, it would be great if you could leave a comment here or open a Github issue (or if you have any feature requests).
21 votes - Toggle between editor and preview (shortcut:
-
PewDiePie surpasses 100m subscriber mark on YouTube
13 votes -
Pianist Jack Gibbons pulls out of Carnegie Hall concert because it had links to an anti-LGBT newspaper
7 votes -
In retrospect, it was probably not a fantastic idea to leave Iceland's economic fortunes tethered to an airline called WOW
7 votes -
Advice for first home server?
Hello, I have a few questions. I didn't want to wast money so I wanna use what I have in terms of hardware, only the PSU and storage if needed. PC: CPU AMD 5 1600 RAM 16G SSD 125 GB for OS...
Hello,
I have a few questions. I didn't want to wast money so I wanna use what I have in terms of hardware, only the PSU and storage if needed.
PC:
- CPU AMD 5 1600
- RAM 16G
- SSD 125 GB for OS
Services I think of running:
- Node Tor middle relay
- Node Bitcoin
- Node XMR
- Gitea or Gitlab
- Maybe some service to host files or make a share for lan or a could service
- Maybe a TS Server or Minecraft
Questions:
- Do I have enough power to run all of this or I am being to greedy? I have raspberry(not pi 4) stopped at home doing nothing I could run some of this services on them if the computer can't handle everything.
- Should I virtualize? Can you explain me your response on this?
- I thinking of buying a good PSU since I am running this 24/7, should I invest in gold platinum or something like that?
- Should I have multiple disks if yes can you explain how much and for what.
This is will be my first server at home so I would like to hear tips if you think I am forgetting something.
Thanks in advance.
Edit: visualize > virtualize17 votes -
Souqcast #1: Rafael Aragon
4 votes -
With over 10,000 people registered to attend from all over the world and 300+ speakers – Techfestival isn't playing around
4 votes -
Sergey Lazarev - Lucky Stranger (2017)
5 votes -
Sweden economists call for green fiscal policy to stop recession
6 votes -
The Mandalorian | Official trailer
8 votes -
Colts QB and former #1 overall pick Andrew Luck abruptly retires from pro football at only 29 years old
12 votes -
"Whipt Cream, Like Snow" (Cream Puffs) | 18th Century Cooking
4 votes -
StandardJS, a Javacript linter config with 3 million downloads/month starts showing advertisements in users terminals
20 votes -
The witchhunt that founded Liechtenstein
7 votes -
What determines value?
7 votes -
Specification Gaming Examples in AI
10 votes -
Rob Messel from the US strutted his way to success at the annual Air Guitar World Championships in Finland on Friday
5 votes -
The Adults in the Room
15 votes -
Donald Trump plans to open US consulate in Greenland despite row over offer to buy
6 votes -
How to find old instruction manuals for free online | No Sweat Tech
9 votes -
Henrik Larsson quits as Helsingborgs IF coach – verbal abuse made his situation unsustainable
4 votes -
Why everything is meta?
5 votes -
Icelandic prime minister Katrín Jakobsdóttir is open to a meeting with US Vice President Mike Pence – should the visit be extended
4 votes -
Finland urges EU to consider banning Brazilian beef over Amazon fires
25 votes -
Ray Bradbury: Comic Book Hero
6 votes -
Patient’s death could be first in the US linked to e-cigarette use, officials say
7 votes -
Operation Sentinel – Trump's spat with Denmark could cost him against Iran
3 votes -
Mumiy Troll - Nieviesta? (Bride?)
5 votes -
Norwegian researchers say data may point to second blast at Russian test site
8 votes -
Men
41 votes -
Perceived intergenerational inequality in Finland is eroding young people's faith in the pension system
7 votes -
F25 key? Are you ready for this? Promise not to tell. **I'm gonna hit the F25 key.** ***GET READY!!!***
2 votes -
Twitch suspends popular leftist streamer after controversial 9/11 comments
19 votes -
Datadog files for IPO
7 votes -
Ujico*/Snail's House - Love Magic (2019)
9 votes -
Are mentions automatically detected?
New user. Trying to see if @manascii mentions get automatically detected. Or, do I have to enter the link manually?
4 votes -
Woody Guthrie - Tear the Fascists Down (1944)
15 votes -
I finally open sourced something: Pliant, a flexible blog skeleton
https://gitlab.com/smoores/pliant I’ve been a software developer for about three years, and I’ve always been enticed by and passionate about the open source scene. I have an assortment of projects...
https://gitlab.com/smoores/pliant
I’ve been a software developer for about three years, and I’ve always been enticed by and passionate about the open source scene. I have an assortment of projects variously available on GitHub and GitLab, but this is the first time I’ve ever created an open source project intended to be used by others.
Pliant is a barebones starter kit for anyone wanting to self host their own blog. It came out of my own efforts to start a blog, and it’s what currently powers https://tfhe.shanemoore.me.
I’d love to hear you’re feedback, or just discuss open source, blogging, web technologies, or whatever else comes up.
20 votes -
A new Swedish bicycle is made from 300 recycled Nespresso pods
6 votes -
What purpose does Tildes serve that Reddit does not?
It's a question I'm sure has been asked in a better way many times before, but somehow I haven't found it in search so I'll just post it here.
29 votes -
Alone in Public - A "No Man's Sky" Review
4 votes -
International Interfaith Peace Gathering: ‘We must work together or we will all fail’
6 votes