Remy's tinylog

This tinylog is available only on gemini.

Home

Feed

Tinylog is specified on Barcardi55's site:

Barcardi55's site

author: @remy

avatar: 🐑

licence: CC-BY-NC-SA (Attribution, Non-Commercial, and Share Alike)

2023-09-12 20:37 +0200

I created Patate, an ascii art editor for the terminal (linux) using the latest unicode 15.

Available at:

gemini://gmi.noulin.net/patate/

2023-09-12 08:22 +0200

Here is a mandelbrot fractal viewer for the terminal

gemini://gmi.noulin.net/mandelbrot.gmi

2023-08-31 16:33 +0200

I’ve got my librem 5 phone today. I ordered it on the 2021-07-08. I used it for 5 minutes and on startup it asks for disk encryption key and unlock code, it is both 123456.

The password for the purism user is also 123456.

The default interface of Pureos (debian based) is good, it runs Gnome and Wayland.

Source code:

https://source.puri.sm/explore/

https://source.puri.sm/explore/snippets

Forum:

https://forums.puri.sm/

2023-08-28 13:40 +0200

Greg KH: Kernel Recipes 2019 - CVEs are dead, long live the CVE!

https://www.youtube.com/watch?v=HeeoTE9jLjM

2023-08-15 12:26 +0200

Someone connected to my radio station (see below).

I'm not alone :)

2023-08-12 21:24 +0200

Real world onion sites

https://github.com/alecmuffett/real-world-onion-sites

2023-07-30 20:12 +0200

Here is the radio program, it is a chat system using UDP on port 1886 to transmit the message.

The messages are encrypted, each time radio is turned on, new secret/public key pairs are generated and exchanged with the server (radio station).

If you are behind NAT, you should forward port 1886 to the machine running radio, without this you won't get any signal from the radio station.

The UI is in the terminal and works with the mouse like a GUI.

gemini://gmi.noulin.net/radio.gz

http://gmi.noulin.net/radio.gz

To start radio, run:

wget http://gmi.noulin.net/radio.gz
gunzip radio.gz
chmod 755 radio
./radio

Screenshots:

png screenshot

txt screenshot (download the txt file and use `cat` to view it)

The source code is available at:

gemini://gmi.noulin.net/radio.tar.gz

It is written in C, it depends on:

my sheepy build system and library

libsodium

The main file is `radio.c`, `radioStation.c` is the server and `radioSignal.*` implements the protocol.

The `twid` (terminal widgets) is the TUI built on my version of termbox.

Comments on station

2023-07-29 15:11 +0200

Make the web great again

https://koshka.love/mwwwga.html

2023-07-18 15:31 +0200

The sheep was too close to the camera.

IMG_2185

2023-07-11 16:55 +0200

The EU is going to water down the GDPR.

gemini://gmi.noulin.net/mobileNews/6677.gmi

2023-07-11 09:38 +0200

Compiling spartclient in alpine:

apk add gcc
apk add musl-dev
gcc spartclientudp.c -o spartclientudp

gemini://gmi.noulin.net/spartclientudp.c

spartserv git repository

My post on station

2023-07-07 16:40 +0200

Virt manager: Error starting domain Requested operation is not valid network default is not active

Run:

sudo virsh net-start default

2023-06-26 20:06 +0200

How to generate a qrcode in utf8 to be displayed in the terminal?

qrencode -t utf8 "text"

2023-06-23 20:22 +0200

I'm using gneto. Gneto is a personal HTTP proxy for the Gemini protocol.

I use gneto because I have an iPad 2 and there is no gemini client.

The source code is available at:

gneto

There are pre-build binaries at:

https://paulgorman.org/software/gneto/

Start the proxy like this (default port is 8065):

./gneto -addr 192.168.1.1

On the web browser, enter the address:

http://192.168.1.1:8065/

and start browsing gemini pages.

2023-06-22 21:10 +0200

How to build dukling-proxy:

sudo apt-get install golang
git clone https://github.com/LukeEmmet/duckling-proxy
cd duckling-proxy
openssl req -new -x509 -nodes -out duckling.crt -days 10000 -keyout duckling.key -subj "/CN=duckling.proxy" -newkey rsa:4096
make

I run duckling like this:

