
Security News
New Website “Is It Really FOSS?” Tracks Transparency in Open Source Distribution Models
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
Gem to create letter avatars from users name (or any string). It uses HTML canvas to generate the image (base64).
Based on Lee Crossley's gist
Add this line to your application's Gemfile
:
gem 'avatarize'
Add the following to application.js
:
//= require avatarize
window.addEventListener("turbolinks:load", Avatarizer.processAll);
// Or this if not uing turbolinks
window.addEventListener("load", Avatarizer.processAll);
To create an avatar:
<%= avatar_tag 'Avatarize' %>
# Custom size
<%= avatar_tag 'Avatarize', 200 %>
# Other html attributes
<%= avatar_tag 'Avatarize', nil, class: 'rounded-circle', title: 'Avatar' %>
Bug reports and pull requests are welcome.
bundle
and bundle exec rake
The gem is available as open source under the terms of the MIT License.
FAQs
Unknown package
We found that avatarize demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
Security News
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
Security News
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.