Jim Cheung

Thursday, February 02, 2023

converted a cli tool to web using htmx, things actually much simpler than a spa, just different mindset. maybe I did the old web so it's quite easy for me to pick up. js part I just use htmx - Events, pretty much covers what I needed

on the other hand, reitit is very painful, I still can't get things connected together

however the new workflow I setup with tools.build is very slick, repl driven is unbeatable


to update a file in a jar:

$ jar -uf /path/to/myapp.jar -C resources config.edn

Wednesday, February 08, 2023

TIL eposh converter, right below the converter there're implemetation for different languages


nowadays I just read short articles on kindle, I used KTool: Send web articles, newsletters and RSS feeds to your Kindle for couple weeks, I really like it and subscribed

when a tool requires sending email, usually I will not bother to do it myself

Sunday, February 12, 2023

TIL jc supports convering git log to json

useful for a tool I'm building


a very cool terminal app: Cvaniak/NoteSH: NoteSH fully functional sticky notes App in your Terminal!

what is more interested me is the framework behind it: Textualize/textual: Textual is a TUI (Text User Interface) framework for Python inspired by modern web development.

some good reads:

Thursday, February 23, 2023

I have a datasette docker image, allows csv upload, so that I could skip sqlite-utils conversion

it requires some plugins:

for datasette-jq, it requires pyjq, which is quite difficult for docker, will need build tools before install it:

RUN apt-get install -y make libtool

also need to bind to 0.0.0.0 for ingress:

CMD ["datasette", "-h", "0.0.0.0", "/data"]

I tried datasette-upload-dbs, but it's too difficult to set permissions, just upload to one database is much easier, you just need to hide database by only allowing root actor

also it supposed to be ephemeral


another interesting one is datasette-tiddlywiki

but this one I ran it locally instead of docker

Blog Archive