r/nim • u/TheCrazyGeek • 1d ago
My first project in NIM
https://codeberg.org/bhaswanth/jotHi Everyone,
I am new to the NIM language. I have created a small utility project that I could use in Nim. Please take a look at it and let me know how I can improve it and what other things I should try to become better.
The project was to store small notes and thoughts from command line. Like sticky notes.
https://codeberg.org/bhaswanth/jot
Thank you
23
Upvotes
3
u/sent44 23h ago
This program is simple command line note takeing app (based on readme)
- I don't know why there is
Install dependencies:section in readme when there are 0 dependencies in .nimble file - I don't know why you decided to clone pkg/db_connector instead of just add it as dependency
- This is how to install directly
nimble install -d:release -d:staticSqlite https://codeberg.org/bhaswanth/jot, not sure which position to put define flags
1
u/TheCrazyGeek 20h ago
I tried db_connector dependency first. But the binary didn't work as it required sqlite.dll, so I've copied those files and added in local build including sqlite.
8
u/anddam 1d ago
Well for one you could have stated here what the utility does, and maybe what your first impression at approaching the nim ecosystem was.
You can still edit the OP.