It was never so easy to get YouTube subscribers
Get Free YouTube Subscribers, Views and Likes

Create a password manager with Clojure using Babashka sqlite honeysql and stash

Follow
Daniel Amber

Hey guys I have previously made a video on how to make a commandline application using Clojure. unfortunately, it was a bit slow because it had to wait for the JVM to boot up. There is a way around that though and that's by using a really awesome Clojure scripting runtime called Basbashka.

In this video, we create a password manager to create, store and retrieve passwords.

// Links to all libraries are in the repo
GitHub repo: https://github.com/danownsthisspace/p...

// Babashka
https://book.babashka.org/




00:00 intro
00:26 Install Babashka
01:00 Create project
03:26 How the cli tool should work
04:07 Listing stored urls and usernames
06:47 Using Sqlite pod
08:20 Using Honeysql
11:52 Checking if a file exists
13:06 Insert record into Sqlite db
15:41 Select rows from Sqlite
17:45 Format output using Table
20:02 Creating a new password
21:32 Accept generate as an option
24:55 Adding positional arguments
26:16 Secure storage using Stash
33:45 Get password from user input
36:33 Copy password to clipboard
39:18 Retrieve passwords
42:36 Ensure db exists
44:11 Package using uberscript

posted by hoolian8u