xim-id is a program that generates a xim-id — a quazi‐ monotonically‐increasing unique‐identifier that fit within 64-bits (i.e, 8-bytes), and is safe to use as a file or directory name.
Find a file
2025-09-13 22:33:11 -07:00
arg codeberg 2025-09-13 21:39:24 -07:00
lib/opt initial commits 2021-11-24 13:19:12 -08:00
.gitignore initial commits 2021-11-07 23:23:18 -08:00
decompile.go updated go-xim 2025-09-13 22:33:11 -07:00
exits.go initial commits 2021-11-08 19:48:03 -08:00
generate.go updated go-xim 2025-09-13 22:33:11 -07:00
go.mod updated go-xim 2025-09-13 22:33:11 -07:00
go.sum updated go-xim 2025-09-13 22:33:11 -07:00
LICENSE initial commits 2021-11-07 22:26:13 -08:00
main.go codeberg 2025-09-13 21:39:24 -07:00
README.md codeberg 2025-09-13 21:39:24 -07:00

xim-id

The program xim-id a xim-id

xim-ids are quazi‐ monotonically‐increasing unique‐identifiers that fit within 64-bits (i.e, 8-bytes), that are safe to use as a file or directory name, and where lexical-ordering of the xim-id (under Unicode & ASCII) is in-practice also temporal-ordering of the xim-id (almost all of the time)

Example xim-id

A xim-id looks something like this:

xi-556PVvNyq3m

Usage №1

To use the program xim-id, run it as following:

xim-id

This will output a xim-id, such as:

xi-557ksIsNSRm

… with a trailing new-line at the end.

Usage №2

To do almost exactly the same as that, but with no trailing new-line line, use the program xim-id as follows:

xim-id -n

Usage №3

To do almost exactly the same as usage №1, but where one specifies the time using unix-time, use the program xim-id as follows:

xim-id --unixtime=189368700

Usage №4

And again, to do almost exactly the same as usage №3, but with no trailing new-line line, use the program xim-id as follows:

xim-id -n --unixtime=189368700

Usage №5

To take a xim-id (such as xi-557ksIsNSRm) and decompile it into its unix-time timestamp and its chaos, run the program xim-id as follows:

xim-id decompile xi-557ksIsNSRm

xim-id

For more information on xim-ids see: