From 59404f51566798ea023a972481e23acf31ff6f74 Mon Sep 17 00:00:00 2001 From: just n Date: Thu, 15 Jan 2026 20:38:15 +0000 Subject: [PATCH] Update README.md --- README.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6fa6a95..ba18427 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,14 @@ # Reminder-XMPP -XMPP Reminder bot in C designed to be lightweight as possible (only 8kb compiled) \ No newline at end of file +XMPP Reminder bot in C designed to be lightweight as possible (only 8kb compiled) + +# How to compile +Install lstrophe to your system and run this after editing first lines of the code with your creds. + +``` +gcc -Os -s -flto -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-stack-protector -fno-asynchronous-unwind-tables -fno-unwind-tables -fno-ident -fno-plt -fmerge-all-constants -Wl,--gc-sections,--as-needed,-z,norelro,-z,noseparate-code,--build-id=none -no-pie -DNDEBUG -o bot reminder.c -lstrophe -lexpat -lssl -lcrypto -lresolv && strip --strip-all -R .comment -R .note -R .n +ote.gnu.build-id -R .note.ABI-tag bot && sstrip bot && upx --ultra-brute bot +``` + +# How to run +After compile run the binary in any system you want \ No newline at end of file