~/bin/duckling --serverCert ~/bin/duckling.crt --serverKey ~/bin/duckling.key --port 1966 --address 192.168.1.1 --emitImagesAsLinks

With emitImagesAsLinks, the images are viewable in lagrange.

2023-06-16 09:00 +0200

I get a warning on FreeBSD when I compile a C file which include a precompiled header.

sorry, unimplemented: PCH allocation failure

I use gcc:

gcc version 12.2.0 (FreeBSD Ports Collection)

It doesn't compile successfully, lots of symbols are not found.

When I delete the precompiled headers, it is ok.

2023-06-15 07:59 +0200

strlcpy is in glibc!

commit 454a20c8756c9c1d55419153255fc7692b3d2199

Author: Florian Weimer <fweimer@redhat.com>

Date: Wed Jun 14 18:10:08 2023 +0200

Implement strlcpy and strlcat [BZ #178]

These functions are about to be added to POSIX, under Austin Group

issue 986.

The fortified strlcat implementation does not raise SIGABRT if the

destination buffer does not contain a null terminator, it just

inherits the non-failing regular strlcat behavior.

Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>

2023-06-12 18:24 +0200

I created a spartan TUI browser for terminals in linux.

bato.gz (gziped elf executable)

bato screenshot

bato displaying a markdown file

Use gemget to download bato:

gemget gemini://gmi.noulin.net/bato.gz
or
wget http://gmi.noulin.net/bato.gz (works from networks not infested by botnets)

It can display gemtext and markdown (.gmi and .md) on remote servers and in local paths.

(it is an alpha version, not tested, I have only time to correct bugs)

2023-06-11 21:22 +0200

I found an interesting article about GNUnet GNS (distributed DNS)

gemini://gemini.clehaxze.tw/gemlog/2023/06-11-introduction-to-gnunet-gns.gmi

2023-06-07 21:04 +0200

Daft Punk likes the Apple Vision Pro.

2023-06-07 08:26 +0200

Configuration of the email to tinylog tools:

- getmail to download the email

Create the file ~/.config/getmail/getmailrc, with this content:

[retriever]
type = SimpleIMAPSSLRetriever
server = example.com
username = user@example.com
password = !@#$@#$

[destination]
type = Maildir
path = ~/mail/

[options]
read_all = False

- ripmime options

ripmime -i ~/mail/emailFile -d ~/emailParts

The email parts are written to the ~/emailParts directory.

- imagemagick options

convert sourceImage.jpg -auto-orient destinationImage.jpg

This rotates the photo 90 degrees when it is taken vertically.

- exiftool options

exiftool -EXIF= image.jpg
rm image.jpg_original

This removes the exif data: location, time,...

2023-06-05 10:44 +0200

We take the bus boat today 🛥️.

image0

2023-06-05 08:57 +0200

I found an arcade machine in my hotel.

4/image.jpg

2023-06-01 12:35 +0200

Chart of the Week: Housing marker risk indicators (IMF)

There is a higher risk in: Canada, Australia, Luxembourg, Norway, Sweden, Netherlands and USA.

3/housing.png

Chart

IMF chart of the week

IMF article

2023-05-31 18:17 +0200

My tinylog has been added to the aggregator

Tinylog aggregator

Is it automated?

2023-05-31 11:04 +0200

I use a string of tools on the server to post tinylogs by email:

- getmail to download the email

- ripmime to extract mime parts for the email, I get one file per part

- imagemagick to rotate the images

- exiftool to remove the exif data

2023-05-31 08:55 +0200

My tinylogs posted by email support photo attachments.

IMG_1893

2023-05-31 08:36 +0200

My first tinylog created by email.

2023-05-28 15:47 +0200

I changed gmnisrv to accept control codes in queries.

Now it is possible to post tinylogs with new lines in CGI

2023-05-28 14:35 +0200

The CGI posts have to be on one line for now.

2023-05-28 14:16 +0200

Lets post a tinylog from CGI

2023-05-28 08:36 +0200

I post logs from the terminal

2023-05-28 08:35 +0200

A log with multiple lines.

I write the text with vim and then call a script to update the tinylog

2023-05-28 07:52 +0200

Now I'm using gemget to download files from gemini site, it works like wget

https://github.com/makew0rld/gemget/

2023-05-28 07:24 +0200

Tinylog is interesting

2023-05-27 21:18 +0200

Hello.