id large_stringlengths 21 131 | source large_stringclasses 1
value | code large_stringlengths 21 49.9k | file_path large_stringlengths 10 108 | repo_url large_stringlengths 26 69 | repo_owner large_stringclasses 763
values | repo_name large_stringlengths 2 34 | repo_description large_stringlengths 0 316 | stars int64 0 2.3k | is_official bool 2
classes | license large_stringclasses 9
values | license_raw large_stringclasses 11
values | authors large listlengths 1 1 | hex_package large_stringclasses 655
values | hex_downloads int64 17 962k ⌀ | fork bool 1
class | archived bool 2
classes | collected_at large_stringlengths 32 32 | commit_sha large_stringlengths 40 40 | schema_version int64 1 1 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
JohnBjrk/showtime/src/showtime/internal/erlang/module_handler.gleam | github | @target(erlang)
import gleam/otp/actor
@target(erlang)
import gleam/erlang/process
@target(erlang)
import showtime/internal/common/test_suite.{
type TestEventHandler, type TestFunctionCollector, type TestModule,
type TestRunner, EndTestSuite, StartTestSuite,
}
@target(erlang)
import showtime/internal/common/cli.{ty... | src/showtime/internal/erlang/module_handler.gleam | https://github.com/JohnBjrk/showtime | JohnBjrk | showtime | Gleam Testing Framework | 26 | false | Apache-2.0 | Apache-2.0 | [
"JohnBjrk"
] | showtime | 2,912 | false | false | 2026-05-28T15:43:54.074472+00:00 | b0c6dda03a6445e46fd538def5debdfe71d23f45 | 1 |
LilyRose2798/gleam-spacetraders-sdk/src/spacetraders_models/ship_registration.gleam | github | import gleam/dynamic/decode.{type Decoder}
import spacetraders_models/faction_symbol.{type FactionSymbol}
import spacetraders_models/ship_role.{type ShipRole}
import spacetraders_models/ship_symbol.{type ShipSymbol}
pub type ShipRegistration {
ShipRegistration(
name: ShipSymbol,
faction_symbol: FactionSymbol... | src/spacetraders_models/ship_registration.gleam | https://github.com/LilyRose2798/gleam-spacetraders-sdk | LilyRose2798 | gleam-spacetraders-sdk | A Gleam SDK for the spacetraders.io game API | 0 | false | MIT | MIT | [
"LilyRose2798"
] | null | null | false | false | 2026-05-28T16:47:40.534251+00:00 | e34dcfdb9367006c16d3567396b6b17cb2e8fb84 | 1 |
tetio/gleam/high-school-sweetheart/src/high_school_sweetheart.gleam | github | import gleam/list
import gleam/result
import gleam/string
pub fn first_letter(name: String) {
string.trim(name)
|> string.first
|> result.unwrap("")
}
pub fn initial(name: String) {
first_letter(name)
|> string.uppercase
|> string.append(".")
}
pub fn initials(full_name: String) {
string.split(full_... | high-school-sweetheart/src/high_school_sweetheart.gleam | https://github.com/tetio/gleam | tetio | gleam | 0 | false | Apache-2.0 | Apache-2.0 | [
"tetio"
] | gleam | 1,923 | false | false | 2026-05-28T17:10:57.064335+00:00 | 0ce8660d0ba153de415040abb99c2ff9b6c87c84 | 1 | |
ryanmiville/aws_api/src/aws_api/elasticsearch_service.gleam | github | import aws4_request.{type Signer}
import aws_api/internal/endpoint
import aws_api/internal/metadata.{Metadata}
import aws_api/internal/request_builder
import gleam/http.{type Header}
import gleam/http/request.{type Request}
import gleam/option.{type Option}
import gleam/string
const metadata = Metadata(
endpoint_pre... | src/aws_api/elasticsearch_service.gleam | https://github.com/ryanmiville/aws_api | ryanmiville | aws_api | AWS request builder for Gleam | 4 | false | Apache-2.0 | Apache-2.0 | [
"ryanmiville"
] | null | null | false | false | 2026-05-28T15:58:48.498925+00:00 | b7cfd63cdcb45bd55c45f7cfdb4706510fa9efcc | 1 |
y047aka/DeepSpaceNine-RTA-Chart/backend/src/backend.gleam | github | import fixtures/histograms
import gleam/dynamic/decode
import gleam/erlang/process
import gleam/io
import gleam/json
import gleam/list
import gleam/option.{Some}
import gleam/otp/actor
import gleam/string
import mist
import pog
import types/episode.{type Episode}
import types/histogram
import wisp.{type Request, type R... | backend/src/backend.gleam | https://github.com/y047aka/DeepSpaceNine-RTA-Chart | y047aka | DeepSpaceNine-RTA-Chart | Star Trek: Deep Space Nine の最速視聴チャート | 0 | false | MIT | MIT | [
"y047aka"
] | null | null | false | false | 2026-05-28T17:32:43.557861+00:00 | 64a3082d3f6a5547faecba0f708d36839a1f0ad0 | 1 |
andrea-berling/roach/src/types/instance.gleam | github | import gleam/dict
import gleam/option
import types.{type UUID}
import types/topic.{type Topic, Topic}
pub type FeatureLevels =
dict.Dict(String, Int)
pub type Instance {
Instance(
feature_levels: FeatureLevels,
topics: dict.Dict(String, Topic),
topic_ids_to_names: dict.Dict(UUID, String),
server_p... | src/types/instance.gleam | https://github.com/andrea-berling/roach | andrea-berling | roach | 🪳 Roach: A Kafka Broker written in Gleam | 1 | false | MIT | MIT | [
"andrea-berling"
] | null | null | false | false | 2026-05-28T16:12:29.095554+00:00 | 51d574c24dfd8c5f2627cec22fba21299dabb01f | 1 |
lustre-labs/lustre/examples/01-basics/01-hello-world/src/app.gleam | github | // IMPORTS ---------------------------------------------------------------------
import gleam/int
import lustre
import lustre/element.{type Element}
import lustre/element/html
import lustre/event
// MAIN ------------------------------------------------------------------------
pub fn main() {
let app = lustre.simpl... | examples/01-basics/01-hello-world/src/app.gleam | https://github.com/lustre-labs/lustre | lustre-labs | lustre | A Gleam web framework for building HTML templates, single page applications, and real-time server components. | 2,302 | true | MIT | MIT | [
"lustre-labs"
] | lustre | 245,785 | false | false | 2026-05-28T15:39:45.871015+00:00 | c573707a57aef3542d84e7e18008cd38e62b9edf | 1 |
emarifer/wisp_routing/src/utilities/tiny_database.gleam | github | import gleam/dict.{type Dict}
import gleam/dynamic
import gleam/json
import gleam/list
import gleam/result
import simplifile
import youid/uuid
// La palabra clave `opaque` hace que el tipo sea público pero fuera
// del módulo solo se puede construir el tipo utilizando un constructor
// que realice algún tipo de restri... | src/utilities/tiny_database.gleam | https://github.com/emarifer/wisp_routing | emarifer | wisp_routing | A demo application of Gleam's Wisp framework with the addition of TailwindCss in the served HTML | 0 | false | MIT | MIT | [
"emarifer"
] | null | null | false | false | 2026-05-28T17:14:01.045358+00:00 | 8a91a880e4ea609b976ed8c191467b70c0e043a2 | 1 |
bitbldr/sprocket/src/sprocket/internal/reconcilers/recursive.gleam | github | import gleam/dict
import gleam/dynamic.{type Dynamic}
import gleam/dynamic/decode
import gleam/list
import gleam/option.{type Option, None, Some}
import sprocket/internal/context.{
type Attribute, type Context, type DynamicStatefulComponent, type Element,
Attribute, ClientHook, ClientHookId, Component, ComponentWip... | src/sprocket/internal/reconcilers/recursive.gleam | https://github.com/bitbldr/sprocket | bitbldr | sprocket | A library for building server components in Gleam ✨ | 119 | false | MIT | MIT | [
"bitbldr"
] | sprocket | 3,662 | false | false | 2026-05-28T15:40:38.757117+00:00 | 4b510f6c8f3cef6f0a563ee31e36de91ed01161b | 1 |
ghivert/redraw/redraw_dom/src/redraw/dom/server.gleam | github | import redraw.{type Element}
/// Renders a React tree to an HTML string.
///
/// [Documentation](https://react.dev/reference/react-dom/server/renderToString)
@external(javascript, "react-dom/server", "renderToString")
pub fn render_to_string(component: Element) -> String
/// Renders a non-interactive React tree to an... | redraw_dom/src/redraw/dom/server.gleam | https://github.com/ghivert/redraw | ghivert | redraw | React bindings for Gleam! Supports everything modern React provides, with full Gleam Type-Checking system! | 66 | false | MIT | MIT | [
"ghivert"
] | redraw | 34,582 | false | false | 2026-05-28T15:41:40.769642+00:00 | 186c5f71c3a34de70b8f76caffcac0c11c0c2133 | 1 |
Kacaii/senac-brigade-server/src/app/domain/brigade/delete_brigade.gleam | github | import app/domain/brigade/sql
import app/web
import app/web/context.{type Context}
import gleam/http
import gleam/json
import gleam/list
import gleam/result
import pog
import wisp
import youid/uuid
/// Remove a brigade from the DataBase and return
/// information about the deleted brigade as formatted JSON
///
/// ... | src/app/domain/brigade/delete_brigade.gleam | https://github.com/Kacaii/senac-brigade-server | Kacaii | senac-brigade-server | Moved to Tangled! :sheep: | 3 | false | MIT | MIT | [
"Kacaii"
] | null | null | false | false | 2026-05-28T16:00:03.898782+00:00 | a1dd824b6021fddc246698ff0c552c12485ead34 | 1 |
eduardocodigo0/projecteuler_gleam/problem2/src/problem2.gleam | github | import gleam/int
import gleam/io
import gleam/list
pub fn main() {
fib(1, 1)
|> list.filter(int.is_even)
|> list.fold(0, int.add)
|> int.to_string
|> io.println
}
fn fib(prev: Int, current: Int) -> List(Int) {
case current >= 4_000_000 {
True -> []
False -> list.append([current], fib(current, curr... | problem2/src/problem2.gleam | https://github.com/eduardocodigo0/projecteuler_gleam | eduardocodigo0 | projecteuler_gleam | Using Gleam language to solve some project euler challenges | 0 | false | Apache-2.0 | Apache-2.0 | [
"eduardocodigo0"
] | null | null | false | false | 2026-05-28T16:22:29.426454+00:00 | 55ea6f2f5635836fb9b2f786a3f059e11fe4bd1f | 1 |
han-tyumi/amber/test/amber/stdio_test.gleam | github | import amber/stderr
import amber/stdin
import amber/stdout
import gleam/option.{Some}
import gleeunit/should
import gossamer/promise
import gossamer/uint8_array
pub fn stdio_stdin_read_test() {
use result <- promise.then(stdin.read(uint8_array.new()))
let assert Ok(nread) = result
nread |> should.equal(Some(0))
... | test/amber/stdio_test.gleam | https://github.com/han-tyumi/amber | han-tyumi | amber | ✨🦕 Deno Bindings For Gleam 🧡 | 6 | false | Apache-2.0 | Apache-2.0 | [
"han-tyumi"
] | amber | 162,862 | false | false | 2026-05-28T15:54:08.543019+00:00 | 9e81573c4a29af049cc2d8ecf262cbbdf3f88951 | 1 |
ghivert/grille-pain/src/grille_pain/internals/css.gleam | github | pub fn var(content, default) {
"var(--" <> content <> ", " <> default <> ")"
}
| src/grille_pain/internals/css.gleam | https://github.com/ghivert/grille-pain | ghivert | grille-pain | Toaster, made in lustre, for Gleam | 25 | false | MIT | MIT | [
"ghivert"
] | null | null | false | false | 2026-05-28T15:44:00.594032+00:00 | e0df46d6ca4fa7c459a33d56b85ed47c9647c7db | 1 |
han-tyumi/amber/src/amber/build/arch.gleam | github | pub type Arch {
X8664
Aarch64
Other(String)
}
| src/amber/build/arch.gleam | https://github.com/han-tyumi/amber | han-tyumi | amber | ✨🦕 Deno Bindings For Gleam 🧡 | 6 | false | Apache-2.0 | Apache-2.0 | [
"han-tyumi"
] | amber | 162,862 | false | false | 2026-05-28T15:54:08.543019+00:00 | 9e81573c4a29af049cc2d8ecf262cbbdf3f88951 | 1 |
bruceesmith/m3e/test/m3e/calendar_test.gleam | github | //// Calendar unit tests
////
//// This file was generated by m3e/generator
////
//// DO NOT EDIT
////
import gleam/list
import gleam/option.{None, Some}
import gleeunit/should
import lustre/attribute
import lustre/element
import lustre/element/html
import m3e/calendar.{Config}
import m3e/calendar_view
import... | test/m3e/calendar_test.gleam | https://github.com/bruceesmith/m3e | bruceesmith | m3e | Gleam/Lustre wrapper for M3E — Material 3 Expressive components | 5 | false | MIT | MIT | [
"bruceesmith"
] | m3e | 213 | false | false | 2026-05-28T15:54:46.777053+00:00 | d6c67d20925cf3f64da5929fe5149270b46df465 | 1 |
TrustBound/dream/poc/src/example.gleam | github | // Example usage of the radix trie-based router
//
// Demonstrates realistic route definitions with parameters, wildcards,
// middleware, and streaming routes
import dream/context
import dream/http/request.{Delete, Get, Post, Put, Request}
import dream/http/response.{Response, Text}
import dream/router
import gleam/in... | poc/src/example.gleam | https://github.com/TrustBound/dream | TrustBound | dream | Clean, composable web development for Gleam. No magic. | 44 | false | MIT | MIT | [
"TrustBound"
] | dream_postgres | 911 | false | false | 2026-05-28T15:42:18.914603+00:00 | 98a7103c60ce0767d6fc1630f4a58779c2360206 | 1 |
uncle-samm/postgleam/test/postgleam/codec/date_test.gleam | github | import gleeunit/should
import postgleam/codec/date
import postgleam/codec/interval
import postgleam/codec/time
import postgleam/codec/timestamp
import postgleam/codec/timestamptz
import postgleam/codec/timetz
import postgleam/value
// --- date ---
pub fn date_encode_epoch_test() {
// 2000-01-01 = 0 days
date.enco... | test/postgleam/codec/date_test.gleam | https://github.com/uncle-samm/postgleam | uncle-samm | postgleam | A pure Gleam PostgreSQL driver — a port of Elixir's Postgrex | 1 | false | Apache-2.0 | Apache-2.0 | [
"uncle-samm"
] | postgleam | 450 | false | false | 2026-05-28T16:18:59.234919+00:00 | 2a7e540a8c64badd53ec17e01c46063d4f7f8838 | 1 |
veeso/blogatto/src/blogatto/internal/builder/feed/atom.gleam | github | //// Atom Feed builder.
////
//// This module is responsible for generating Atom 1.0 feed XML files from
//// the list of `AtomFeed` configurations declared in the user's `Config`.
////
//// For each configured feed, the builder:
////
//// 1. Resolves the absolute output path under `output_dir` and creates
//// ... | src/blogatto/internal/builder/feed/atom.gleam | https://github.com/veeso/blogatto | veeso | blogatto | A Gleam framework for building static blogs with Lustre and Markdown or Djot. Generates HTML pages, RSS/Atom feeds, sitemaps, and robots.txt from markdown files with frontmatter, with multilingual support. | 88 | false | MIT | MIT | [
"veeso"
] | blogatto | 1,087 | false | false | 2026-05-28T15:41:09.678283+00:00 | 67d9c5a9aab560718e23685a1100834f179b64d2 | 1 |
bigmoves/quickslice/client/src/generated/queries/get_statistics.gleam | github | import gleam/dynamic/decode
import gleam/http/request.{type Request}
import gleam/json
import squall
pub type Statistics {
Statistics(record_count: Int, actor_count: Int, lexicon_count: Int)
}
pub fn statistics_decoder() -> decode.Decoder(Statistics) {
use record_count <- decode.field("recordCount", decode.int)
... | client/src/generated/queries/get_statistics.gleam | https://github.com/bigmoves/quickslice | bigmoves | quickslice | Auto-indexing service and GraphQL API for AT Protocol Records | 16 | false | Apache-2.0 | Apache-2.0 | [
"bigmoves"
] | null | null | false | false | 2026-05-28T15:45:53.367353+00:00 | b28b31f480382e716bab7466ce2325fadaf1511b | 1 |
dusty-phillips/glimpse/test/load_package_test.gleam | github | import glance
import gleam/dict
import glimpse
import glimpse/error
pub fn ok_module(contents: String) -> glance.Module {
let assert Ok(module) = glance.module(contents)
module
}
pub fn no_dependency_package_test() {
let assert Ok(result) =
glimpse.load_package("main_module", fn(_) { Ok("pub fn main() {}") ... | test/load_package_test.gleam | https://github.com/dusty-phillips/glimpse | dusty-phillips | glimpse | package loader and typechecker for glance | 3 | false | Apache-2.0 | Apache-2.0 | [
"dusty-phillips"
] | null | null | false | false | 2026-05-28T16:00:43.924459+00:00 | 00d5021d6bd837aa6a113ef013299e0b49198539 | 1 |
GG-O-BP/kirari/src/kirari/ffi.gleam | github | //// FFI bare import 감지 — build/packages/ 내 .mjs 파일 정적 분석
import gleam/list
import gleam/option
import gleam/regexp
import gleam/result
import gleam/string
import kirari/types.{type Dependency, type KirConfig, Dependency, Npm}
import simplifile
/// 감지된 FFI import 항목
pub type FfiDetection {
FfiDetection(package_name... | src/kirari/ffi.gleam | https://github.com/GG-O-BP/kirari | GG-O-BP | kirari | ✨ A modern package manager for Gleam that unifies Hex and npm. | 3 | false | MPL-2.0 | MPL-2.0 | [
"GG-O-BP"
] | null | null | false | false | 2026-05-28T15:59:05.058220+00:00 | 695c56985cca86830a0c3b0209dd76da643b2ebe | 1 |
mikkihugo/instructor_gleam/examples/basic_usage.gleam | github | // Example: Basic text classification with Instructor
import gleam/io
import gleam/option.{None, Some}
import instructor
import instructor/adapters/openai
import instructor/types
pub fn main() {
// Create configuration
let config =
instructor.InstructorConfig(
adapter: openai.openai_adapter(),
defa... | examples/basic_usage.gleam | https://github.com/mikkihugo/instructor_gleam | mikkihugo | instructor_gleam | Structured outputs for LLMs in Gleam | 0 | false | MIT | MIT | [
"mikkihugo"
] | null | null | false | false | 2026-05-28T16:32:18.470373+00:00 | ce9d74085466e6a3187c4e4db680c73c045c933b | 1 |
tantalumv/Glizzy/examples/lustre_app/src/lustre_utils/tree.gleam | github | import gleam/dict.{type Dict}
import gleam/int
import gleam/list
import gleam/option.{type Option, None, Some}
import gleam/string
import lustre_utils/keyboard as keyboard
pub type TreeItem {
TreeItem(
id: String,
label: String,
children: List(TreeItem),
expanded: Bool,
selected: Bool,
)
}
pub... | examples/lustre_app/src/lustre_utils/tree.gleam | https://github.com/tantalumv/Glizzy | tantalumv | Glizzy | A headless UI component library for Gleam and Lustre, inspired by Base UI and Shadcn | 0 | false | MIT | MIT | [
"tantalumv"
] | glizzy | 235 | false | false | 2026-05-28T16:51:59.555773+00:00 | bb770204df985c4b8c718a19e672d1930c32dcd8 | 1 |
tantalumv/Glizzy/examples/lustre_app/src/views/collections.gleam | github | import gleam/bool
import gleam/dynamic/decode
import gleam/int
import gleam/list
import gleam/option.{None, Some}
import lustre/attribute.{attribute, class}
import lustre/element.{type Element, none, text}
import lustre/element/html.{button, div, h2, input, p}
import lustre/event
import lib/tailwind
import lustre_utils... | examples/lustre_app/src/views/collections.gleam | https://github.com/tantalumv/Glizzy | tantalumv | Glizzy | A headless UI component library for Gleam and Lustre, inspired by Base UI and Shadcn | 0 | false | MIT | MIT | [
"tantalumv"
] | glizzy | 235 | false | false | 2026-05-28T16:51:59.555773+00:00 | bb770204df985c4b8c718a19e672d1930c32dcd8 | 1 |
TrustBound/dream/test/matchers/extract_user_name.gleam | github | //// Custom matcher to extract a field from a validation result.
import dream/http/validation
import dream_test/types.{
type MatchResult, AssertionFailure, CustomMatcherFailure, MatchFailed, MatchOk,
}
import gleam/option.{Some}
/// Extract a field from a successful validation result using a getter function.
///
//... | test/matchers/extract_user_name.gleam | https://github.com/TrustBound/dream | TrustBound | dream | Clean, composable web development for Gleam. No magic. | 44 | false | MIT | MIT | [
"TrustBound"
] | dream_postgres | 911 | false | false | 2026-05-28T15:42:18.914603+00:00 | 98a7103c60ce0767d6fc1630f4a58779c2360206 | 1 |
avit-io/dagger_gleam/sdk/src/examples/secret_env.gleam | github | // sdk/src/examples/secret_env.gleam
//
// Pass a secret as an environment variable into a container without
// ever exposing its value in logs or the Dagger cache.
//
// Run with:
// dgl generate
// MY_TOKEN=supersecret dagger run --progress="plain" gleam run -m examples/secret_env
import dagger
import dagger/dsl... | sdk/src/examples/secret_env.gleam | https://github.com/avit-io/dagger_gleam | avit-io | dagger_gleam | A Gleam SDK for Dagger that generates type-safe, idiomatic bindings from the GraphQL schema. Built around a CPS interpreter and deferred execution model to keep data separate from side effects. | 0 | false | MIT | MIT | [
"avit-io"
] | dagger_gleam | 95 | false | false | 2026-05-28T16:50:06.055729+00:00 | 7807ef48f5fe85177d3a0527e716bd6280702283 | 1 |
dinkelspiel/kirakira/server/src/server/routes/auth/forgot_password.gleam | github | import gleam/dynamic
import gleam/dynamic/decode
import gleam/http.{Get, Post}
import gleam/httpc
import gleam/json
import gleam/result
import gleesend
import gleesend/emails
import server/db/forgot_password
import server/env.{get_env}
import server/response
import wisp.{type Request, type Response}
pub fn forgot_pass... | server/src/server/routes/auth/forgot_password.gleam | https://github.com/dinkelspiel/kirakira | dinkelspiel | kirakira | A lobste.rs like forum made in Gleam | 32 | false | Apache-2.0 | Apache-2.0 | [
"dinkelspiel"
] | null | null | false | false | 2026-05-28T15:43:15.917812+00:00 | f8368f0d3f232ee7a6f4506ad0c5471988cf1772 | 1 |
giacomocavalieri/youtube_views/src/youtube_views.gleam | github | import envoy
import gleam/dynamic/decode
import gleam/http.{Get, Https}
import gleam/http/request.{type Request}
import gleam/httpc
import gleam/int
import gleam/io
import gleam/json
import gleam/list
import gleam/order
import gleam/result
import gleam/string
type Video {
Video(title: String, id: String, statistics:... | src/youtube_views.gleam | https://github.com/giacomocavalieri/youtube_views | giacomocavalieri | youtube_views | 0 | false | Apache-2.0 | Apache-2.0 | [
"giacomocavalieri"
] | null | null | false | false | 2026-05-28T16:30:27.454696+00:00 | d36bffa7196156f4a609a9dde4489f2c24fba8b6 | 1 | |
karlsson/glite/src/glite/service.gleam | github | import gleam/erlang/process
import gleam/io
import gleam/otp/actor
import gleam/otp/factory_supervisor as fsup
import gleam/string
import glite/msg.{type SReqS}
pub type SupName(c) =
process.Name(fsup.Message(process.Subject(msg.ClientRequest(String)), c))
type State(c) {
State(sup_name: SupName(c), no_reqs: Int)... | src/glite/service.gleam | https://github.com/karlsson/glite | karlsson | glite | The Gleamlins little intro to Erlang applications | 31 | false | Apache-2.0 | Apache-2.0 | [
"karlsson"
] | glite | 55 | false | false | 2026-05-28T15:43:26.960217+00:00 | 9328703778b4e82a82bae2d2951cbcf037dc680a | 1 |
inoas/gleam-cake-shork/src/cake_shork.gleam | github | import gleam/io
/// As a library *cake_shork* cannot be invoked directly in a meaningful way.
///
@internal
pub fn main() {
{ "\n" <> "cake_shork is an adapter library and cannot be invoked directly." }
|> io.println
}
| src/cake_shork.gleam | https://github.com/inoas/gleam-cake-shork | inoas | gleam-cake-shork | 🎂Cake 🦭MariaDB and 🐬MySQL adapter which passes PreparedStatements to the shork library for execution - written in Gleam. | 2 | false | MPL-2.0 | MPL-2.0 | [
"inoas"
] | null | null | false | false | 2026-05-28T16:03:54.106786+00:00 | ebc923fdafb85821e3cd92d83d7566da79e6fe24 | 1 |
tao-language/compiler-bootstrap/src/syntax/lexer.gleam | github | // ============================================================================
// LEXER - Tokenizer
// ============================================================================
import gleam/list
import gleam/option.{type Option, None, Some}
import gleam/string
pub type Token {
Token(
kind: String,
value:... | src/syntax/lexer.gleam | https://github.com/tao-language/compiler-bootstrap | tao-language | compiler-bootstrap | 0 | false | MIT | MIT | [
"tao-language"
] | null | null | false | false | 2026-05-28T16:47:12.654430+00:00 | 89f15edc9fe3528f8121ab440d9cb85e6cef0b3f | 1 | |
KathiraveluLab/LAGOS/tutorials/gleam/02_orchestration.gleam | github | import gleam/io
import gleam/list
import gleam/option.{type Option, None, Some}
// LAGOS Orchestration Messages
pub type OrchestrationMessage {
NodeJoin(id: String, domain: String)
NodeLeave(id: String)
HeartbeatReceived(id: String, latency: Float)
}
pub type NodeState {
Active
Unstable(reason: String)
Of... | tutorials/gleam/02_orchestration.gleam | https://github.com/KathiraveluLab/LAGOS | KathiraveluLab | LAGOS | Latency-aware Accountable Governance for Overlay Scaling | 0 | false | Apache-2.0 | Apache-2.0 | [
"KathiraveluLab"
] | null | null | false | false | 2026-05-28T16:54:52.162384+00:00 | 9bc398d7abde3ad40f39b9bc8ad803b75b58b3e6 | 1 |
GG-O-BP/mxpak/src/mxpak/config.gleam | github | // 프로젝트 설정 통합 인터페이스
// gleam.toml 읽기/쓰기, .env, meta.toml
import gleam/option.{type Option}
import mxpak/config/env_reader
import mxpak/config/toml_reader.{type MendrawConfig, type WidgetConfig}
import mxpak/config/toml_writer
/// 프로젝트 설정 읽기 (gleam.toml)
pub fn read(project_root: String) -> Result(MendrawConfig, Strin... | src/mxpak/config.gleam | https://github.com/GG-O-BP/mxpak | GG-O-BP | mxpak | CLI package manager for Mendix Marketplace widgets with version resolution, content-addressable caching, and an interactive TUI browser. | 2 | false | MPL-2.0 | MPL-2.0 | [
"GG-O-BP"
] | null | null | false | false | 2026-05-28T16:04:22.605094+00:00 | f8106395b193f4d401e899d4739cddcc8249a6ac | 1 |
axelbellec/toon_codec/test/delimiter_test.gleam | github | import gleeunit/should
import toon_codec
import toon_codec/types.{
Array, Comma, NoMarker, Number, Object, Pipe, String, Tab,
}
// Comma delimiter (default) - Format: [count]: val1,val2,val3
pub fn encode_inline_array_with_comma_test() {
let opts =
types.EncodeOptions(indent: 2, delimiter: Comma, length_marker... | test/delimiter_test.gleam | https://github.com/axelbellec/toon_codec | axelbellec | toon_codec | A Gleam implementation of TOON (Token-Oriented Object Notation) - a compact, human-readable format designed to reduce token usage in Large Language Model (LLM) input. | 9 | false | MIT | MIT | [
"axelbellec"
] | null | null | false | false | 2026-05-28T15:50:23.118915+00:00 | 42f8741df28b72b8f5f8c7c2fe36a39fe6615b13 | 1 |
sisou/nimiq_gleam/nimiq_trie/test/trie_test.gleam | github | // import gleam/bit_array
// import gleam/option.{None, Some}
// import gleam/string
// import gleam/yielder
// import account
// import nimiq/trie
// import nimiq/trie/backend
// import nimiq/trie/key_nibbles
// /// Adds one account to the trie and checks the root hash.
// pub fn simple_trie_test() {
// let accoun... | nimiq_trie/test/trie_test.gleam | https://github.com/sisou/nimiq_gleam | sisou | nimiq_gleam | Various modules and helpers for working with Nimiq primitives in the Gleam programming language or as a CLI | 3 | false | Apache-2.0 | Apache-2.0 | [
"sisou"
] | nimiq_gleam | 1,381 | false | false | 2026-05-28T16:00:33.790238+00:00 | 5944781ecbcd117a810ca2330673253738d34e07 | 1 |
tao-language/compiler-bootstrap/test/core/unify_test.gleam | github | // ============================================================================
// UNIFICATION TESTS
// ============================================================================
/// Tests for the unification algorithm.
///
/// Unification checks type equality and solves constraints.
/// It's the core algorithm for t... | test/core/unify_test.gleam | https://github.com/tao-language/compiler-bootstrap | tao-language | compiler-bootstrap | 0 | false | MIT | MIT | [
"tao-language"
] | null | null | false | false | 2026-05-28T16:47:12.654430+00:00 | 89f15edc9fe3528f8121ab440d9cb85e6cef0b3f | 1 | |
pairshaped/rally-gleam/fixtures/json_protocol/src/json_http_probe.gleam | github | import generated/public/http_handler
import generated/public/json_codecs
import generated/public/protocol_wire as wire
import gleam/bit_array
import gleam/bytes_tree
import gleam/dynamic.{type Dynamic}
import gleam/dynamic/decode
import gleam/http/response
import gleam/json
import gleam/option.{Some}
import libero/fram... | fixtures/json_protocol/src/json_http_probe.gleam | https://github.com/pairshaped/rally-gleam | pairshaped | rally-gleam | Full-stack web framework for Gleam on the BEAM | 23 | false | MIT | MIT | [
"pairshaped"
] | null | null | false | false | 2026-05-28T15:44:30.797550+00:00 | bfc0e1779fdf0fd19d68fff2d74d84659dcdd041 | 1 |
folospior/grom/src/grom/guild/onboarding.gleam | github | import gleam/dynamic/decode
import gleam/http
import gleam/http/request
import gleam/json.{type Json}
import gleam/list
import gleam/option.{type Option, None, Some}
import gleam/result
import grom
import grom/emoji.{type Emoji}
import grom/internal/rest
import grom/modification.{type Modification, Skip}
// TYPES ----... | src/grom/guild/onboarding.gleam | https://github.com/folospior/grom | folospior | grom | 🌟 A Gleamy Discord API Library | 9 | false | MIT | MIT | [
"folospior"
] | null | null | false | false | 2026-05-28T15:50:19.072783+00:00 | 42cf433757256504121ccfcc149387df23ea0071 | 1 |
veeso/smalto/src/smalto/internal/registry.gleam | github | import gleam/dict.{type Dict}
import smalto/grammar.{type Grammar}
import smalto/languages/bash
import smalto/languages/c
import smalto/languages/clike
import smalto/languages/cpp
import smalto/languages/csharp
import smalto/languages/css
import smalto/languages/dart
import smalto/languages/dockerfile
import smalto/lan... | src/smalto/internal/registry.gleam | https://github.com/veeso/smalto | veeso | smalto | A general-purpose syntax highlighting library for Gleam, with regex-based grammars for 30+ languages. | 5 | false | MIT | MIT | [
"veeso"
] | smalto | 627 | false | false | 2026-05-28T15:56:00.892517+00:00 | afc7635ce5c2de6ab7bcef870cf08d628fdc4099 | 1 |
pocketenv-io/pocketenv-gleam/src/pocketenv/volume.gleam | github | //// Manage persistent volumes mounted in a sandbox.
////
//// Volumes provide durable storage that survives sandbox restarts.
import gleam/dynamic/decode
import gleam/json
import gleam/result
import pocketenv.{type PocketenvError, JsonDecodeError, do_get, do_post}
import pocketenv/sandbox.{type ConnectedSandbox}
///... | src/pocketenv/volume.gleam | https://github.com/pocketenv-io/pocketenv-gleam | pocketenv-io | pocketenv-gleam | Gleam SDK for Pocketenv | 2 | false | MIT | MIT | [
"pocketenv-io"
] | null | null | false | false | 2026-05-28T16:02:45.568553+00:00 | 199652d12ee1f63dd3d022ef03fa5ed366cf762b | 1 |
ecampo12/2022_gleam_aoc/day10/src/day10.gleam | github | import gleam/int
import gleam/io
import gleam/list
import gleam/string
import simplifile.{read}
fn execute(loop: Int, inc: Int, state: #(Int, Int, Int)) -> #(Int, Int, Int) {
list.range(1, loop)
|> list.fold(state, fn(bcc, i) {
let #(signal, reg_x, cycle) = bcc
let cycle = cycle + 1
let s = case cycle ... | day10/src/day10.gleam | https://github.com/ecampo12/2022_gleam_aoc | ecampo12 | 2022_gleam_aoc | 0 | false | Apache-2.0 | Apache-2.0 | [
"ecampo12"
] | null | null | false | false | 2026-05-28T16:23:21.640816+00:00 | 0d55f26d1c38bc7ba827d785097bde03cbee6571 | 1 | |
jtdowney/starlet/dev/openai_chat.gleam | github | import envoy
import example_utils as utils
import gleam/io
import gleam/result
import starlet
import starlet/openai
pub fn main() {
let api_key = envoy.get("OPENAI_API_KEY") |> result.unwrap("")
case api_key {
"" -> io.println("Error: OPENAI_API_KEY environment variable not set")
_ -> run_example(api_key)... | dev/openai_chat.gleam | https://github.com/jtdowney/starlet | jtdowney | starlet | An LLM interaction library that makes you feel like a star | 2 | false | MIT | MIT | [
"jtdowney"
] | null | null | false | false | 2026-05-28T16:05:22.012512+00:00 | 120ece99a1cdae2b82a55b18f0260c9efb2ece93 | 1 |
melbaldove/aura/src/aura/mcp/client.gleam | github | //// MCP stdio client actor.
////
//// Spawns a subprocess per configured MCP server, speaks JSON-RPC 2.0 over
//// NDJSON on stdio, and runs the MCP handshake (`initialize` → response →
//// `notifications/initialized`). Once the handshake completes the actor is
//// `Ready`, and `call_tool/4` exposes a synchronous su... | src/aura/mcp/client.gleam | https://github.com/melbaldove/aura | melbaldove | aura | Autonomous Unified Runtime Agent — assistant on the BEAM VM | 0 | false | MIT | MIT | [
"melbaldove"
] | null | null | false | false | 2026-05-28T16:49:24.786687+00:00 | 3d66eee8ce014b036b34753696cca53b2513d809 | 1 |
MuriloBortoli/Programacao-Funcional-UEM/Gleam/08-Acumuladores/ex01.gleam | github | import sgleam/check
pub fn concatena(lst: List(String)) -> String {
concatena_acc(lst, "")
}
pub fn concatena_examples() {
check.eq(concatena(["a", "b"]), "ab")
}
pub fn concatena_acc(lst: List(String), acc: String) -> String {
case lst {
[] -> acc
[p, ..r] -> concatena_acc(r, acc <> p)
... | Gleam/08-Acumuladores/ex01.gleam | https://github.com/MuriloBortoli/Programacao-Funcional-UEM | MuriloBortoli | Programacao-Funcional-UEM | Desenvolvimento na disciplina de Programação Funcional - UEM, em linguagem Gleam | 0 | false | MIT | MIT | [
"MuriloBortoli"
] | null | null | false | false | 2026-05-28T16:40:45.202184+00:00 | 8a55d674c3863383afda24572f434a3958928454 | 1 |
OnKrack/viva_math/src/viva_math/entropy.gleam | github | //// Entropy and information theory functions.
////
//// Based on Shannon (1948) and Kullback-Leibler (1951).
//// Used for memory consolidation scoring and uncertainty quantification.
////
//// References:
//// - Shannon (1948) "A Mathematical Theory of Communication"
//// - Cover & Thomas (2006) "Elements of Informat... | src/viva_math/entropy.gleam | https://github.com/OnKrack/viva_math | OnKrack | viva_math | 🧮 Explore core mathematical functions for VIVA, enhancing research in emotional dynamics, consciousness, and information theory. | 2 | false | MIT | MIT | [
"OnKrack"
] | null | null | false | false | 2026-05-28T16:03:32.051971+00:00 | 7cfc5c5d3d7c88cf9424c0112f8f9cdb0bdf6114 | 1 |
NicoVIII/full-house/server/src/driver/http/stock_items/create.gleam | github | import application/commands/stock_items/create/command as create_stock_item_command
import application/commands/stock_items/create/ports
import application/shared/infrastructure_error
import driver/http/handler_helpers
import driver/shared/parse_error
import driver/shared/stock_items/create/request_parser
import driver... | server/src/driver/http/stock_items/create.gleam | https://github.com/NicoVIII/full-house | NicoVIII | full-house | Full House is intended to become a self-hosted application for managing household groceries. | 0 | false | MIT | MIT | [
"NicoVIII"
] | null | null | false | false | 2026-05-28T16:52:13.848990+00:00 | 9e637d3a03b354064c6a6469d906b0f10e9e21d0 | 1 |
glimr-org/framework/src/glimr/internal/console/commands/run.gleam | github | import glimr/config
import glimr/console/command.{type Args, type Command}
import glimr/console/console
import glimr/internal/actions/auto_compile
import glimr/internal/actions/run_hooks
import glimr/internal/actions/run_with_watch
/// The console command description.
const description = "Run the application with hot ... | src/glimr/internal/console/commands/run.gleam | https://github.com/glimr-org/framework | glimr-org | framework | ✨ The Glimr Framework | 84 | false | MIT | MIT | [
"glimr-org"
] | null | null | false | false | 2026-05-28T15:41:14.587522+00:00 | b1defac523c34962e71883cac2ba89e272ecc2fb | 1 |
mbuhot/gleavent_sourced/test/gleavent_sourced/assign_ticket_handler_test.gleam | github | import gleam/dict
import gleavent_sourced/command_handler.{CommandAccepted, CommandRejected}
import gleavent_sourced/customer_support/assign_ticket_handler
import gleavent_sourced/customer_support/ticket_commands.{
AssignTicketCommand, BusinessRuleViolation,
}
import gleavent_sourced/customer_support/ticket_events.{
... | test/gleavent_sourced/assign_ticket_handler_test.gleam | https://github.com/mbuhot/gleavent_sourced | mbuhot | gleavent_sourced | proof of concept aggregate-less event sourcing in Gleam and Postgres | 1 | false | MIT | MIT | [
"mbuhot"
] | null | null | false | false | 2026-05-28T16:10:13.163398+00:00 | 9b6cba993febb539e29dc41785a05c38b32e615e | 1 |
TrustBound/dream_test/examples/snippets/test/snippets/matchers/strings.gleam | github | import dream_test/matchers.{
contain_string, end_with, or_fail_with, should, start_with,
}
import dream_test/unit.{describe, it}
pub fn tests() {
describe("Matchers: strings", [
it("start_with checks the start of a string", fn() {
"hello world"
|> should
|> start_with("hello")
|> or_fai... | examples/snippets/test/snippets/matchers/strings.gleam | https://github.com/TrustBound/dream_test | TrustBound | dream_test | A testing framework for Gleam that gets out of your way. | 6 | false | MIT | MIT | [
"TrustBound"
] | dream_test | 3,525 | false | false | 2026-05-28T15:53:03.831085+00:00 | 227f816d4bee7e76b50d3a370293e5f9bf5ed431 | 1 |
dusty-phillips/monks_of_style/monks_of_style/src/monks/inline_size.gleam | github | //// The **`inline-size`** [CSS](/en-US/docs/Web/CSS) property defines the size of an element's block along the [inline axis](/en-US/docs/Glossary/Grid_Axis). If the {{cssxref("writing-mode")}} is horizontal, it corresponds to the {{cssxref("width")}}; if the writing mode is vertical, it corresponds to the {{cssxref("h... | monks_of_style/src/monks/inline_size.gleam | https://github.com/dusty-phillips/monks_of_style | dusty-phillips | monks_of_style | Typesafe css in gleam | 5 | false | MIT | MIT | [
"dusty-phillips"
] | monks_of_style | 158 | false | false | 2026-05-28T15:54:32.192545+00:00 | 1eb59d8297765b1b053fe9c7658f0749f54c8e18 | 1 |
pocketenv-io/pocketenv-gleam/src/pocketenv/ports.gleam | github | //// Query exposed ports of a sandbox.
////
//// To expose or unexpose ports use `pocketenv/network`.
import gleam/dynamic/decode
import gleam/json
import gleam/option.{type Option, None}
import gleam/result
import pocketenv.{type PocketenvError, JsonDecodeError, do_get}
import pocketenv/sandbox.{type ConnectedSandbox... | src/pocketenv/ports.gleam | https://github.com/pocketenv-io/pocketenv-gleam | pocketenv-io | pocketenv-gleam | Gleam SDK for Pocketenv | 2 | false | MIT | MIT | [
"pocketenv-io"
] | null | null | false | false | 2026-05-28T16:02:45.568553+00:00 | 199652d12ee1f63dd3d022ef03fa5ed366cf762b | 1 |
jtdowney/kryptos/test/kryptos/ecdh_test.gleam | github | import gleam/bit_array
import kryptos/ec
import kryptos/ecdh
import qcheck
// Property: ECDH is commutative - Alice with Bob's public == Bob with Alice's public
pub fn ecdh_commutativity_property_test() {
let gen =
qcheck.from_generators(qcheck.return(ec.P256), [
qcheck.return(ec.P384),
qcheck.return... | test/kryptos/ecdh_test.gleam | https://github.com/jtdowney/kryptos | jtdowney | kryptos | Cryptography library for Gleam targeting Erlang and JavaScript | 16 | false | Apache-2.0 | Apache-2.0 | [
"jtdowney"
] | kryptos | 2,949 | false | false | 2026-05-28T15:45:59.488482+00:00 | 56cbb024b1964d2a4dc6cb335b2464e905784437 | 1 |
melbaldove/aura/src/aura/clients/browser_runner.gleam | github | //// Dependency-injected browser runner. Production wraps `browser.run_ffi`
//// and `browser.url_has_secret`; tests inject scripted fakes.
import aura/browser
pub type BrowserRunner {
BrowserRunner(
run: fn(String, String, String, List(String), Int) -> Result(String, String),
url_has_secret: fn(String) -> ... | src/aura/clients/browser_runner.gleam | https://github.com/melbaldove/aura | melbaldove | aura | Autonomous Unified Runtime Agent — assistant on the BEAM VM | 0 | false | MIT | MIT | [
"melbaldove"
] | null | null | false | false | 2026-05-28T16:49:24.786687+00:00 | 3d66eee8ce014b036b34753696cca53b2513d809 | 1 |
altenwald/ream/src/ream/storage/memtable/range.gleam | github | import gleam/erlang/file
import gleam/erlang/process.{Subject}
import gleam/list
import gleam/map.{Map}
import gleam/option.{None, Option, Some}
import gleam/result.{try}
import ream/storage/file as fs
import ream/storage/file/read
import ream/storage/memtable.{MemTable}
import ream/storage/sstable
import ream/uuid
co... | src/ream/storage/memtable/range.gleam | https://github.com/altenwald/ream | altenwald | ream | REAM is an event-sourcing system | 17 | false | Apache-2.0 | Apache-2.0 | [
"altenwald"
] | null | null | false | false | 2026-05-28T15:45:41.093286+00:00 | 20a20228ee3e3aeefb4d1481849f4d9e2931c0ff | 1 |
rickyraz/oxion/apps/oxnoc/src/oxion/platform/audit/service.gleam | github | import gleam/option
import oxion/orchestration/collection/audit as collection_audit
import oxion/platform/audit/adapter
import oxion/platform/audit/persistence
import oxion/platform/audit/types
pub fn persist_collection_entry(
store: persistence.AuditStore,
entry: collection_audit.AuditEntry,
runtime_context: op... | apps/oxnoc/src/oxion/platform/audit/service.gleam | https://github.com/rickyraz/oxion | rickyraz | oxion | 1 | false | Apache-2.0 | Apache-2.0 | [
"rickyraz"
] | null | null | false | false | 2026-05-28T16:16:27.322830+00:00 | c329757e5423a2d0d13d0622de17b6f4be7a1d3e | 1 | |
bigmoves/quickslice/server/test/graphql/admin/cursor_test.gleam | github | import gleeunit/should
import graphql/admin/cursor
pub fn encode_cursor_test() {
cursor.encode("Label", 42)
|> should.equal("TGFiZWw6NDI=")
}
pub fn encode_cursor_with_large_id_test() {
cursor.encode("Report", 12_345)
|> should.equal("UmVwb3J0OjEyMzQ1")
}
pub fn decode_cursor_test() {
cursor.decode("TGFiZW... | server/test/graphql/admin/cursor_test.gleam | https://github.com/bigmoves/quickslice | bigmoves | quickslice | Auto-indexing service and GraphQL API for AT Protocol Records | 16 | false | Apache-2.0 | Apache-2.0 | [
"bigmoves"
] | null | null | false | false | 2026-05-28T15:45:53.367353+00:00 | b28b31f480382e716bab7466ce2325fadaf1511b | 1 |
tao-language/compiler-bootstrap/scripts/regenerate_syntax_error_golden_files.gleam | github | // Quick script to regenerate golden files for syntax_errors
import core/core.{type Error, SyntaxError, initial_state, infer}
import core/color.{no_color}
import core/error_formatter
import core/syntax
import gleam/list
import gleam/result
import gleam/string
import simplifile
pub fn main() {
let files = [
"exam... | scripts/regenerate_syntax_error_golden_files.gleam | https://github.com/tao-language/compiler-bootstrap | tao-language | compiler-bootstrap | 0 | false | MIT | MIT | [
"tao-language"
] | null | null | false | false | 2026-05-28T16:47:12.654430+00:00 | 89f15edc9fe3528f8121ab440d9cb85e6cef0b3f | 1 | |
ffigiel/gleam_xml/src/gleam/xml.gleam | github | import gleam/io
import string/parser.{Error, Parser, drop, keep}
import gleam/string
import gleam/list
import gleam/order.{Gt, Lt}
import gleam/io
pub type Document {
Document(attrs: List(#(String, String)), root: Tree)
}
pub type Tree {
Node(tag: String, attrs: List(#(String, String)), children: List(Tree))
Te... | src/gleam/xml.gleam | https://github.com/ffigiel/gleam_xml | ffigiel | gleam_xml | (WIP) An XML parser for Gleam | 0 | false | Apache-2.0 | Apache-2.0 | [
"ffigiel"
] | gleam_xml | 208 | false | false | 2026-05-28T17:33:06.506903+00:00 | d9f15cbd197dc77ab691db7282c8ab3fc08f4398 | 1 |
nao1215/oaspec/src/oaspec/internal/openapi/parser_schema.gleam | github | //// Schema-object parsing. Split out of `parser.gleam` so top-level spec
//// flow (paths / operations / components) and schema traversal can evolve
//// independently. The only public entry point is `parse_schema_ref`; the
//// rest (object/allOf/oneOf/anyOf/typed/properties/discriminator) is
//// recursive internal ... | src/oaspec/internal/openapi/parser_schema.gleam | https://github.com/nao1215/oaspec | nao1215 | oaspec | Generate strongly typed Gleam server stubs and client SDK from OpenAPI 3.x specifications | 5 | false | MIT | MIT | [
"nao1215"
] | oaspec | 2,976 | false | false | 2026-05-28T15:54:57.278881+00:00 | e0bc3c36137a56a003275df89bc480332a850bd5 | 1 |
lupodevelop/str/test/str_extra_test.gleam | github | import gleam/list
import gleam/string
import str
import str/internal/decompose
import str/internal/translit
pub fn ascii_fold_internal_helpers_test() {
// remove combining marks should strip acute accent
let with_comb = "e\u{0301}"
let removed = translit.remove_combining_marks(with_comb)
assert removed == "e"
... | test/str_extra_test.gleam | https://github.com/lupodevelop/str | lupodevelop | str | Gleam library providing Unicode-aware string operations | 10 | false | MIT | MIT | [
"lupodevelop"
] | str | 1,263 | false | false | 2026-05-28T15:49:21.964718+00:00 | 1d38f703d26037fbf728ec83e215512663660323 | 1 |
lustre-labs/lustre/src/lustre/runtime/server/runtime.gleam | github | // IMPORTS ---------------------------------------------------------------------
import gleam/dict.{type Dict}
import gleam/dynamic/decode.{type Decoder}
import gleam/erlang/process.{type Monitor, type Selector, type Subject}
import gleam/json.{type Json}
import gleam/set.{type Set}
import lustre/effect.{type Effect}
... | src/lustre/runtime/server/runtime.gleam | https://github.com/lustre-labs/lustre | lustre-labs | lustre | A Gleam web framework for building HTML templates, single page applications, and real-time server components. | 2,302 | true | MIT | MIT | [
"lustre-labs"
] | lustre | 245,785 | false | false | 2026-05-28T15:39:45.871015+00:00 | c573707a57aef3542d84e7e18008cd38e62b9edf | 1 |
JonasHedEng/cel-gleam/test/value_test.gleam | github | import gleam/dict
import gleam/dynamic
import gleam/dynamic/decode
import gleam/json
import gleam/list
import gleeunit/should
import cel/interpreter
pub fn decode_int_test() {
let input = dynamic.int(235)
let assert Ok(value) = interpreter.decode(input)
value
|> should.equal(interpreter.Int(235))
}
pub fn... | test/value_test.gleam | https://github.com/JonasHedEng/cel-gleam | JonasHedEng | cel-gleam | 5 | false | MIT | MIT | [
"JonasHedEng"
] | null | null | false | false | 2026-05-28T15:54:53.900268+00:00 | 3de4667193a5228ab8358c6f4712d5141346fb67 | 1 | |
horvathandris/openfeature-gleam-sdk/src/openfeature/evaluation.gleam | github | import gleam/dynamic.{type Dynamic}
import openfeature/error.{type ErrorCode}
import openfeature/evaluation_context.{type EvaluationContext}
pub type Reason {
Disabled
Split
TargetingMatch
Default
Unknown
Cached
Static
Error
}
type GenericEvaluation(value) =
fn(String, value, EvaluationContext) -> R... | src/openfeature/evaluation.gleam | https://github.com/horvathandris/openfeature-gleam-sdk | horvathandris | openfeature-gleam-sdk | Gleam implementation of the OpenFeature SDK | 5 | false | Apache-2.0 | Apache-2.0 | [
"horvathandris"
] | null | null | false | false | 2026-05-28T15:54:22.311532+00:00 | 9c3360e30e6d9616a37398d1ce9d31ffc75011ea | 1 |
bbopen/weft_lustre_ui/src/weft_lustre_ui/headless/card.gleam | github | //// Headless (unstyled) card primitives for weft_lustre_ui.
////
//// These functions provide the semantic card layout surface used by the styled
//// wrappers in `weft_lustre_ui/card`.
import weft
import weft_lustre
/// Render a card root container.
pub fn card(
attrs attrs: List(weft_lustre.Attribute(msg)),
ch... | src/weft_lustre_ui/headless/card.gleam | https://github.com/bbopen/weft_lustre_ui | bbopen | weft_lustre_ui | 51-component UI library for Lustre — headless + styled, modeled after shadcn/ui. | 0 | false | Apache-2.0 | Apache-2.0 | [
"bbopen"
] | null | null | false | false | 2026-05-28T16:51:53.739407+00:00 | 74946999d55891d200011a1820ccac4f12adb16f | 1 |
0ngk/kitazith/test/kitazith/message_formatting/guild_navigation_test.gleam | github | import kitazith/message_formatting/guild_navigation
pub fn message_guild_navigation_format_test() {
assert guild_navigation.format(guild_navigation.Customize) == "<id:customize>"
assert guild_navigation.format(guild_navigation.Browse) == "<id:browse>"
assert guild_navigation.format(guild_navigation.Guide) == "<i... | test/kitazith/message_formatting/guild_navigation_test.gleam | https://github.com/0ngk/kitazith | 0ngk | kitazith | A Gleam library for building Discord incoming webhook payloads safely. | 1 | false | MIT | MIT | [
"0ngk"
] | kitazith | 79 | false | false | 2026-05-28T16:09:34.252694+00:00 | f0ab26ce291d697745189f0ad1283c03c30712ec | 1 |
vshakitskiy/wskiy.de/src/app/rss.gleam | github | import app/blog.{type Post}
import gleam/int
import gleam/list
import gleam/order
import gleam/result
import gleam/string
import lustre/attribute
import lustre/element.{type Element, element}
import lustre/element/html
pub fn from_posts(posts: List(Post)) -> Element(a) {
let latest_date = case posts {
[first, ..... | src/app/rss.gleam | https://github.com/vshakitskiy/wskiy.de | vshakitskiy | wskiy.de | 🗺️ expressing myself with the webpage | 2 | false | MIT | MIT | [
"vshakitskiy"
] | null | null | false | false | 2026-05-28T16:05:23.768362+00:00 | f562efacd9eecf2586f95b24e6aaf86cf73810b6 | 1 |
GV14982/glaphql/test/validate/schema/interface_test.gleam | github | import errors
import gleam/option
import gleeunit/should
import internal/executable/schema/executable
import internal/executable/schema/type_system
import internal/executable/types
import internal/lexer/lexer
import internal/parser/schema/document
pub fn validate_interface_implementations_test() -> Nil {
"
type Quer... | test/validate/schema/interface_test.gleam | https://github.com/GV14982/glaphql | GV14982 | glaphql | GraphQL implementation for Gleam | 0 | false | MIT | MIT | [
"GV14982"
] | null | null | false | false | 2026-05-28T17:12:35.755887+00:00 | a25d866f677bca999084bc20ba37488445c9736c | 1 |
emarifer/sudoku_gleam_cli/src/build.gleam | github | import esgleam
pub fn main() {
esgleam.new("./dist")
|> esgleam.entry("sudoku_gleam_cli.gleam")
|> esgleam.minify(True)
|> esgleam.bundle()
}
// gleam run -m esgleam/install
// gleam build -t javascript
// gleam run -m build
| src/build.gleam | https://github.com/emarifer/sudoku_gleam_cli | emarifer | sudoku_gleam_cli | A simple CLI application for solving Sudoku puzzles written in Gleam | 0 | false | MIT | MIT | [
"emarifer"
] | null | null | false | false | 2026-05-28T16:38:27.059080+00:00 | 60a0236e4b4f193aecbfc11ea0ba12cda055e41d | 1 |
cdaringe/gserde/src/internal/codegen/modules.gleam | github | import gleam/list
import gleam/set
import gleam/string
import internal/codegen/statements.{type GleamStatement} as gens
import internal/codegen/types.{type GleamType} as t
pub type Mod {
Mod(
name: String,
functions: List(GleamStatement),
types: List(GleamType),
imports: List(String),
)
}
pub fn e... | src/internal/codegen/modules.gleam | https://github.com/cdaringe/gserde | cdaringe | gserde | gleam codegen for serialization and deserialization | 32 | false | MIT | MIT | [
"cdaringe"
] | gserde | 1,531 | false | false | 2026-05-28T15:43:18.546222+00:00 | 234f56182617411c636332b449160c243f9f9963 | 1 |
han-tyumi/glink/src/glink/style/overflow.gleam | github | pub type Overflow {
Visible
Hidden
}
pub fn value(overflow: Overflow) -> String {
case overflow {
Visible -> "visible"
Hidden -> "hidden"
}
}
| src/glink/style/overflow.gleam | https://github.com/han-tyumi/glink | han-tyumi | glink | 🌈 Ink bindings for Gleam! ✨ | 1 | false | Apache-2.0 | Apache-2.0 | [
"han-tyumi"
] | glink | 354 | false | false | 2026-05-28T16:11:18.446272+00:00 | 7c3ba2775f42777cb2da7def9dd2677b4d30f9f5 | 1 |
Eosis/aoc_2025/test/day_1_test.gleam | github | import day_1.{L, R, ResultAndHits}
import gleeunit/should
pub fn parsing_test() {
"L41
R54
L32
R235"
|> day_1.parse_input
|> should.equal([L(41), R(54), L(32), R(235)])
}
const test_input = "L68
L30
R48
L5
R60
L55
L1
L99
R14
L82"
pub fn part_1_test() {
test_input
|> day_1.do_part_1
... | test/day_1_test.gleam | https://github.com/Eosis/aoc_2025 | Eosis | aoc_2025 | Advent of Code 2025 | 0 | false | MIT | MIT | [
"Eosis"
] | null | null | false | false | 2026-05-28T16:40:02.451677+00:00 | 61d6c0d301aed5b1e2be200b158d23eee093f01b | 1 |
GNMoseke/aoc-2025/src/util.gleam | github | import gleam/list
import gleam/result
import gleam/string
import simplifile
pub fn read_file_lines(path: String) -> List(String) {
simplifile.read(from: path)
|> result.unwrap("")
// error handling is for losers in AOC
|> string.split(on: "\n")
|> list.filter(fn(line) { !string.is_empty(line) })
}
pub fn re... | src/util.gleam | https://github.com/GNMoseke/aoc-2025 | GNMoseke | aoc-2025 | Advent of Code 2025 for as long as I can be bothered, in gleam | 0 | false | MIT | MIT | [
"GNMoseke"
] | null | null | false | false | 2026-05-28T16:46:56.740219+00:00 | c93253a442a1fdeaf3a0de239d3256f8e556e95c | 1 |
lpil/glance/test/glance_test.gleam | github | import birdie
import glance
import gleam/string
import gleeunit
import gleeunit/should
import pprint
import simplifile
pub fn main() {
gleeunit.main()
}
fn to_snapshot(src: String) -> String {
let result = glance.module(src)
let out = case result {
Ok(ast) -> pprint.format(ast)
Error(_) -> pprint.format... | test/glance_test.gleam | https://github.com/lpil/glance | lpil | glance | 👁️🗨️ A Gleam source code parser, in Gleam! | 81 | false | Apache-2.0 | Apache-2.0 | [
"lpil"
] | glance | 97,269 | false | false | 2026-05-28T15:41:19.507191+00:00 | d8f29ef9bf7a2bcbf5b74c5e3a38fea8fe93ec4d | 1 |
pantos9000/advent-of-code-2025/src/day1.gleam | github | import gleam/int
import gleam/result
import gleam/string
pub fn run_part1(input: String) -> Int {
let accu = accu_new()
let lines = string.split(input, "\n")
let accu = process_input(accu, lines)
accu.count_zero
}
fn process_input(accu: Accumulator, lines: List(String)) -> Accumulator {
case lines {
[] ... | src/day1.gleam | https://github.com/pantos9000/advent-of-code-2025 | pantos9000 | advent-of-code-2025 | 0 | false | Unlicense | Unlicense | [
"pantos9000"
] | null | null | false | false | 2026-05-28T16:34:34.040498+00:00 | 65dcfe081dc5ee0866f366a7fd98ad6e0e0eb939 | 1 | |
superciccio/sift/src/sift/list.gleam | github | //// List validators — length constraints.
import gleam/list
/// List must have at least n items
pub fn min_length(n: Int, msg: String) -> fn(List(a)) -> Result(List(a), String) {
fn(value) {
case list.length(value) >= n {
True -> Ok(value)
False -> Error(msg)
}
}
}
/// List must have at most... | src/sift/list.gleam | https://github.com/superciccio/sift | superciccio | sift | a gleam validation library | 0 | false | MIT | MIT | [
"superciccio"
] | sift | 96 | false | false | 2026-05-28T16:50:36.092178+00:00 | 05162a57235d796452d198e97a02a85941c45377 | 1 |
Daniel-Shunom/lentil/src/utils/msg_types.gleam | github | import gleam/erlang/process
import gleam/option.{type Option}
import global/gtypes
import models/users/types/users
import utils/central/state
pub type AuthEvent {
SIGNIN
SIGNUP
SIGNOUT
}
pub type RoomEvent {
JOINROOM
LEAVEROOM
JOINROOMSESSION
LEAVEROOMSESSION
}
pub type FetchEvent {
USER
CLIENT
}
... | src/utils/msg_types.gleam | https://github.com/Daniel-Shunom/lentil | Daniel-Shunom | lentil | A fault tolerant chat server | 6 | false | BSD-3-Clause | BSD-3-Clause | [
"Daniel-Shunom"
] | null | null | false | false | 2026-05-28T15:54:13.043261+00:00 | 24d0e06e9bfded4e6b3475895b8e66510b4bfb9e | 1 |
TrustBound/dream/examples/tasks/src/templates/layouts/footer.gleam | github | // DO NOT EDIT: Code generated by matcha from footer.matcha
import gleam/string_tree.{type StringTree}
pub fn render_tree() -> StringTree {
let tree = string_tree.from_string("")
let tree =
string_tree.append(
tree,
"<footer>
<small>Built with Dream + HTMX + Pico CSS</small>
</footer>
",
)
... | examples/tasks/src/templates/layouts/footer.gleam | https://github.com/TrustBound/dream | TrustBound | dream | Clean, composable web development for Gleam. No magic. | 44 | false | MIT | MIT | [
"TrustBound"
] | dream_postgres | 911 | false | false | 2026-05-28T15:42:18.914603+00:00 | 98a7103c60ce0767d6fc1630f4a58779c2360206 | 1 |
rickyraz/oxion/apps/oxradius/test/oxion/radius/radsec/transport_test.gleam | github | import gleam/option
import oxion/radius/radsec/certs
import oxion/radius/radsec/transport
import oxion/radius/radsec/types
import oxion/radius/registry/capability
import oxion/radius/registry/types as registry_types
import oxion/radius/vendor/types as vendor_types
@external(erlang, "oxion_radius_radsec_test_ffi", "pro... | apps/oxradius/test/oxion/radius/radsec/transport_test.gleam | https://github.com/rickyraz/oxion | rickyraz | oxion | 1 | false | Apache-2.0 | Apache-2.0 | [
"rickyraz"
] | null | null | false | false | 2026-05-28T16:16:27.322830+00:00 | c329757e5423a2d0d13d0622de17b6f4be7a1d3e | 1 | |
kaiwu/opentui-gleam/packages/opentui_examples/src/opentui_examples.gleam | github | import opentui/catalog
pub fn main() -> Nil {
catalog.print_demo_catalog()
}
| packages/opentui_examples/src/opentui_examples.gleam | https://github.com/kaiwu/opentui-gleam | kaiwu | opentui-gleam | opentui, but in gleam | 1 | false | MIT | MIT | [
"kaiwu"
] | null | null | false | false | 2026-05-28T16:19:24.183615+00:00 | d3302c0ac7651ba8d5450e2d8a2c2c7bba60f7e2 | 1 |
JohnBjrk/gap/src/gap/styling.gleam | github | import gleam/option.{type Option, None, Some}
import gleam/list
import gleam/string
import gleam_community/ansi
import gap/comparison.{
type Comparison, type Segments, ListComparison, Match, NoMatch,
StringComparison,
}
import gap/styled_comparison.{type StyledComparison, StyledComparison}
/// The `Highlighter`tak... | src/gap/styling.gleam | https://github.com/JohnBjrk/gap | JohnBjrk | gap | A Gleam library for comparing strings/lists and producing a textual (styled) representation of the differences. | 20 | false | Apache-2.0 | Apache-2.0 | [
"JohnBjrk"
] | gap | 12,781 | false | false | 2026-05-28T15:44:46.398375+00:00 | 1ffb31597c9c758bf4c14d715a39a357bc8099a0 | 1 |
ns-krishnakodali/distributed-operating-systems/chord_protocol/src/main.gleam | github | import argv
import gleam/float
import gleam/int
import gleam/io
import gleam/string
import gleam/time/timestamp
import protocol_handler
pub fn main() -> Nil {
let drop_node: Bool = case argv.load().arguments {
["drop_node"] -> True
_ -> False
}
let line: String = get_line("Enter Inputs: \n")
case pars... | chord_protocol/src/main.gleam | https://github.com/ns-krishnakodali/distributed-operating-systems | ns-krishnakodali | distributed-operating-systems | This repository contains implementations of distributed system principles and protocols using Gleam. | 0 | false | MIT | MIT | [
"ns-krishnakodali"
] | null | null | false | false | 2026-05-28T16:37:20.812861+00:00 | 9ccdf29c374e3e4eb9d51646699c30332eef7142 | 1 |
darky/cleam/src/internal/fs.gleam | github | import fswalk.{Entry, Stat}
import gleam/list
import gleam/string
import gleam/yielder
import simplifile
pub type FilePath {
FilePath(String)
}
pub type FileContent {
FileContent(String)
}
pub type FilesDir {
FilesDir(String)
}
pub type ModuleFullName {
ModuleFullName(String)
}
pub fn files_paths(dir) {
... | src/internal/fs.gleam | https://github.com/darky/cleam | darky | cleam | Cleam for clean Gleam. Detect unused exports | 10 | false | MIT | MIT | [
"darky"
] | cleam | 2,212 | false | false | 2026-05-28T15:49:31.738587+00:00 | f820186388c9823ba1d804306922dd5058571296 | 1 |
pairshaped/gleam-mcp-todo/src/gleam_mcp_todo/time.gleam | github | @external(erlang, "time_ffi", "system_time_seconds")
pub fn now_unix() -> Int
| src/gleam_mcp_todo/time.gleam | https://github.com/pairshaped/gleam-mcp-todo | pairshaped | gleam-mcp-todo | A simple MCP proof of concept written in Gleam. | 1 | false | MIT | MIT | [
"pairshaped"
] | null | null | false | false | 2026-05-28T16:21:07.514685+00:00 | 914f95944dece99a4c6617329c2c6daa323d1ff8 | 1 |
wilkomanger/cheam/src/chess/http/mapper/coordinates.gleam | github | import gleam/json.{Json}
import chess/coordinates
import chess/coordinates/rank.{Rank}
import chess/coordinates/file.{File}
pub fn to_json(coords: #(Rank, File)) -> Json {
let #(rank, file) =
coords
|> coordinates.numeric()
[rank, file]
|> json.array(fn(coord) { json.int(coord) })
}
| src/chess/http/mapper/coordinates.gleam | https://github.com/wilkomanger/cheam | wilkomanger | cheam | Simple server-side chess game. | 0 | false | MIT | MIT | [
"wilkomanger"
] | null | null | false | false | 2026-05-28T17:31:49.749047+00:00 | 20c70f10a47d40d6f6c3e55e020612fe6f1e83e4 | 1 |
wilkomanger/cheam/src/chess/coordinates.gleam | github | import gleam/int.{to_string}
import gleam/list.{at}
import chess/color.{Color}
import chess/coordinates/rank.{Rank}
import chess/coordinates/file.{File}
const letters = ["a", "b", "c", "d", "e", "f", "g"]
pub fn numeric(coordinates: #(Rank, File)) -> #(Int, Int) {
let #(r, f) = coordinates
#(
r
|> rank.n... | src/chess/coordinates.gleam | https://github.com/wilkomanger/cheam | wilkomanger | cheam | Simple server-side chess game. | 0 | false | MIT | MIT | [
"wilkomanger"
] | null | null | false | false | 2026-05-28T17:31:49.749047+00:00 | 20c70f10a47d40d6f6c3e55e020612fe6f1e83e4 | 1 |
inoas/gleam-cake/test/test_support/test_data.gleam | github | pub fn drop_owners_table_if_exists() {
"DROP TABLE IF EXISTS owners;"
}
pub fn create_owners_table() {
"CREATE TABLE owners (
id INT,
name TEXT,
last_name TEXT,
age INT
);"
}
pub fn insert_owners_rows() {
"INSERT INTO owners (id, name, last_name, age) VALUES
(1, 'Alice', 'Wibble', 5),
... | test/test_support/test_data.gleam | https://github.com/inoas/gleam-cake | inoas | gleam-cake | A Gleam library to compose SQL queries targeting SQL dialects PostgreSQL, SQLite, MariaDB and MySQL. | 129 | false | MPL-2.0 | MPL-2.0 | [
"inoas"
] | null | null | false | false | 2026-05-28T15:40:37.245141+00:00 | 45b66a0a8e46da8f4353405ffe9d34f822762d6e | 1 |
MoeDevelops/chatding/src/chatding/view/chat.gleam | github | import nakai/attr.{Attr, class}
import nakai/html.{div}
pub fn view() {
div([Attr("hx-ext", "sse"), Attr("sse-connect", "/sse/connect")], [
div([Attr("sse-swap", "join"), class("user-count")], []),
div([class("message-list")], [
div([Attr("sse-swap", "message"), class("message-container")], []),
])... | src/chatding/view/chat.gleam | https://github.com/MoeDevelops/chatding | MoeDevelops | chatding | Simple SSE Chat in pure Gleam | 0 | false | MIT | MIT | [
"MoeDevelops"
] | null | null | false | false | 2026-05-28T17:18:45.542303+00:00 | 5a3c9b391b9e7282a66a77ea0b0d829a4ddbf01c | 1 |
sim82/aoc2025/gleam/src/day05.gleam | github | import gleam/int
import gleam/list
import gleam/result
import gleam/string
import simplifile
type Range {
Inc(start: Int, end: Int)
}
pub fn main() -> Nil {
let assert Ok(f) = simplifile.read("input/day05.txt")
let assert Ok(#(ranges, ingredients)) = string.split_once(f, on: "\n\n")
let ranges =
ranges
... | gleam/src/day05.gleam | https://github.com/sim82/aoc2025 | sim82 | aoc2025 | 0 | false | MIT | MIT | [
"sim82"
] | null | null | false | false | 2026-05-28T16:38:29.648219+00:00 | 776b1f7b8dc07f300ea6ae0ee065fc252b13b12b | 1 | |
horvathandris/flags/src/domain/feature.gleam | github | import gleam/result
import gleam/time/timestamp.{type Timestamp}
import sql.{
type CreateFeatureRow, type FindFeatureByIdRow, type FindFeatureByNameRow,
}
import typeid.{type TypeId}
const feature_typeid_prefix = "f"
pub type Feature {
Feature(
id: TypeId(Feature),
name: String,
description: String,
... | src/domain/feature.gleam | https://github.com/horvathandris/flags | horvathandris | flags | Feature flag management system written in Gleam | 0 | false | Apache-2.0 | Apache-2.0 | [
"horvathandris"
] | null | null | false | false | 2026-05-28T16:43:27.134442+00:00 | 8f3adcfee0dad03a220c4174aa5500ddb4d54872 | 1 |
scherzo-systems/scherzo/src/scherzo/orchestrator/daemon_remote_client.gleam | github | import gleam/erlang/process
import gleam/list
import gleam/option.{None, Some}
import gleam/result
import gleam/uri
import scherzo/config/types as config_types
import scherzo/control/remote/client
import scherzo/control/remote_envelope
import scherzo/daemon_identity
import scherzo/log
import scherzo/session/event
impor... | src/scherzo/orchestrator/daemon_remote_client.gleam | https://github.com/scherzo-systems/scherzo | scherzo-systems | scherzo | A ticket driven workflow orchestrator for AI agents | 1 | false | Apache-2.0 | Apache-2.0 | [
"scherzo-systems"
] | null | null | false | false | 2026-05-28T16:12:21.915267+00:00 | a3251bad5a1e465bec281145884364d4e7d5d3b5 | 1 |
superciccio/sift/src/sift/float.gleam | github | //// Float validators — range and positivity checks.
import gleam/float
import gleam/order
/// Value must be >= n
pub fn min(n: Float, msg: String) -> fn(Float) -> Result(Float, String) {
fn(value) {
case float.compare(value, n) {
order.Lt -> Error(msg)
_ -> Ok(value)
}
}
}
/// Value must be ... | src/sift/float.gleam | https://github.com/superciccio/sift | superciccio | sift | a gleam validation library | 0 | false | MIT | MIT | [
"superciccio"
] | sift | 96 | false | false | 2026-05-28T16:50:36.092178+00:00 | 05162a57235d796452d198e97a02a85941c45377 | 1 |
aintea4/glap/test/glap_test.gleam | github | import gleeunit
pub fn main() {
gleeunit.main()
}
| test/glap_test.gleam | https://github.com/aintea4/glap | aintea4 | glap | A small clap-like gleam library | 6 | false | MIT | MIT | [
"aintea4"
] | null | null | false | false | 2026-05-28T15:53:56.043092+00:00 | 7ac5f006fd7274ffb14b02bc9f5b377894f02937 | 1 |
atomfinger/bygg/packages/core/src/bygg/catalog/lustre_server_component.gleam | github | import bygg/contribution_block.{type Contribution, Contribution, empty}
const app_imports = [
"gleam/bytes_tree", "gleam/erlang/application",
"gleam/erlang/process.{type Subject}", "gleam/http/request.{type Request}",
"gleam/http/response", "gleam/json", "gleam/option.{Some}", "lustre",
"lustre/attribute", "lu... | packages/core/src/bygg/catalog/lustre_server_component.gleam | https://github.com/atomfinger/bygg | atomfinger | bygg | Bygg - The Gleam Initializr | 7 | false | MIT | MIT | [
"atomfinger"
] | null | null | false | false | 2026-05-28T15:52:29.224364+00:00 | b946124dccc7ed930952bda772a3d7ad5fc317ee | 1 |
anolivetree/bytes/src/bytes.gleam | github | import gleam/bit_array
import gleam/list
import gleam/result
pub fn find(d: BitArray, pattern: BitArray) -> Result(Int, Nil) {
find_recursive(d, pattern, 0)
}
fn find_recursive(d: BitArray, pattern: BitArray, pos: Int) -> Result(Int, Nil) {
let pattern_length = bit_array.byte_size(pattern)
use slice <- result.t... | src/bytes.gleam | https://github.com/anolivetree/bytes | anolivetree | bytes | bytes manipulation utilities for gleam | 0 | false | Apache-2.0 | Apache-2.0 | [
"anolivetree"
] | null | null | false | false | 2026-05-28T16:44:26.022564+00:00 | e8e957ca819ef62b61396eb772a93d19c40496e6 | 1 |
rawhat/glisten/src/glisten/internal/acceptor.gleam | github | import gleam/erlang/atom
import gleam/erlang/process.{type Selector, type Subject}
import gleam/int
import gleam/option.{type Option, None}
import gleam/otp/actor
import gleam/otp/factory_supervisor as factory
import gleam/otp/static_supervisor as supervisor
import gleam/otp/supervision
import gleam/result
import glist... | src/glisten/internal/acceptor.gleam | https://github.com/rawhat/glisten | rawhat | glisten | A pure gleam TCP library | 97 | false | Apache-2.0 | Apache-2.0 | [
"rawhat"
] | glisten | 320,393 | false | false | 2026-05-28T15:41:04.738881+00:00 | 8bce3ab3aa7cf051b9d1a2eba9e676b6cdb00712 | 1 |
BradBot1/gleam_future/src/future.gleam | github | // Copyright 2025 BradBot_1
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law or agreed to in wr... | src/future.gleam | https://github.com/BradBot1/gleam_future | BradBot1 | gleam_future | A async future library for the gleam programming language | 3 | false | Apache-2.0 | Apache-2.0 | [
"BradBot1"
] | null | null | false | false | 2026-05-28T16:01:09.150410+00:00 | 94ce72fb5b3abb5217e0e0f6a925cfcf8857dbe2 | 1 |
ecampo12/2015_gleam_aoc/day21/src/item_shop.gleam | github | import gleam/int
import gleam/list
pub type Item {
Item(name: String, cost: Int, damage: Int, armor: Int)
}
pub type Loadout {
Loadout(weapon: Item, armor: Item, ring1: Item, ring2: Item, total_cost: Int)
}
const weapons = [
Item("Dagger", 8, 4, 0),
Item("Shortsword", 10, 5, 0),
Item("Warhammer", 25, 6, 0)... | day21/src/item_shop.gleam | https://github.com/ecampo12/2015_gleam_aoc | ecampo12 | 2015_gleam_aoc | 0 | false | Apache-2.0 | Apache-2.0 | [
"ecampo12"
] | null | null | false | false | 2026-05-28T16:25:37.297871+00:00 | 46618ef33af59087ae7126013835980a39edd559 | 1 | |
scott-ray-wilson/plume/test/plume/download_options_test.gleam | github | import plume/download_options as do
pub fn to_header_test() {
assert do.to_string(do.NoOpen) == "noopen"
}
| test/plume/download_options_test.gleam | https://github.com/scott-ray-wilson/plume | scott-ray-wilson | plume | Sensible HTTP security headers for Gleam web servers, inspired by helmet. | 2 | false | MIT | MIT | [
"scott-ray-wilson"
] | plume | 54 | false | false | 2026-05-28T16:05:07.914669+00:00 | 264fe918c226934bcae67dd39c1951c55010d6d7 | 1 |
TrustBound/dream/examples/websocket_chat/src/templates/components/welcome_screen.gleam | github | // DO NOT EDIT: Code generated by matcha from welcome_screen.matcha
import gleam/string_tree.{type StringTree}
pub fn render_tree(
name_input name_input: String,
join_button join_button: String,
) -> StringTree {
let tree = string_tree.from_string("")
let tree =
string_tree.append(
tree,
"<div... | examples/websocket_chat/src/templates/components/welcome_screen.gleam | https://github.com/TrustBound/dream | TrustBound | dream | Clean, composable web development for Gleam. No magic. | 44 | false | MIT | MIT | [
"TrustBound"
] | dream_postgres | 911 | false | false | 2026-05-28T15:42:18.914603+00:00 | 98a7103c60ce0767d6fc1630f4a58779c2360206 | 1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.