Vic on Nostr: A bit of new features, enhancements, and bug fixes were applied to Corny Chat in ...
A bit of new features, enhancements, and bug fixes were applied to Corny Chat in January.
January 2025 release of Corny Chat
š½ Corny Chat is an open source audio space built on Jam that integrates Nostr and Lightning. A publicly running instance of Corny Chat is accessible at https://cornychat.com/. The following enhancements were made during January 2025.
Web Application
š½ Restricting image uploads to nostr users. This still leverages nostr.build but requires user's to be logged in. Furthermore, personal settings can toggle whether this feature is available.
š Initial Gif Search Implementation. Configurable via environment variables, it leverages lemon's GifBuddy.lol service. For now it only returns the first page of results up to 30. There is some trivial caching performed on the server to reduce the load to the upstream service as well as naive throttling. Within the web application, users can perform a gif search by using the text command: /gif phrase
š Emojis from Custom Emoji Packs are now supported in kinds 0, 1, and 1311 referenced by shortcodes. For user profiles, the emoji shortcodes can be referenced in the name and about fields. Posting a new nostr note or live activity note with shortcodes will include the relevant emoji tag.
š½ Editing user profiles now includes emoji short codes per NIP-30. Other metadata fields when editing the user profile now have an improved structure for aesthetics
š½ Room chat now has improved inline images for username and text with transforms for common social media sources. In addition, the room chat now converts emoji shortcodes to image url before sending to others in room as they may not have the shortcode references. Resizing the chat window now occurs a bit quicker, and timestamps are now assigned a fixed width when they are toggled on. The text entry now has a placeholder informing of the /help command
š½ Live Activity Chat enhancements include emoji tags when emoji shortcodes are referenced. In addition, cash tokens pasted in the text chat are excluded from being posted to live chat.
š User metadata is periodically fetched for peers to acquire emoji shortcodes and improve profile viewing.
š½ More informative error detection when zapping users based on feedback and error codes from lightning custodians.
š Avatars can now support multiple name/user symbols. For testing, Vic has 8 phases of the moon, and Marie retains her wine glass, and gets her rose back. Tekkadan has been awarded the teapot. Enhanced checks have been added to discern if a user has a nip05 or lightning address associated with an unsafe domain.
š Bugfix to zapping room will now use the most recent lightning address assigned, not the address associated with the owner of a room goal. This allows for updates to the room while an event is ongoing.
š Bugfix to Petnames to be removed from local storage when cleared and only set if a value was provided
š Bugfix to the rendering of snowflakes in December and January when animations are enabled.
š Bugfix to no longer require nip07 extension to fetch badges for a user
Server Logic
š Bugfix to recurring scheduled events will clean up old scheduling on the interval if a room is no longer scheduled, or no longer recuring. Warnings will now be more informative to t rack down any future errors.
Configuration
šļø Configuration options for GIF_SEARCH_ENABLED, GIF_SEARCH_ENDPOINT, and GIF_SEARCH_APIKEY have been added to the .env.example and documented in INSTALL.
Thank you for using Corny Chat. Please feel free to provide feedback as github issues, in chat, or on nostr
---
#cornychat @ https://cornychat.com
#foss @ https://github.com/vicariousdrama/cornychat
January 2025 release of Corny Chat
š½ Corny Chat is an open source audio space built on Jam that integrates Nostr and Lightning. A publicly running instance of Corny Chat is accessible at https://cornychat.com/. The following enhancements were made during January 2025.
Web Application
š½ Restricting image uploads to nostr users. This still leverages nostr.build but requires user's to be logged in. Furthermore, personal settings can toggle whether this feature is available.
š Initial Gif Search Implementation. Configurable via environment variables, it leverages lemon's GifBuddy.lol service. For now it only returns the first page of results up to 30. There is some trivial caching performed on the server to reduce the load to the upstream service as well as naive throttling. Within the web application, users can perform a gif search by using the text command: /gif phrase
š Emojis from Custom Emoji Packs are now supported in kinds 0, 1, and 1311 referenced by shortcodes. For user profiles, the emoji shortcodes can be referenced in the name and about fields. Posting a new nostr note or live activity note with shortcodes will include the relevant emoji tag.
š½ Editing user profiles now includes emoji short codes per NIP-30. Other metadata fields when editing the user profile now have an improved structure for aesthetics
š½ Room chat now has improved inline images for username and text with transforms for common social media sources. In addition, the room chat now converts emoji shortcodes to image url before sending to others in room as they may not have the shortcode references. Resizing the chat window now occurs a bit quicker, and timestamps are now assigned a fixed width when they are toggled on. The text entry now has a placeholder informing of the /help command
š½ Live Activity Chat enhancements include emoji tags when emoji shortcodes are referenced. In addition, cash tokens pasted in the text chat are excluded from being posted to live chat.
š User metadata is periodically fetched for peers to acquire emoji shortcodes and improve profile viewing.
š½ More informative error detection when zapping users based on feedback and error codes from lightning custodians.
š Avatars can now support multiple name/user symbols. For testing, Vic has 8 phases of the moon, and Marie retains her wine glass, and gets her rose back. Tekkadan has been awarded the teapot. Enhanced checks have been added to discern if a user has a nip05 or lightning address associated with an unsafe domain.
š Bugfix to zapping room will now use the most recent lightning address assigned, not the address associated with the owner of a room goal. This allows for updates to the room while an event is ongoing.
š Bugfix to Petnames to be removed from local storage when cleared and only set if a value was provided
š Bugfix to the rendering of snowflakes in December and January when animations are enabled.
š Bugfix to no longer require nip07 extension to fetch badges for a user
Server Logic
š Bugfix to recurring scheduled events will clean up old scheduling on the interval if a room is no longer scheduled, or no longer recuring. Warnings will now be more informative to t rack down any future errors.
Configuration
šļø Configuration options for GIF_SEARCH_ENABLED, GIF_SEARCH_ENDPOINT, and GIF_SEARCH_APIKEY have been added to the .env.example and documented in INSTALL.
Thank you for using Corny Chat. Please feel free to provide feedback as github issues, in chat, or on nostr
---
#cornychat @ https://cornychat.com
#foss @ https://github.com/vicariousdrama/cornychat