diff --git a/img/iron.png b/img/iron.png deleted file mode 100644 index 0b3bb77..0000000 Binary files a/img/iron.png and /dev/null differ diff --git a/img/notif.png b/img/notif.png deleted file mode 100644 index 64b3c74..0000000 Binary files a/img/notif.png and /dev/null differ diff --git a/img/rchat-tput.png b/img/rchat-tput.png deleted file mode 100644 index f9f5b9f..0000000 Binary files a/img/rchat-tput.png and /dev/null differ diff --git a/img/rchat.png b/img/rchat.png deleted file mode 100644 index cc18795..0000000 Binary files a/img/rchat.png and /dev/null differ diff --git a/img/rchatdebloater.png b/img/rchatdebloater.png deleted file mode 100644 index dd0fe47..0000000 Binary files a/img/rchatdebloater.png and /dev/null differ diff --git a/img/rfarmi.png b/img/rfarmi.png deleted file mode 100644 index 45b9a24..0000000 Binary files a/img/rfarmi.png and /dev/null differ diff --git a/projects/iron.php b/projects/iron.php index 786f5b3..c5eb93e 100644 --- a/projects/iron.php +++ b/projects/iron.php @@ -11,7 +11,6 @@

iron

- image

What is iron?

iron is a minimal rautafarmi client written in Bash for GNU/Linux. It allows the user to post/recieve messages using the rautafarmi API and it displays the information to the user in a nice format. iron is based on the older rchat rautafarmi client that used messages.txt to get messages.

Why should I use iron over rchat?

@@ -60,24 +59,24 @@

Patches

To submit patches, Create a pull request with your patch in the patches branch or send me an email. Patches can be generated using the 'diff -up' command on a GNU/Linux system.

- +

tput colors

This patch replaces the ANSI escape codes with tput commands. This allows for more colors and also allows you to separate your iron color scheme from your terminal color scheme (Useful if you use Pywal).

NOTE: The 1.1 version is compatible with 1.2 too.

iron-tputcols-1.0.diff iron-tputcols-1.1.diff - +

Embed Image

This patch adds new image functionality to iron. Specifically it allows you to post images (using the imgurl field). To post an image, simply add the link somewhere in your message. It will be moved to the Image URL field before the post is sent to the instance.

NOTE: The 1.1 version is compatible with 1.2 too.

iron-embed-image-1.0.diff iron-embed-image-1.1.diff - +

.Xresources

This patch adds xrdb or .Xresources support to iron. Note that values must be defined with the 'iron' prefix to be used. You may modify the patch to use any values if you want which would enable Pywal support.

NOTE: The 1.0 version is compatible with 1.1 and 1.2 too.

iron-xresources-1.0.diff - +

History

This patch adds keybinds for viewing older/newer messages. If you press 'u', you will see the newest messages. If you press 'd', you will go down the history.

Do note that this requires parsing ALL messages, not just the terminal size meaning loading messages takes longer. Because of this, there are two variants. The regular variant will download and parse every single message on load and then will not parse it again. The ondemand variant will only parse the old messages when navigating through the history. I personally prefer this variant!

@@ -85,51 +84,51 @@ iron-viewhist-ondemand-1.1.diff iron-viewhist-1.2.diff iron-viewhist-ondemand-1.2.diff - +

Nickname

This patch allows the user of iron to set nicknames for themselves. It will be saved until the ':reset' command is used (data is cleared) or the nickname is changed.

Once a nickname is set, messages will be sent with it. To set a nickname, simply use the ':set nickname' command.

iron-nickname-1.1.diff iron-nickname-1.2.diff - +

Hide messages

This patch adds two commands, ':hide' and ':show'. The hide command will open all messages sent inside $EDITOR (or Vim if $EDITOR is not defined) and allow the user to make changes. A patch will then be created that will be applied on startup. The show command does the complete opposite, it reverts the patch.

This means the patch is useful for other things because it allows you to modify the messages in any way you want (or even create new ones client side).

NOTE: The 1.1 version is compatible with 1.2 too.

iron-hidemessages-1.1.diff - +

Notification

This patch implements notification support. With this patch, the latest message along with the username will be sent as a notification. It requires a notification daemon and libnotify-send to work. If it is not available, no notification will be sent.

NOTE: The 1.0 version is compatible with 1.1 and 1.2 too.

iron-notification-1.0.diff - +

Open URL

This patch adds a keybind to open a URL. To open the latest image sent (using the image field), you use the ':i' command. To open the latest URL sent (using the message field), you use the ':o' command. By default this patch uses xdg-open but you can change the browser to anything you want.

NOTE: The 1.0 version is compatible with 1.1 and 1.2 too.

iron-openurl-1.0.diff - +

Insert mode editor

This patch replaces the 'i' bind with the action of the ':e' command. You can still access the old insert mode by pressing 'e' though.

iron-itoedit-1.0.diff iron-itoedit-1.1.diff iron-itoedit-1.2.diff - +

Art

This patch allows you to add art or general text to display in the iron starter menu.

NOTE: The 1.0 version is compatible with 1.1 and 1.2 too.

iron-art-1.0.diff - +

Refresh Zoom

This patch allows iron to refresh its borders and messages based on terminal size without any reloading. This is done inside the IRON_HEADER function so any time the header is printed, the size is updated first.

Was considering merging this into main but decided not to as not everyone would want this!

iron-refreshzoom-1.2.diff - +

Hide status

This patch removes the iron version number, all separators and the instance status from the chat area so that all space (minus two lines) will be used for messages.

iron-hidestatus-1.0.diff iron-hidestatus-1.1.diff iron-hidestatus-1.2.diff - +

speedie's combo patch

This patch is a combo patch. It adds embed image, hide messages, i to edit, nickname, tput colors and view history patches into one patch that can be applied to a clean iron build.

This diff was created for use with the Gentoo ebuild (because a few of the patches I use conflict with each other). If you want these patches, simply apply this patch.

@@ -137,7 +136,7 @@ iron-speedie-1.1.diff iron-speedie-1.2.diff iron-speedie-1.2-r2.diff - +

License

iron, along with any contributions made to it (such as all user-submitted patches) are licensed under the GNU GPLv3 free software license.

Issues

diff --git a/projects/rchat.php b/projects/rchat.php index d9386e7..4a9e7b4 100644 --- a/projects/rchat.php +++ b/projects/rchat.php @@ -12,7 +12,6 @@

rchat

rchat is a command-line rautafarmi instance client with Vim keybinds written in Bash. (also works in zsh)

- image

It is very customizable and is customized through editing with an editor.

Features