Skip to content

Instantly share code, notes, and snippets.

View cbldev's full-sized avatar
🇫🇷

Cyril Blaecke cbldev

🇫🇷
View GitHub Profile
@cbldev
cbldev / LICENSE.md
Created August 18, 2025 20:45
HEAL License draft

Health, Environment, and Altruism License (HEAL)

Introduction:

The Health, Environment, and Altruism License (HEAL) is designed to allow the use, modification, and distribution of software under conditions that promote health, environmental sustainability, and human rights. It imposes strict usage restrictions to ensure these technologies benefit only these sectors.

Permissions and Restrictions:

  1. Permissions: The software can be used, copied, modified, merged, published, distributed, sublicensed, and/or sold, subject to the following conditions.
@cbldev
cbldev / #ChatGPT Streaming.md
Created June 16, 2024 12:56 — forked from alexrudall/#ChatGPT Streaming.md
ChatGPT streaming with ruby-openai, Rails 7, Hotwire, Turbostream, Sidekiq and Tailwind!

How to add ChatGPT streaming to your Ruby on Rails 7 app!

This guide will walk you through adding a ChatGPT-like messaging stream to your Ruby on Rails 7 app using ruby-openai, Rails 7, Hotwire, Turbostream, Sidekiq and Tailwind. All code included below!

Alt Text

First, add the ruby-openai gem! Needs to be at least version 4. Add Sidekiq too.