GenieFramework/Genie.jl
GenieFramework/Genie.jl has 2,424 GitHub stars and 188 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-06 21:48 UTC. Last push 2026-10-15.
🧞The highly productive Julia web framework
What you can do
- Static, Dynamic, Named routing
- Routing parameters
- Route management (Listing, Deleting, Modifying) support
- Routing methods (GET, POST, PUT, PATCH, DELETE, OPTIONS)
Measured star growth
- in 24h
- 0
- in 7 days
- Collecting history
- in 15 days
- Collecting history
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalGenie.jl is the backbone of the Genie Framework, which provides a streamlined and efficient workflow for developing modern web applications. It builds on Julia's strengths (high-level, high-performance, dynamic, JIT compiled), exposing a rich API and a powerful toolset for productive web development.
Genie Framework is composed of four main components:
- Genie.jl: the server backend, providing features for routing, templating, authentication, and much more.
- Stipple.jl: a package for building reactive UIs with a simple and powerful low-code API in pure Julia.
- Genie Builder: a VSCode plugin for building UIs visually in a drag-and-drop editor.
- SearchLight.jl: a complete ORM solution, enabling easy database integration without writing SQL queries.
To learn more about Genie, visit the documentation, and the app gallery.
If you need help with anything, you can find us on Discord.
https://github.com/GenieFramework/Genie.jl/assets/5058397/627dcda0-bb13-49f9-8827-2bfb581a9bb7
Julia data dashboard powered by Genie. App gallery
What's New since Genie 6.0
- 🔌 HTTP.jl v2 — Genie's networking core moved to the modern HTTP.jl v2.
- 📦 JSON.jl — switched the JSON backend from JSON3 to JSON.jl.
- ⚡ Flexible concurrency — request handling can now run distributed, threaded, or sequential, your choice.
- 🍪 More reliable cookies & CORS — several rounds of fixes to cookie handling and cross-origin headers, including dropped cookies on cross-origin requests and reading cookies back off a response.
- 🗄 Smarter asset caching — opt in to browser caching for assets and static files with a single environment variables "GENIE_ASSETS_CACHE_MAXAGE" and "GENIE_STATIC_CACHE_MAXAGE", refreshable at runtime with no restart
add_fileroute(): support kwargschache_controlandheaders, new method to overwrite cache settings for single routes/files.- 🧪 Faster, more isolated tests — the test suite moved to
TestItems.jl.
Features of Genie.jl
🛠Genie Router: Genie has a really powerful
💪 Router. Matching web requests to functions, extracting and setting up the request's variables and the execution environment, and invoking the response methods. Features include:
- Static, Dynamic, Named routing
- Routing parameters
- Linking routes
- Route management (Listing, Deleting, Modifying) support
- Routing methods (
GET,POST,PUT,PATCH,DELETE,OPTIONS) - and more ...
# Genie Hello World!
# As simple as Hello
using Genie
route("/hello") do
"Welcome to Genie!"
end
# Powerful high-performance HTML view templates
using Genie.Renderer.Html
route("/html") do
h1("Welcome to Genie!") |> html
end
# JSON rendering built in
using Genie.Renderer.Json
route("/json") do
(:greeting => "Welcome to Genie!") |> json
end
# Start the app!
up(8888)
🔌 WebSocket: Genie provides a powerful workflow for client-server communication over websockets
julia> using Genie, Genie.Router
julia> channel("/foo/bar") do
# process request
end
[WS] /foo/bar => #1 | :foo_bar
📃 Templating: Built-in templates support for HTML, JSON, Markdown, JavaScript views.
🔐 Authentication: Easy to add database backed authentication for restricted area of a website.
julia> using Pkg
julia> Pkg.add("GenieAuthentication") # adding authentication plugin
julia> using GenieAuthentication
julia> GenieAuthentication.install(@__DIR__)
⏰ Tasks: Tasks allow you to perform various operations and hook them with crons jobs for automation
module S3DBTask
# ... hidden code
"""
Downloads S3 files to local disk.
Populate the database from CSV file
"""
function runtask()
mktempdir() do directory
@info "Path of directory" directory
# download record file
download(RECORD_URL)
# unzip file
unzip(directory)
# dump to database
dbdump(directory)
end
end
# ... more hidden code
end
$ bin/runtask S3DBTask
📦 Plugin Ecosystem: Explore plugins built by the community such as GenieAuthentication, GenieAutoreload, GenieAuthorisation, and more
🗃️ ORM Support: Explore SearchLight a complete ORM solution for Genie, supporting Postgres, MySQL, SQLite and other adapters
function search(user_names, regions, startdate, enddate)
# ... hidden code
where_filters = SQLWhereEntity[
SQLWhereExpression("lower(user_name) IN ( $(repeat("?,", length(user_names))[1:end-1] ) )", user_names),
SQLWhereExpression("date >= ? AND date <= ?", startdate, enddate)
]
SearchLight.find(UserRecord, where_filters, order=["record.date"])
# ... more hidden code
end
Database Migrations
module CreateTableRecord
import SearchLight.Migrations: create_table, column, primary_key, add_index, drop_table
function up()
create_table(:record) do
[
primary_key()
column(:user_uuid, :string, limit = 100)
column(:user_name, :string, limit = 100)
column(:status, :integer, limit = 4)
column(:region, :string, limit = 20)
column(:date_of_birth, :string, limit = 100)
]
end
add_index(:record, :user_uuid)
add_index(:record, :user_name)
add_index(:record, :region)
add_index(:record, :date_of_birth)
end
function down()
drop_table(:record)
end
end
Model Validations
📝 More Genie features like:
Files Uploads
route("/", method = POST) do
if infilespayload(:yourfile)
write(filespayload(:yourfile))
stat(filename(filespayload(:yourfile)))
else
"No file uploaded"
end
end
Logging|Caching|Cookies and Sessions|Docker, Heroku, JuliaHub, etc Integrations|Genie Deploy- To explore more features check Genie Documentation 🏃♂️🏃♀️
Contributing
Please contribute using GitHub Flow. Create a branch, add commits, and open a pull request.
Please read CONTRIBUTING for details on our CODE OF CONDUCT, and the process for submitting pull requests to us.
Special Credits
The awesome Genie logo was designed by Alvaro Casanova
Hoppscoth for readme structure template
Genie uses a multitude of packages that have been kindly contributed by the Julia community
License
This project is licensed under the MIT License - see the LICENSE file for details.
⭐ If you enjoy this project please consider starring the 🧞 Genie.jl GitHub repo. It will help us fund our open source projects.
Explore related projects
freeCodeCamp/freeCodeCamp
freeCodeCamp.org's open-source codebase and curriculum. Learn math, programming, and computer science for free.
458,682 starsdonnemartin/system-design-primer
Learn how to design large-scale systems. Prep for the system design interview. Includes Anki flashcards.
377,169 starsreact/react
The library for web and native user interfaces.
252,304 starsvuejs/vue
This is the repo for Vue 2. For Vue 3, go to https://github.com/vuejs/core
212,624 stars