saci
Saci
Saci is a full-stack web framework for Crystal. It borrows the conventions and vocabulary of Ruby on Rails (MVC, resources routing, Active Record-style models, migrations, jobs, mailers, channels) and builds them on Crystal's stdlib HTTP::Server, with compile-time code generation in place of runtime metaprogramming.
You get one shard and a single compiled binary. SQLite works out of the box, PostgreSQL and MySQL are supported, and Redis is optional. Every subsystem is built with the standard library: Saci vendors small pure-Crystal implementations instead of linking extra C libraries.
require "saci"
class PostsController < Controller
def index
render json: Post.where(published: true).order(created_at: :desc).limit(20).to_a
end
end
router = Router.new.draw do |r|
r.resources "posts", PostsController, only: [:index]
end
Application.new(router).listen(3000)
- What's included
- Installation
- Quick start
- Framework names
- CLI
- Configuration and middleware
- Routing
- Controllers
- Models (
Saci::Record) - Databases
- Schema snapshots and drift check
- Views
- Frontend: Turbo, Stimulus, importmap
- Rich text
- WebSockets
- Background jobs
- Mailers
- Inbound email
- Storage and attachments
- Caching
- Rate limiting
- Security
- Authorization, serializers, search, audit
- GraphQL
- Spreadsheets, PDF and CSV
- Localization and time zones
- Logging and metrics
- Multithreading
- Environments, credentials, deployment
- Testing
- How Saci differs from Rails
- Developing Saci
What's included
| Area | What you get |
|---|---|
| HTTP | Router with resources, namespaces, constraints and optional segments; named route helpers; controllers with filters, rescue_from, respond_to; a configurable middleware stack (CORS, host authorization, trusted proxies, static files, gzip, /up, body limits) |
| Data | Saci::Record ORM for SQLite, PostgreSQL and MySQL: associations, validations, callbacks, dirty tracking, exact decimals, enums, nested attributes, locking, bulk writes, migrations, introspection, schema snapshots, SQLite FTS5 |
| Views | ECR templates, layouts, partials, form builders, asset pipeline with fingerprinting, fragment caching, Turbo Frames/Streams, Turbo Drive, Stimulus, importmap, PWA assets |
| Background | Jobs (:async, :inline, :test, durable :db) with retries, priorities, uniqueness, batches and continuations; recurring jobs (cron); dashboard |
| Messaging | Mailers (SMTP, sendmail, SendGrid, Mailgun, Postmark, SES, DKIM, attachments, previews); inbound email (mailboxes, routing, ingress) |
| Realtime | ActionCable-compatible WebSocket channels, with in-process, Redis or database fan-out |
| Security | CSRF, CSP with nonces, secure headers, signed and encrypted cookies, pluggable session stores, has_secure_password, auth helpers, signed IDs, JWT, TOTP 2FA, rate limiting, encrypted credentials |
| Extras | Storage with signed URLs, blobs, attachments, direct uploads and S3; rich text; GraphQL; XLSX/PDF/CSV; serializers; policies; search; audit trail; I18n; time zones; metrics; structured logging |
| Tooling | saci CLI (new app scaffold, generators, db:* tasks, routes, runner, console, hot reload, credentials, local CI) and a testing kit (fixtures, factories, transactional tests, assertions, time travel, assert_select, browser system tests) |
Installation
Requirements:
- Crystal >= 1.0.0 (developed against 1.22)
libpcre2,libssl,libgcandzlibavailable to the linker
Build the CLI from a checkout:
git clone https://github.com/pedrohvsouza/saci.git
cd saci
shards install
shards build saci # -> bin/saci
Or add Saci to an existing shard:
dependencies:
saci:
github: pedrohvsouza/saci
saci new writes a path: dependency pointing at the checkout the CLI was built from, so freshly generated apps compile right away.
Quick start
saci new blog # --db=postgres|mysql, --devcontainer
cd blog
saci generate scaffold Post title:string body:text published:boolean
saci db:migrate
saci serve --watch # http://127.0.0.1:3000
The generated app is a regular Crystal project:
blog/
src/blog.cr # entrypoint: requires, configuration, routes, listen
src/controllers/ # ApplicationController + your controllers
src/models/ # ApplicationRecord + your models
src/jobs/ src/mailers/ src/channels/ # ApplicationJob, ApplicationMailer, ApplicationChannel
src/views/ # ECR templates and layouts
config/ # environments, initializers, database.yml, credentials
db/migrate/ db/migrations.cr db/migrate.cr db/seed.cr
spec/ # model and request specs
bin/ # saci, ci, docker-entrypoint, kamal, ...
public/ Dockerfile config/deploy.yml .github/workflows/
The repository also contains runnable examples:
crystal run examples/basic_app.cr # JSON API
crystal run examples/record_example.cr # ORM
crystal run examples/cable_example.cr # WebSocket chat
crystal run examples/forem_lite_app.cr # demo community app using most subsystems
Framework names
Framework types live in the Saci module, and require "saci" includes that module at the top level, so app code uses them without the prefix. Module methods keep it, like Rails.logger:
class Post < Record::Base # Saci::Record::Base
end
class PostsController < Controller # Saci::Controller
rescue_from Record::RecordNotFound do |_ex|
Saci.logger.warn { "not found" }
head :not_found
end
end
Names your app defines at the top level win over Saci's: an app Session model stays the app's, and Time and DB are always the stdlib and crystal-db ones. The full Saci:: path always works. Compile with -Dsaci_namespaced to skip the include and keep every framework type behind Saci::.
Generated apps follow Rails: the prefix appears once per kind, in the base classes (ApplicationRecord < Saci::Record::Base, ApplicationController, ApplicationJob, ApplicationMailer, ApplicationChannel), and in the files under config/, spec/spec_helper.cr and db/migrate.cr. Those files then still compile if the app adds a model named like a framework type, such as Session or Job. Generated models, controllers, jobs, mailers, channels, migrations, specs and routes use the short names.
CLI
saci new NAME [--db=sqlite|postgres|mysql] [--devcontainer] [--saci-path PATH] [--skip-git] [--skip-shards]
saci generate KIND NAME [fields...] [--pretend] [--force]
saci destroy KIND NAME
saci serve [--port 3000] [--host] [--watch] [--mt [--workers N]] [-- crystal flags]
saci test [spec paths|file:line] [--watch] [--rebuild] [--fail-fast ...] [-- crystal flags]
saci routes [--grep PATTERN] [--boot [-- crystal flags]]
saci views:check [PATH]
saci runner -e CODE | saci runner FILE [args]
saci console [-e CODE]
saci db:migrate [--all|--database=NAME] | db:rollback [STEPS] [--all|--database=NAME] | db:seed
saci db:prepare | db:setup | db:reset | db:create | db:drop | db:version | db:migrate:status
saci db:schema:dump [--all|--database=NAME] | db:schema:load [--database=NAME] | db:schema:check [--all]
saci credentials:show | credentials:edit | credentials:keygen
saci credentials:get KEY | credentials:set KEY VALUE|--stdin | credentials:unset KEY
saci assets:precompile [--source DIR] [--output DIR] | assets:clobber
saci task NAME | task:list
saci importmap:install | importmap:pin | importmap:json
saci ci | app:update | secret | about | stats | notes | middleware | initializers
Generators: model, controller, migration, scaffold, scaffold_controller, resource, admin, authentication, channel, job, mailer, task, helper, test, integration_test, system_test, benchmark, application_record.
- Generators write the files, rebuild
db/migrations.crfromdb/migrate/*.cr, and insert the routes into the app'sRouter.new.drawblock (orsrc/routes.crwhen present), reusing an existing/adminnamespace. They print the copy-paste hint only when no draw block is found, andsaci destroyremoves the inserted lines. Migration names starting withAddIndex...(or--unique) generateadd_index. - If a target file already exists with different content, the generator asks
overwrite? [y/n/a/q]on a TTY. Piped input never blocks: EOF skips with a warning. Use--forcein CI.--pretendshows what would be created, with a preview of each file, and writes nothing. destroyremoves only files the matching generator owns. It prompts when a file differs from what the generator would produce now.db:migrateanddb:rollbackrun the standalonedb/migrate.crrunner, which loads the models but never boots the web server.--allalso covers every named database registered throughDATABASE_URL_<NAME>, and--database=NAMEtargets one named database. After each run the runner prints schema drift warnings.db:versionanddb:migrate:statustake the same flags and read each database against its own migrations (db/<name>_migrate/); without either flag they report on primary only.routesparses the route DSL statically, with no compilation, and printsVERB PATH -> Controller#action. Routes drawn in loops or helper methods are invisible to that parse;routes --bootcompiles the app and prints the router it actually builds (it setsSACI_ROUTES_DUMP, so the app prints its routes and exits before binding a port).views:checkreads templates through Crystal'sECR::Lexer, so multiline tags,<%# %>comments,<%%escapes and<%- -%>trim markers are interpreted the same way the compiler interprets them. It flags block helpers written as<%= helper do %>, ECR tags inside Crystal string literals,render_partial/render partial:targets with no file, and explicit layouts (layout: "admin") with nosrc/views/layouts/admin.ecr. When PATH is aviewsdirectory, layout options in the siblingsrc/controllers/**/*.crare checked too. Dynamic names ("#{...}") andlayout: falseare skipped; the implicitapplicationlayout is not checked. Each issue prints asfile:lineand the command exits 1, so it can gate CI (for exampleSaci::CI.run "Views", "saci views:check"inconfig/ci.crwhere thesacibinary is installed).- When the port is taken,
serve(before compiling) andApplication#listenmove on to the next free port and print which one they picked, instead of raisingAddress already in use. saci newdepends on Saci from GitHub (version: ~> X.Y.Z), so the app builds on any machine and in Docker.--saci-path PATHuses a local checkout (path:) instead.credentials:setwrites one dotted key without an editor (saci credentials:set admin.password --stdin < secret.txt), which works in scripts and CI.credentials:getprints one value;credentials:unsetremoves it.assets:precompilecopiessrc/assetsintopublic/assetswith SHA-256 fingerprints plus a manifest, soasset_pathreturns digested URLs.assets:clobberremoves only what it wrote.runnerandconsolecompile a temporary wrapper undertmp/with models, initializers and the database connection loaded. Crystal has no runtime eval, soconsolerecompiles on every line. Put multi-line code in a file. The wrapper is always written to the same path (tmp/.saci-runner.cr), so each compile reuses the compiler's object cache from the previous one; the same goes fortask,ciand thedb:*commands.serve --watchpolls the source tree, rebuilds withcrystal buildand restarts a single supervised binary. Build failures wait for the next save. Path dependencies (such as a local Saci checkout) are watched too.- Every command that compiles (
serve,test,runner,console,routes --boot,db:*) shows a progress line while the compiler runs (⠹ Compiling app… 4.2s, then✓ Compiled app in 11.8s) and prints the compiler's warnings or errors after it. The animation only runs on a terminal; pipes and CI get two plain lines.SACI_SPINNER=0turns it off,SACI_SPINNER=1forces it. ciruns the steps declared inconfig/ci.crwithCI.stepandCI.run.app:updatere-applies the scaffold, prompting before it changes any file you edited.
Configuration and middleware
Saci.configure do |config|
config.hosts = ["example.com", "www.example.com"]
config.trusted_proxies = ["10.0.0.0/8"]
config.assume_ssl = true
config.force_ssl = true
config.max_request_body = 10.megabytes
config.cors do |cors|
cors.allowed_origins = ["https://app.example.com"]
end
config.middleware.use MyAuthHandler.new(secret: ENV["SECRET"])
config.middleware.use TimingHandler, header: "X-Timing"
config.middleware.insert_before Middleware::Static, RequestId.new
config.middleware.delete Middleware::HostAuthorization
end
A middleware is a plain HTTP::Handler. Built-in handlers can be disabled at runtime and still work as insert_before / insert_after / swap targets. saci middleware prints the resolved chain.
Boot hooks:
Initializers.before_configuration { Saci.log_level = :debug }
Initializers.to_prepare { } # re-run on reload; keep it idempotent
Initializers.after_initialize { } # once, after configuration
Generated apps load config/initializers/*.cr and config/environments/<APP_ENV>.cr. Declarative YAML lives in config/ (database.yml, cache.yml, queue.yml, cable.yml, storage.yml, server.yml). ERB-style <%= ENV["X"] %> tags in those files are interpolated before parsing. Read them with Saci.config_for(:name).
Routing
router = Router.new.draw do |r|
r.root HomeController, :index
r.resources "posts", PostsController do |s|
s.member { |m| m.post :upvote } # POST /posts/:id/upvote
s.collection { |c| c.get :search } # GET /posts/search
s.resources "comments", CommentsController
end
r.resource "profile", ProfileController # singular resource
r.namespace :admin do |a|
a.resources "posts", Admin::PostsController
end
r.get "/top(/:length(/page/:page))", StoriesController, :top
r.get "/~:username", UsersController, :show
r.constraints(id: /\d+/) { |c| c.get "/s/:id", StoriesController, :show }
r.redirect("/u/:username", to: "/~%{username}", status: 301)
r.get("/ping") { |ctx, _params| ctx.response.print("pong") }
r.fallback ErrorsController, :not_found
end
resourcesgenerates the seven REST actions (only:andexcept:filter them). Nested resources become/posts/:post_id/comments.shallow,concern,direct,resolveandmountbehave as in Rails.- Segments can carry literal prefixes and suffixes (
/~:user,/avatars/:name.png). Parenthesized groups such as(.:format)are optional.*splatcaptures the rest of the path. - POST forms can tunnel PUT, PATCH and DELETE through a hidden
_methodparameter.
Named helpers come in two flavors. Compile-time helpers are generated from the same DSL, so a typo is a compile error:
Routes.define AppRoutes do |r|
r.resources "posts", PostsController do |s|
s.member { |m| m.post :upvote }
end
end
AppRoutes.post_path(12) # "/posts/12"
AppRoutes.edit_post_path(12) # "/posts/12/edit"
AppRoutes.upvote_post_path(4) # "/posts/4/upvote"
Runtime lookup works on any drawn router and from controllers and views: path_for(:post, 12), url_for(...), polymorphic_path(post), polymorphic_path([post, comment]), dom_id(post), and router.recognize_path("/posts/1").
Controllers
class PostsController < ApplicationController
before_action :require_login, except: [:index, :show]
around_action :with_timing
rescue_from Record::RecordNotFound do |_ex|
render json: {error: "not found"}, status: :not_found
end
def index
respond_to do |f|
f.html { render_template :index }
f.json { render json: Post.all.to_a }
f.rss { render xml: rss_feed(title: "Posts", link: "/posts", description: "latest", items: items) }
end
end
def create
post = Post.new(title: params["title"]?, body: params["body"]?)
if post.save
redirect_to path_for(:post, post.id)
else
render_template :new, status: 422
end
end
private def with_timing(&)
elapsed = Time.measure { yield }
Saci.logger.info { "took #{elapsed}" }
end
end
- Filters:
before_action,after_action,around_action, theprepend_*variants andskip_*_action, all withonly:/except:. A before filter that renders or redirects halts the chain. - Rendering:
render json:/html:/text:/plain:/xml:/body:/file:,render_template,render_partial,render_to_string,head,redirect_to,redirect_back(fallback_location:),send_fileandsend_data.status:accepts integers or symbols (:created,:unprocessable_content, ...). redirect_torejects cross-host URLs unless you passallow_other_host: true.- Params: path, query, JSON, form and multipart bodies are merged into one tree:
params.require(:post).permit(:title, tags: [] of String),params.expect(...),params.dig,params.array,params.file.wrap_parametersnests JSON bodies under a root key. - HTTP auth:
authenticate_or_request_with_http_basic,authenticate_with_http_token,http_basic_authenticate_with. - Also available:
rate_limit to: 10, within: 1.minute,allow_browser versions: :modern, request host helpers (request.host,request.subdomain,request.ssl?), and conditional GET (see Caching). - Any public method that takes no arguments is an action. Keep helpers private or give them parameters (see How Saci differs from Rails).
Models (Saci::Record)
class CreatePosts < Record::Migration
def change
create_table :posts do |t|
t.string :title, null: false
t.decimal :price, precision: 10, scale: 2
t.enum :status, values: ["draft", "published"]
t.references :user, foreign_key: true
t.timestamps
end
add_index :posts, :title
end
end
class Post < ApplicationRecord
column id : Int64, primary: true
column title : String
column price : Decimal
column status : String
column user_id : Int64
column tags : Array(String)
column meta : JSON
timestamps
validates :title, presence: true, length: {maximum: 200}
validates :title, uniqueness: {scope: :user_id, case_sensitive: false}
validates :price, numericality: {greater_than_or_equal_to: 0}
validate :title_is_fine, on: :create
belongs_to :user, counter_cache: true, touch: true
has_many :comments, dependent: :destroy
has_many :taggings
has_many :tags, through: :taggings
has_one :moderation
accepts_nested_attributes_for :comments, allow_destroy: true
before_save :normalize
after_commit :reindex, on: :create
end
post = Post.create!(title: "Hi")
post.title = "Hello"
post.changes # {"title" => ["Hi", "Hello"]}
post.save
post.saved_change_to_title # ["Hi", "Hello"]
Post.where(status: "published").where("views > ?", 5).order(created_at: :desc).limit(10).to_a
Post.where(created_at: 1.day.ago..Time.utc).or(Post.where(pinned: true))
Post.all.not(user_id: nil).includes(:user).includes(comments: :user).to_a
Post.joins(:user).group(:user_id).count
Post.insert_all([{title: "a"}, {title: "b"}])
Post.upsert_all(rows, unique_by: :slug)
Post.find_each(batch_size: 500) { |p| ... }
Post.find_or_create_by(title: "x")
Post.where(status: "draft").pluck(:id)
Post.transaction(isolation: :serializable) { post.lock!; ... }
- Types:
Int32,Int64,Float64,String,Bool,TimeandBytes, plusDecimal(exact,BigDecimal-backed),Date,JSON(with<col>_jsonhelpers) andArray(String). Every attribute is nilable.model_enum status: {draft: 0, live: 1}maps labels to stored values. Migrations also cover UUIDs, binary, generated and virtual columns, check constraints, views, and PostgreSQL native types (hstore,inet,cidr, ranges,interval,money, ...). - Queries: hash conditions take arrays (
where(id: [1, 2])buildsIN (...),nilelements addIS NULL,[]matches nothing;notnegates them), scopedfind_by/find_by!/exists?(User.active.find_by(email: x)), nil-returningfind?(id),select,distinct,groupwith aggregates,having,joins(symbol or SQL),left_joins,includes/preload(batched, including through and polymorphic),merge,rewhere,unscope,none,in_order_of,sole,pick,ids,explain,in_batches,annotate,lock. - Associations:
belongs_to(withpolymorphic:,counter_cache:,touch:,autosave:),has_many/has_one(withthrough:,as:, anddependent:set to:destroy,:delete_all,:nullifyor:restrict_with_exception), andhas_and_belongs_to_many. - Single-table inheritance: subclasses of a model whose table has a
typecolumn share its table and only see their own rows (inheritance_column :kindpicks another column). - Persistence:
update_columns,update_columnandtouchskip validations and callbacks.upsertruns no validations.increment!,toggle!anddestroy!are available, and optimistic locking turns on when the table has alock_versioncolumn. - Migrations:
changereverses automatically. Operations that cannot be reversed raiseIrreversibleMigration; useup/downorreversiblefor those. Also available:change_table,revert,execute,if_not_exists:,disable_ddl_transaction!andalgorithm: :concurrently. - SQLite
STRICTtables: SQLite accepts any value in any column unless the table isSTRICT.create_table :posts, strict: trueopts in: the wrong storage class raises instead of being stored. Columns are declared asINTEGER(integer, bigint, boolean, serial and references),REAL(float),BLOB(binary) orTEXT(everything else, including decimal, dates, JSON, UUIDs, enums and string arrays), so models read and write the same values as on a regular table. Rebuilds (change_column_null/change_column_default),add_columnand schema snapshots keep the flag. It is off by default and ignored on PostgreSQL and MySQL, which already enforce column types. - Full-text search: in a migration,
create_fts_table :posts, [:title, :body]creates an FTS5 virtual table with sync triggers and backfills it; rollback drops both.tokenize: "unicode61 remove_diacritics 2"(or"porter unicode61","trigram") picks the tokenizer andexternal_content: truereads text frompostsinstead of storing a copy.fts_search [:title, :body]in the model only registers the columns (no DDL, no rebuild), andPost.search_fts("crystal")returns a ranked, chainable query (SQLite only).Record::FTS.setup(Post, [...])is deprecated in favor ofcreate_fts_table+fts_search; it still does it all at runtime, but only creates and rebuilds what is missing, changed or out of sync (force: truealways rebuilds).
Databases
Record.connect("sqlite3://./db/app.db") # adapter detected from the scheme
Record.establish_connection("analytics", "postgres://localhost/analytics")
class Event < ApplicationRecord
connects_to database: "analytics"
end
Record.connected_to("analytics") { Event.count }
- Each database has its own migrations (Rails'
migrations_paths):db/migrate/for primary,db/<name>_migrate/for a named database.saci generate migration CreateEvents --database=analytics(alsomodel/scaffold) writes todb/analytics_migrate/, anddb/migrations.crgets one constant per database (SACI_MIGRATIONS,SACI_ANALYTICS_MIGRATIONS) plusSACI_MIGRATION_SETS.db:migrate --allruns each database's own list; a named database without a directory gets none. Class names stay unique across databases.db:migrate:status --database=analyticsanddb:version --database=analyticsreport on that database alone, anddb:schema:dump --database=analyticswrites its snapshot todb/analytics_schema.cr. - Write
?placeholders and double-quoted identifiers everywhere. Saci rewrites placeholders, quoting, auto-increment keys,RETURNINGinserts and DDL for each adapter. - Your app owns the drivers. Add
will/crystal-pgorcrystal-lang/crystal-mysqlto yourshard.ymland require them yourself;saci new --db=...does this for you. Saci never requires a driver itself, so SQLite-only apps link nothing extra. - SQLite connections are tuned for web workloads (WAL and
busy_timeout). Transactions are scoped per fiber and per database; there is no atomicity across databases. - SQLite foreign keys are enforced (
PRAGMA foreign_keys=ONon every pooled connection). Opt out withRecord.sqlite_foreign_keys = falsebefore connecting, or per database with?foreign_keys=offin the URL (an explicit URL param always wins, also on aDB.open(url)handed toRecord.connection=). Each SQLite migration runs in a transaction with foreign keys checked once before commit (PRAGMA foreign_key_check), so table rebuilds and rollbacks of self-referencing tables work with data in place. - On OpenSSL ≥ 3.2,
crystal-pgneeds a two-symbol link shim (seelive/README.md).crystal-mysqlrequires the server to acceptmysql_native_password.
Schema snapshots and drift check
saci db:schema:dump [--all] # write db/schema.cr
saci db:schema:dump --database=NAME # write db/<name>_schema.cr (one named DB)
saci db:schema:load [--database=NAME] # recreate tables, indexes, checks and views
saci db:schema:check [--all] # exit 1 when the database and the models disagree
db/schema.cr is a standalone Crystal program. It connects the same way db/migrate.cr does and replays an embedded snapshot through adapter-aware DDL. The snapshot is data, not raw SQL, so one file loads on SQLite, PostgreSQL and MySQL. schema_migrations is never dumped; the durable job tables are. SQLite stores several logical types in the same storage class, so booleans reload as :integer and dates and JSON as :text. Saci's own t.decimal reloads as :decimal. SQLite virtual tables (the FTS5 indexes from create_fts_table) are the SQLite-only exception: each is kept as its CREATE VIRTUAL TABLE statement plus its sync triggers, and their shadow tables are skipped. Re-dumping a loaded database produces the same bytes.
Every model registers itself, so Record.check_schema!(db) can return one warning per mismatch: a table without a model, a model without a table, or a column missing on either side. Only names are compared.
Views
class PostsController < ApplicationController
assigns post: Post.new
def show
@post = Post.find(params["id"])
render_template :show # src/views/posts/show.ecr inside layouts/application.ecr
end
def feed
render_template "shared/feed" # a name with a slash is a path from src/views/
end
end
<h1><%= h(@post.title) %></h1>
<%= render_partial("comments/comment", collection: @post.comments.to_a) %>
<%= cache(cache_key(@post)) { render_partial("posts/sidebar", post: @post) } %>
<% form_with("/posts/#{@post.id}", method: :patch, model: @post, scope: "post") do |f| %>
<%= f.error_messages %>
<label>Title <%= f.text_field("title") %></label>
<%= f.submit %>
<% end %>
<%= link_to("Delete", path_for(:post, @post.id), method: :delete) %>
-
assigns name: defaultdeclares view-facing instance variables once with a type, so an action can assign them without Crystal making the slot nilable (assigns posts: [] of Post, post: Post.new). Useassigns current_user : User?for nilable state. The declaration must be in the controller class body; see COMING_FROM_RAILS. -
form_withwith an ECR block uses<% %>, not<%= %>(ECR has no block output tag), and writes the form into the page. A block that returns the fields as a String works with<%= %>:<%= form_with("/search", method: :get) { |f| f.text_field("q") } %>. -
<%= %>does not escape. Useh()for user input. Helpers that build HTML escape their own arguments. -
Layouts use
<%= content %>.render_template(:x, layout: false)renders without a layout. -
content_forandcapturetake ECR blocks, so markup inside them goes to the slot instead of the page:<% content_for(:head) do %> <link rel="preload" href="/fonts/inter.woff2" as="font" crossorigin> <% end %>The layout prints it with
<%= content_for(:head) %>. -
Partials have no leading underscore:
render_partial("shared/header")readssrc/views/shared/header.ecr(Rails would look for_header). -
Forms:
form_with,fields_for,collection_select, the*_taghelpers, HTML5 input types, CSRF tokens, and_methodoverrides.link_to(..., method: :delete)renders a small form, so it works without JavaScript. -
Text and number helpers:
truncate,simple_format,sanitize,strip_tags,highlight,pluralize,number_to_currency,number_with_delimiter,distance_of_time_in_words,markdown(escape-first),page_numbers,rss_feed,tag,content_tag,button_to,mail_to. -
Assets live in
src/assets. In development and test,Middleware::DevAssetsserves them under/assets/withCache-Control: no-cache, so edits show up on reload. For production,saci assets:precompile(run by the generated Dockerfile) writes fingerprinted copies topublic/assets.asset_path,stylesheet_link_tag,javascript_include_tagandimage_tagresolve through its manifest and fall back to/assets/...without one. Fingerprinted files are servedpublic, max-age=31536000, immutable; other static files getno-cachein development and test andpublic, max-age=3600elsewhere unless you setconfig.public_file_server.cache_control. -
Pagination:
Pagination.paginate(query, page:, per_page:)returns a page object, andpaginate_navrenders windowed links. Its labels come from I18n:saci.pagination.prev,saci.pagination.next,saci.pagination.gapandsaci.pagination.label(thearia-label).
Frontend: Turbo, Stimulus, importmap
turbo_frame_tag("profile") { "<p>Ada</p>" }
render turbo_stream: Turbo.append("msgs", "<p>#{h(text)}</p>")
Turbo.broadcast_append("room:1", "msgs", "<p>hi</p>") # over Cable
Importmap.draw do |map|
map.pin "application", to: "app/javascript/application.js", preload: true
map.pin_all_from "app/javascript/controllers", under: "controllers"
end
In a layout: <%= importmap_tags %>, <%= turbo_drive_tags %>, <%= stimulus_tags %>, <%= pwa_tags %>. Turbo Drive and Stimulus ship as small vendored, dependency-free subsets of the Hotwire libraries. For the full libraries, pin them from a CDN through the importmap. Turbo stream payloads go into <template> unescaped, so escape user input yourself.
Rich text
class Post < ApplicationRecord
column body : String
has_rich_text :body
end
post.body_rich_text.to_s # sanitized HTML
post.body_rich_text.to_plain_text # for search indexes and notifications
The column stores raw HTML and is sanitized on every read, using an allowlist and escape-first approach. rich_text_area renders a plain <textarea data-rich-text> that Trix (loaded from a CDN) can enhance. <action-text-attachment> tags that point at storage blobs are rendered with render_attachments.
WebSockets
class ChatChannel < ApplicationChannel
def subscribed
stream_from "room:#{params["room"]?.try(&.as_s?) || "lobby"}"
end
def receive(data)
Cable.broadcast("room:1", {text: data["text"]?})
end
end
Cable.identify do |connection|
connection.reject_unauthorized_connection unless connection.session.try(&.["user_id"])
end
router = Router.new.draw do |r|
r.cable "/cable", ChatChannel
end
- The wire protocol is compatible with ActionCable clients. Channels also support
stream_for record,periodically 5.seconds { },transmit,reject, andidentified_by. - Fan-out uses a single process by default. For several processes, set
Cable.servertoCable::RedisServer.new(ENV["REDIS_URL"])(built-in RESP2 client, no extra dependency) or toCable::DbServer(database polling, Solid Cable style). If Redis is down, broadcasts still reach local subscribers. Cable::DbServeralso wakes peer processes on the same host: after the INSERT it sends one loopback UDP datagram, so SQLite and MySQL (and PostgreSQL withoutlisten_notify) poll immediately instead of waiting forpoll_interval. Polling stays the fallback, so a dropped datagram only delays a message. The channel is keyed bywake_key:(default<adapter>:<table>) and derives a deterministic port; setwake_port:to pin it, orlocal_wake: falseto turn it off. It is same host only: across machines use Redis or PostgreSQLLISTEN/NOTIFY.- On PostgreSQL,
Cable::PostgresServer.new(db, listen_notify: true, listen_url: ENV["DATABASE_URL"])replaces polling withLISTEN/NOTIFY: peers fetch a broadcast as soon as it commits, and a 5-second poll remains as a safety net. It needsrequire "pg"andrequire "saci/cable_pg"in the app, plus a direct connection (PgBouncer in transaction mode does not supportLISTEN). The local wake channel is off in this mode unlesslocal_wake: trueis passed. - Writes go through a shared pool of writer fibers with bounded per-connection queues, so idle sockets stay cheap and slow readers get disconnected instead of piling up memory.
Cable::TestClientandCable::TestServersupport specs, andsaci g channelgenerates both.
Background jobs
class WelcomeJob < ApplicationJob
queue_as :mailers
queue_with_priority 10
unique :until_executed
retry_on IO::Error, attempts: 3, wait: :exponential
discard_on Record::RecordNotFound
def perform(payload : JSON::Any) : Nil
UserMailer.welcome(payload["email"].as_s).deliver_now
end
end
Job.queue_adapter = :db
WelcomeJob.perform_later({email: "a@b.c"})
WelcomeJob.set(wait: 5.minutes, queue: :low).perform_later({email: "a@b.c"})
- Adapters:
:async(fiber, the development default),:inline,:test(records jobs instead of running them), and:db(durable, persisted insaci_jobswith a dead-letter table and claims viaFOR UPDATE SKIP LOCKED). RunJob::Db.work_oncein a worker loop ordrainfrom scripts. :redisis the durable alternative when the app already runs Redis:Job::Redis.configure(url: ENV["REDIS_URL"]), thenJob::Redis.work_once/drainthe same way. It uses the built-in RESP2 client, moves jobs with atomic Lua scripts, and keeps the same priorities, retries, dead set,uniquemodes and continuation checkpoints. Jobs claimed by a worker that dies run again afterlock_timeout(10 minutes by default). The job dashboard reads it too.- Payloads cross a JSON boundary. Records are serialized as GlobalID references. Delivery is at-least-once, so jobs must be idempotent.
- Also available: callbacks and middleware,
limits_concurrency, batches (Job::Batch), and resumable jobs (continuable+step). - Recurring jobs:
Recurring.cron("*/5 * * * *", "refresh") { RefreshJob.perform_later({}) }andRecurring.every(1.hour, "cleanup") { ... }, thenRecurring.start. Missed ticks collapse into a single run. - Dashboard: mount
Job::DashboardControllerto see pending and dead jobs (:dbor:redis), with retry and drop actions. It is disabled in production by default.
Mailers
class UserMailer < ApplicationMailer
default_from "noreply@example.com"
layout "mailer"
def self.welcome(email : String) : Mailer::Mail
attachments["terms.pdf"] = {mime_type: "application/pdf", path: "public/terms.pdf"}
mail(to: email, subject: "Welcome!") do |format|
format.text { "Welcome, #{email}!" }
format.html { "<h1>Welcome, #{email}!</h1>" }
end
end
end
UserMailer.welcome("a@b.c").deliver_later
UserMailer.with(user: user).digest.deliver_now
- Delivery adapters:
:file(development, writestmp/mails/*.eml),:test,:sendmail,:smtp(built-in STARTTLS client), and HTTP providers (SendGrid, Mailgun, Postmark, Amazon SES with SigV4). DKIM signing is optional. deliver_laterrenders the mail immediately and sends the result through the job system.- Previews: register them with
Mailer::Preview.registerand mountPreviewController(development only). Non-ASCII subjects are RFC 2047-encoded on the wire.
Inbound email
class SupportMailbox < Mailbox::Base
def process
Ticket.create!(subject: mail.subject, body: mail.text_body)
end
end
Mailbox.router = Mailbox::Router.new.draw do |r|
r.route SupportMailbox, to: "support@example.com"
r.route all: :backup
end
router = Router.new.draw { |r| Mailbox.mount(r) }
Includes a MIME parser (multipart, RFC 2047/2231, charsets), persisted InboundEmail records deduplicated by Message-ID, bounce_with and relay_to, incineration of processed mail, an HTTP ingress endpoint for providers, and test helpers.
Storage and attachments
class User < ApplicationRecord
column id : Int64, primary: true
has_one_attached :avatar
end
user.avatar.attach(io, filename: "me.png")
user.avatar.url # expiring signed URL
user.photo.attach(io, filename: "a.png", public: true) # unsigned public/ key
r.get "/files/*key", Storage::FilesController, :show
r.post "/direct_uploads", Storage::DirectUploadsController, :create
-
DiskServicestores files under sharded keys. Private files are served through expiring HMAC-signed URLs. Signing keys can be rotated: old URLs keep working until they expire. Apublic/key prefix is served without signatures.DiskService.new(public: true)makes that the default for every upload to the service;attach(..., public:)overrides it per file. Variants keep their original's visibility. -
S3Serviceworks with AWS, MinIO, R2 and other S3-compatible stores, using its own SigV4 signer.MirrorServicewrites to several services at once. -
Blobs have checksums and metadata. Image dimensions come from a pure-Crystal analyzer.
-
Variants and previews need a processor. Without one they return the original file. Two are bundled. They run the command-line tools, so nothing extra is linked into the app:
Storage.variant_processor = Storage::Processors::Vips.new # apt install libvips-tools Storage.variant_processor = Storage::Processors::ImageMagick.new # apt install imagemagick Storage.variant_processor = Storage::Processors.detect # whichever is installed user.avatar.variant(resize_to_limit: [300, 300]).url user.avatar.variant(resize_to_fill: [64, 64], format: "webp", quality: 80).url doc.file.preview(resize_to_limit: [400, 400]).url # PDF page 1 (poppler-utils), video frame 1 (ffmpeg)resize_to_limitonly shrinks,resize_to_fitalso enlarges, andresize_to_fillcrops to the exact size. The other options areformat:(png, jpeg, gif, webp, avif),quality:andstrip: true. A variant is processed on first use and stored under a key derived from the original and the options, so later requests reuse it.purgedeletes the variants along with the original. Inputs must be PNG, JPEG, GIF or WebP, detected from the bytes. Images over 50 megapixels are refused, and each command is killed after 30 seconds (max_pixels:andtimeout:change both). Animated GIFs keep only their first frame. A custom processor subclassesStorage::Variant::Processor. -
Uploads with content types that browsers execute are rejected by default, and upload size is capped.
Caching
Cache.fetch("stats", expires_in: 5.minutes) { compute_stats }
Cache.store = Cache::RedisStore.new(ENV["REDIS_URL"])
Cache.store = :db # database-backed store (Solid Cache style)
def show
@post = Post.find(params["id"])
return unless stale?(@post) # ETag / Last-Modified, 304 when fresh
expires_in 60.seconds, public: true
render_template :show
end
- Stores:
MemoryStore(LRU, with stampede protection throughrace_condition_ttl:),RedisStore, andDbStore(one portable table;trimandprune_expiredhandle cleanup). - Fragment caching:
cache(key) { ... }in views, keyed bycache_key(record),cache_key(records)orversion:. If the store is down, the fragment is rendered but not stored. PageCachewrites whole pages to disk.
Rate limiting
Throttle.throttle("logins/ip", limit: 5, period: 1.minute) do |ctx|
ctx.request.path == "/login" ? Throttle.client_ip(ctx) : nil
end
Throttle.safelist { |ctx| Throttle.client_ip(ctx) == "127.0.0.1" }
Throttle.store = Throttle::RedisStore.new(ENV["REDIS_URL"])
Fixed windows. Throttled requests get 429 with Retry-After; blocklisted requests get 403. If the store is unreachable, requests are allowed and a warning is logged. In controllers, rate_limit to:, within: uses the same store.
client_ip is the address Middleware::RemoteIp resolved. It never reads X-Forwarded-For itself, because clients can send any value there. Behind a proxy or CDN, list its addresses in config.trusted_proxies (generated apps trust private networks in config/initializers/trusted_proxies.cr; add your CDN's published ranges there). Otherwise every request is keyed on the proxy's address.
Security
class ApplicationController < Controller
protect_from_forgery
end
class User < ApplicationRecord
column password_digest : String
has_secure_password
has_secure_token :api_token
generates_token_for :password_reset, expires_in: 15.minutes do |user|
user.password_salt
end
end
User.authenticate_by(email: params["email"], password: params["password"])
user.signed_id(purpose: "login", expires_in: 15.minutes)
- CSRF: double-submit cookie, with masked and per-form tokens checked in constant time. The cookie is only set when a page asks for a token (
form_authenticity_token, forms,csrf_meta_tags), so plain GETs stay cookie-free and cacheable. It is alwaysHttpOnly, andSecureon HTTPS requests or withforce_ssl/assume_ssl. - Headers: secure defaults (
X-Frame-Options,nosniff,Referrer-Policy, CSPdefault-src 'self'), CSP nonces (content_security_policy_nonce), Permissions-Policy, and HSTS. Change them per action withcsp/skip_csp. Generated apps keep the policy inconfig/initializers/content_security_policy.cr. - CSP warnings: in development, each HTML response is checked against its policy, and anything the browser would block (inline
<style>,style=""attributes,on*handlers, stylesheets, scripts, images or fonts from other hosts, such as Google Fonts) is logged once per path. Toggle withSecureHeaders.csp_warnings = true|false. - CSP nonces and HTTP caching: a nonce changes on every response. A
304fromstale?carries the new nonce in its header, but the browser reuses the cached body with the old one, so nonced styles and scripts stop applying. On pages you cache with ETags, use external files under'self'instead of nonces. - Errors: error pages render the app's
public/<status>.html(the generated 404, 422 and 500 pages) when it exists. Unknown routes answer browsers with that page and API clients with a JSON body; in production the exceptions app answers non-HTML clients with plain text instead. - HTTP basic auth:
http_basic_authenticate_with credentials: "admin"readsadmin.name(oradmin.user) andadmin.passwordfrom encrypted credentials, and nil or empty values deny every request instead of opening the action. - Sessions and cookies:
session,flash,cookies.signedandcookies.encrypted(AES-256-GCM). Signing keys can be rotated. Session stores: cookie (the default), memory, cache, or database. - Authentication helpers:
login(user)resets the session first to prevent fixation. Alsologout,current_user(memoize_current_user User),require_login,allow_unauthenticated_access, andafter_authentication_url.saci g authenticationgenerates a complete flow with password resets. - Tokens:
JWT(HS256/384/512),TOTP(codes, provisioning URIs, backup codes), andhas_two_factorfor models. - Secrets:
SECRET_KEY_BASEor encrypted credentials. Production refuses to boot without a secret.
Saci vendors a small AES-GCM binding and pure-Crystal digests. On systems with OpenSSL ≥ 3.2, the stdlib OpenSSL::Cipher and Digest modules fail to link because they reference symbols that were removed.
Authorization, serializers, search, audit
class PostPolicy < Policy
resource Post
allow :read
role :editor do
can :update, Post
end
scope { scope.where(status: "published") }
end
authorize!(:update, post) # in a controller
policy_scope(Post)
class PostSerializer < Serializer(Post)
attributes :id, :title
has_many :comments, serializer: CommentSerializer
end
render json: PostSerializer.new(post, root: "post", key_transform: :camel)
class Post < ApplicationRecord
searchable_attributes :title, :status, :created_at
include Auditable
audited only: [:title, :status]
end
Post.search(params).page # Ransack-style q[title_cont]=...
post.audits
GraphQL
class PostType < GraphQL::ObjectType
source Post
field :id, GraphQL::ID, null: false
field :title, String
end
class QueryType < GraphQL::ObjectType
graphql_name "Query"
field :posts, [PostType], null: false do |_source, _args, _ctx|
Post.order(id: :asc).to_a
end
end
class AppSchema < GraphQL::Schema
query QueryType
end
GraphQL.mount(router, path: "/graphql", schema: AppSchema)
Supports queries, mutations, input objects, enums, variables, fragments, introspection, batched requests and GraphiQL. Types are compile-time classes and resolvers are typed blocks.
Spreadsheets, PDF and CSV
require "saci/office"
xlsx = Office::XLSX.from_records(User.all, columns: [:id, :email, :created_at])
send_xlsx xlsx, filename: "users.xlsx"
pdf = Office::PDF.table(title: "Users", headers: ["Name", "Email"], rows: rows)
send_pdf pdf, filename: "users.pdf"
send_csv rows, filename: "users.csv"
XLSX is written as a ZIP package using the stdlib DEFLATE implementation. PDFs use the standard Helvetica fonts. CSV follows RFC 4180.
Localization and time zones
I18n.load_path << "config/locales/*.yml"
I18n.t("greeting", name: "Ada")
I18n.t("items", count: 3)
I18n.with_locale(:es) { I18n.t("hello") }
I18n.l(Time.utc, format: :short)
Time.use_zone("America/Sao_Paulo") { Time.current }
3.days.from_now
Date.current
Locale files use the same nested YAML layout as Rails. Features include fallback chains, pluralization rules, localized date and time formats, and the Accept-Language header. Durations, calendar helpers, a small Date type, inflections and CurrentAttributes are included too.
Logging and metrics
Saci.logger.info { "booted" }
Saci.filter_parameters += ["token"]
Saci.tagged("worker-1") { ... }
r.get "/metrics", Metrics::Controller, :index # JSON, or Prometheus with ?format=prom
Every request logs one line with the status, duration, method, path, filtered params and request id, and every SQL statement logs one line with its duration (source saci.sql; turn it off with Saci.log_queries = false or SACI_LOG_QUERIES=0). Text lines start with the local time as 2026/11/14 03:15:02.494236 and are colored on a terminal (NO_COLOR or SACI_LOG_COLOR=0 disables, SACI_LOG_COLOR=1 forces). Set SACI_LOG_FORMAT=json for structured output, or SACI_LOG_SETUP=0 to keep Crystal's default log backend. In the test environment specs append the same format to log/test.log instead of printing between the runner's dots; LOG_LEVEL still selects the level (LOG_LEVEL=debug crystal spec). Notifications publishes instrumentation events (process_action.saci, sql.saci, perform.saci, ...) and the slow-query logger subscribes to them. Metrics are kept in process (requests, routes, jobs, cache, database gauges) and have no built-in auth, so mount them behind your own gate.
Multithreading
saci serve --mt [--workers 4] # compiles with -Dexecution_context
Generated entrypoints call Saci.enable_multithreading!. Without the compile flag the call does nothing, so the same code runs single-threaded. Transactions, locales, time zones and the auth context are scoped per fiber, and shared registries are mutex-guarded.
Environments, credentials, deployment
APP_ENVselectsconfig/environments/<env>.cr(development,test,production,staging).Saci.env,Saci.production?andSaci.staging?are available. Production and staging refuse to boot without a secret and never show detailed errors.config/credentials.yml.encplusconfig/master.key(orRAILS_MASTER_KEY). Read values withCredentials.dig("aws.access_key")and edit them withsaci credentials:edit, or one key at a time withsaci credentials:set(no editor needed).saci newgenerates a multi-stage Dockerfile,bin/docker-entrypoint, a Kamal 2 configuration (config/deploy.yml,.kamal/secrets), a GitHub Actions workflow,config/server.yml, public error pages and an optional devcontainer.bin/thrustdocuments the proxy setup; Saci does not bundle an HTTP/2 proxy.- The generated image builds on the same Ubuntu release as the Crystal image (so the binaries find their glibc), precompiles assets, runs as a non-root
saciuser and readsRAILS_MASTER_KEY.config/deploy.ymldeclares named volumes forstorage/(anddb/on SQLite) and notesforward_headers: truefor proxies such as Cloudflare. See the generated README fordocker run. app.listen_gracefully(port, host, shutdown: Deploy::GracefulShutdown.new(timeout: 10.seconds))waits for in-flight requests on SIGTERM.Deploy.doctorchecks the secret, the database URL and writable directories.
Testing
require "saci/testing"
load_fixtures :all
fixture :users, User
factory :post, Post do
title { "Post #{Testing::Factory.sequence(:post)}" }
end
describe "posts" do
transactional_tests
it "publishes" do
post = Testing::Factory.create_post
assert_enqueued_jobs(1) { PublishJob.perform_later({id: post.id}) }
travel_to(Time.utc(2026, 1, 1)) { Time.utc.year.should eq(2026) }
end
it "renders the index" do
TestSession.serve(router) do |app|
response = app.get("/posts")
assert_select response, "h1", text: "Posts"
end
end
end
TestSession.serve(router)starts the full middleware and router stack over real HTTP on an ephemeral port.app.sign_in_as(user)logs a user in for the following requests without posting the login form. Aftersaci generate authentication, generated request specs callsign_in(app)fromspec/support/authentication_helper.cr.saci testcompiles the whole suite once intotmp/.saci-test/specsand reuses it until a file changes, so running one file or one line needs no compile.saci test --watchreruns the same specs after every change.Saci::SystemTest.serve(router)boots the real stack and drives headless Chrome/Chromium through the DevTools protocol.saci generate system_test Checkoutwrites aspec/system/skeleton:Saci::SystemTest.serve(router) do |page| page.visit "/posts" page.fill_in "Title", with: "Hello" page.attach_file "Cover", "spec/fixtures/cover.png" page.click_on "Create" page.assert_text "Post created" page.assert_selector "h1", text: "Posts" page.within("form") { page.assert_selector "input[name=title]" } page.screenshot "tmp/posts.png" endattach_filefinds the input by label, name, id or placeholder and sets it through the DevTools DOM domain. Native JS dialogs (alert,confirm,prompt) are accepted automatically so they do not hangclick_on; calldismiss_dialogbefore the action that opens one (page.dismiss_dialogthenpage.click_on "Delete"), oraccept_dialogto restore the default.last_dialog_messagereturns the message of the most recent dialog. Chrome comes fromCHROME_BINor the usualgoogle-chrome/chromiumcommand. Specs shouldpending!whenSaci::SystemTest.available?is false, so the suite still runs on machines without a browser.- Includes YAML fixtures (label references, ERB), factories with traits and associations, transactional tests with savepoints, assertions for mail, jobs, cable, changes and queries, time travel,
assert_select, test database preparation, and per-worker databases for parallel runs. - Generated apps run their specs with
APP_ENV=testagainst a separate database.
How Saci differs from Rails
Crystal is compiled and statically typed, which changes a few things:
- No autoloading or in-process reload. Files are required explicitly (generated apps use globs) and
saci serve --watchrebuilds and restarts the binary.saci consolecompiles every line. - No
send,constantizeormethod_missing. Controllers, routes, jobs, mailboxes and models generate their dispatch code at compile time through macros andinheritedhooks. Any public method on a controller that takes no arguments becomes an action. Avoid public zero-argument methods that take a block, and public zero-argument class methods, in controllers. - Templates are compiled. ECR is compiled into the binary and
<%= %>does not escape. - Static types at the edges. Columns, route helpers and job payloads are typed, and job arguments cross a JSON boundary.
- No gem ecosystem. Features that Rails apps usually get from gems (pagination, authorization, serializers, search, audit, fixtures and factories, JWT, 2FA, rate limiting, GraphQL) ship with the framework.
COMING_FROM_RAILS.md maps Rails APIs and common gems to their Saci equivalents and lists what is not supported.
Developing Saci
shards install
crystal spec # full suite (SQLite)
CRYSTAL_WORKERS=4 crystal spec -Dexecution_context
crystal tool format --check src spec
live/run.sh # live PostgreSQL + MySQL harness
Specs that need Redis, PostgreSQL or MySQL are skipped unless REDIS_URL, PG_URL or MYSQL_URL is set. See live/README.md for the live database harness, ROADMAP.md for planned work and CHANGELOG.md for release notes.
Source layout: src/saci.cr requires everything. Each subsystem lives in src/saci/<name>.cr, with larger ones in a matching directory (record/, cli/, storage/, mailer/, mailbox/, graphql/, office/, testing/, support/, middleware/, deploy/). Specs mirror that layout under spec/.
API documentation
The API reference is generated from the doc comments in src/:
shards install
script/docs.sh
It writes HTML to docs/api/ (open docs/api/index.html, or serve the directory with python3 -m http.server -d docs/api). The output is gitignored and rebuilt by the docs CI job, which uploads it as the api-docs artifact. Types and methods marked :nodoc: are internal implementation details and are left out of the generated site.
License
MIT
saci
- 1
- 0
- 0
- 0
- 4
- 23 minutes ago
- June 24, 2026
Fri, 27 Nov 2026 20:29:16 GMT