Introduction
LesliBell is the official notifications and announcements engine for the Lesli Framework.
It provides account-scoped communication tools that integrate with Lesli users, permissions, navigation, and shared application infrastructure.
Features
- User notification feeds with unread counts and read status
- Notification categories for informational, success, warning, and danger messages
- Delivery-channel metadata for web, push, email, dialog, and mobile notifications
- Account-scoped announcements
- Announcement visibility controls, including paths and date ranges
- Pagination and integration with the standard Lesli interface
Try LesliBell
Quick Start
Requirements
- A Rails application with Lesli 5.1 or newer
- SQLite by default, or PostgreSQL when preferred by the host application
Install LesliBell
Add the engine to the host Rails application and prepare its database:
bundle add lesli_bell
bin/rails db:prepareMount the engine
Applications using Lesli's standard router mount LesliBell automatically at /bell:
# config/routes.rb
Rails.application.routes.draw do
Lesli::Router.mount(self)
endIf the application does not use the standard Lesli router, mount the engine directly:
# config/routes.rb
Rails.application.routes.draw do
mount LesliBell::Engine => "/bell"
endStart Rails and visit http://127.0.0.1:3000/bell:
bin/rails serverDevelopment
Clone LesliBell into the host application's engines directory:
cd RailsApp
mkdir -p engines
git clone https://github.com/LesliTech/LesliBell.git engines/LesliBellReference the local engine from the host application's Gemfile:
gem "lesli_bell", path: "engines/LesliBell"Install dependencies, prepare the host database, and start Rails:
bundle install
bin/rails db:prepare
bin/rails serverTests
From a complete Lesli development workspace, run the engine test suite from the LesliBell directory:
cd engines/LesliBell
bin/rails testDocumentation
Community
License
Copyright (c) 2026, Lesli Technologies, S. A.
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.
The complete license text is available in the license file.
