Mojourney

msaelices / mojo-websockets

Library for building WebSocket servers and clients in Mojo

GitHub ↗ · first seen in GH Archive 2024-10-15 (name,description,manifest,push / language) · 15,197 lines of Mojo in 38 files at the last of 411 commits (2024-10-15 to 2025-06-22)

Stars23as of 2026-11-23
Forks0as of 2026-11-23
Depends on0Mojo libraries, of 0 declared
Used by0census repos that depend on it
Open issues5
Watchers3
Created2024-10-152.1 years ago
Lines of Mojo15,19738 files
Commits4112024-10-15 to 2025-06-22
Contributors1commit authors, bots left out
Mojo version25.4.0.dev2025060721from lock file
CategoryWeb and networkingapproximate
Toolingpixi
Packagingnone
LicenseMIT

Over time

  • Opened 9
  • Closed or merged 4

2024-10-16 to 2026-09-21; 9 issues and pull requests opened (4 issues, 5 pull requests), from GitHub by mojo_issues

Similar repos

RepoDescriptionSimilarity
lee101/mojo-websocketsMojo port of websockets - websocket framing and masking96%
atsentia/mojo-websocketPure Mojo RFC 6455 WebSocket91%
lightofbaldr/baldrA general-purpose, batteries-included Mojo package for building HTTP-fronted applications end-to-end in pure Mojo.88%
corv89/mojo-geminiGemini protocol client and server library for Mojo88%
pmatern/mojo-socketmojo wrappers for libc socket functionality87%

By the cosine of the embeddings of each repo's name, description and topics: bge-small-en-v1.5 at bbddccb7, from snapshot 3454761910736014829 of mojo.repo_embeddings, which mojo_embed writes.

Stars per month

Stars (WatchEvents) and forks per month in GH Archive, 2023-01 to 2026-100242023-012023-052023-092024-012024-052024-092025-012025-052025-092026-012026-052026-09
  • stars
  • forks

16 stars over the months of GH Archive loaded so far (47; months in between aren't loaded yet), counted from its events.

Contributors per month

People with a commit each month, and the ones with their first, 2024-10 to 2025-06012024-102024-112024-122025-012025-022025-032025-042025-052025-06
  • contributors
  • new

1 people authored or co-authored its commits (every commit reachable from HEAD, Co-authored-by trailers included, bots left out), counted by email.

Releases and tags

No releases or tags

No published release in the GH Archive days loaded, and no git tag in the clone.

Issues and pull requests

3 open and 1 closed issues; 2 open, 3 merged and 0 closed pull requests, from GitHub by mojo_issues.

Open issues

#TitleUpdatedLabelsComments
9Offer: use mojo-net / mojo-tls as the shared socket and TLS layer2026-09-21–1
8Error after making a connection2025-06-30–1
4Increase the MAX_MESSAGE_LEN alias from 2k to 16k2025-03-02–0

Pull requests

#TitleOpenedStateComments
7Update to 25.42025-06-08merged0
6Sha1 in pure Mojo2025-03-03merged0
3Concurrency support via io_uring2025-03-02open0
2Threading version to try to serve connections in parallel2025-02-20open0
1Websockets server2024-10-16merged0

Migrations

DateWhatFromToCommit
2024-10-15mojo_version–24.5.0dff870b05d
2024-10-15toolingnonemagicdff870b05d
2024-10-15mojo_version24.5.024.6.0.dev2024101405efd7f1f7e4
2024-10-15packagingnonerattler0d26ed3fb7
2024-10-19mojo_version24.6.0.dev202410140524.6.0.dev2024101905949e92756f
2024-10-22mojo_version24.6.0.dev202410190524.6.0.dev2024102205a4f20bc1df
2024-11-03mojo_version24.6.0.dev202410220524.6.0.dev2024110305e9266a44d2
2024-11-08mojo_version24.6.0.dev202411030524.6.0.dev2024110705d5e43cb88b
2024-11-14mojo_version24.6.0.dev202411070524.6.0.dev2024111405cafa9920cc
2024-11-23mojo_version24.6.0.dev202411140524.6.0.dev2024112222a7e82deb64
2024-11-28mojo_version24.6.0.dev202411222224.6.0.dev20241128053aae8584bf
2024-12-04mojo_version24.6.0.dev202411280524.6.0.dev202412030623c908b126
2024-12-07mojo_version24.6.0.dev202412030624.6.0.dev2024120705649c3a2acf
2024-12-14mojo_version24.6.0.dev202412070524.6.0.dev2024121016aa2fb94843
2025-01-02mojo_version24.6.0.dev202412101624.6.05e1625fcd1
2025-01-18mojo_version24.6.025.1.0.dev20250117050c8dcea1fc
2025-01-26mojo_version25.1.0.dev202501170525.1.0.dev2025012505252aa51f0b
2025-02-08mojo_version25.1.0.dev202501250525.1.0.dev2025020805446f61cec3
2025-02-08packagingrattlernone3009c1720e
2025-02-20mojo_version25.1.0.dev202502080525.1.0e044bac0e9
2025-03-25mojo_version25.1.025.2.0751c48ed57
2025-06-09mojo_version25.2.025.4.0.dev2025060721c45e313665
2025-06-09toolingmagicpixic45e313665

Commits

Commit types: Feature 21% · Fix 25% · Mojo version 5% · Migration 1% · Refactor 14% · Docs 4% · Tests 3% · Build and chores 2% · Merge 1% · Other 23%

DateCommitTypeSubjectLines of MojoToolingMojo version
2025-06-22f3e3c2253eFeatureAdd pre-commit install instructions in Contributing docs15,197pixi25.4.0.dev2025060721
2025-06-145e3cd648c9FixFix a segfault while logging the HTTP request There is already a to_string() using Span so this function is not needed and cause the segmentation fault15,197pixi25.4.0.dev2025060721
2025-06-098e9922c531OtherReuse code in get_from_host()15,215pixi25.4.0.dev2025060721
2025-06-090e34640611FixFix a lot of low-level stuff15,242pixi25.4.0.dev2025060721
2025-06-09d1579b5316FixFix error in the serve() docstring15,111pixi25.4.0.dev2025060721
2025-06-0937b96971b8Refactor +docsMove the handler function from argument to comp-time parameter15,111pixi25.4.0.dev2025060721
2025-06-099d5a1fdfc2Build and choresSecond try to fix the test GH action15,113pixi25.4.0.dev2025060721
2025-06-09d7455f3c9fFixFix test GH action15,113pixi25.4.0.dev2025060721
2025-06-09c45e313665Merge +testsMerge pull request #7 from msaelices/update-to-25.415,113pixi25.4.0.dev2025060721
2025-03-25751c48ed57Mojo versionUpdate dependencies after pinning Max 25.2.014,151magic25.2.0
2025-03-2554aa9f3708Other +testsAdapt the code to the new 25.3.0 version (unreleased)14,151magic25.1.0
2025-03-2512bb65ec90Mojo versionPin max 25.2.0 which is just released14,113magic25.1.0
2025-03-256f2c3fc45bMergeMerge branch 'nightly'14,113magic25.1.0
2025-03-046d869fe5edOtherPreallocate some chunk of data in the sha1 algorithm to speed it up13,891magic25.1.0
2025-03-03807e0fd51cOtherStack allocate the chunk in sha1 to spped up the hashing13,885magic25.1.0
2025-03-0318ed085575Merge +testsMerge pull request #6 from msaelices/sha1-in-mojo13,886magic25.1.0
2025-03-038a6e8e28eaFeatureAdd a note about the concurrent support implemented in the io_uring branch13,479magic25.1.0
2025-03-035db80a846fRefactor +docsSimplify echo example13,479magic25.1.0
2025-03-033c02a00d49Feature +docsNew Client.recv_text() useful function to increase API ergonomics13,480magic25.1.0
2025-02-219d40f15adeFixFix conda channel13,471magic25.1.0
2025-02-21e350b45232Mojo versionPin the exact max version13,471magic25.1.0
2025-02-20e044bac0e9Mojo versionStill stick to the 25.1 version13,471magic25.1.0
2025-02-16c9d215bcb0DocsComplete the Contributing document13,471magic25.1.0.dev2025020805
2025-02-16035c00510fDocsBetter title in README13,471magic25.1.0.dev2025020805
2025-02-161bfb734aafDocsMinor change in the README13,471magic25.1.0.dev2025020805
2025-02-1686ff5744e4Mojo versionBump 0.1.2 version that is using max 25.113,471magic25.1.0.dev2025020805
2025-02-0928a8574e4cRefactorRemove the Opcode alias as it's confusing with OpCode struct13,471magic25.1.0.dev2025020805
2025-02-098d180abf41MigrationMigrate pre-commit configuration13,473magic25.1.0.dev2025020805
2025-02-0930f0927ce2RefactorSome files formatted with mojo format -l 8813,473magic25.1.0.dev2025020805
2025-02-096366951cd5Feature +testsNew OpCode enum struct13,350magic25.1.0.dev2025020805
2025-02-09fc1adbfe62Feature +testsCreate a CloseCode enum struct13,351magic25.1.0.dev2025020805
2025-02-09e959d5880bRefactorRemove ConnType and RequestMethod as they are not used. Uppercased NetworkType constants13,353magic25.1.0.dev2025020805
2025-02-08ad15868b81OtherSome casing changes to reflect constants13,391magic25.1.0.dev2025020805
2025-02-083009c1720eRefactorRemove prefix.dev channel as we will try to be in the official Modular conda channel13,394magic25.1.0.dev2025020805
2025-02-082e0ab42a0dDocsMojo 25.1 is almost there, so removed this just in case I forget later on13,394magic25.1.0.dev2025020805
2025-02-08fbd5bb573cFeature +docsAdd logo and bump 0.1.1 version13,394magic25.1.0.dev2025020805
2025-02-084835c1ae0cDocsUpdate the maturity status of the project. It's ready for use but not production ready13,394magic25.1.0.dev2025020805
2025-02-0899f761b3e6OtherFrame does not need to implement the Writable trait13,394magic25.1.0.dev2025020805
2025-02-08446f61cec3Mojo versionUpdate dependencies13,395magic25.1.0.dev2025020805
2025-02-0864c63128f8OtherGet rid of StringRef as it's been removed of Mojo's stdlib13,395magic25.1.0.dev2025012505
2025-02-06c8e9994a43DocsBetter recv handling in the sendmsg.html example13,396magic25.1.0.dev2025012505
2025-02-0615d70a1715OtherDo not trigger the handler if the frame does not contain data (text or binary)13,396magic25.1.0.dev2025012505
2025-02-06ab3158936cDocsHTML example that sends messages to the echo server13,388magic25.1.0.dev2025012505
2025-02-0447f3179bf2FeatureAdd a features document13,388magic25.1.0.dev2025012505
2025-02-04e8feb3e900FeatureAdd run_client.sh script to the examples/echo/13,388magic25.1.0.dev2025012505
2025-02-04a7ab8ce986RefactorRemove small_time depedency13,388magic25.1.0.dev2025012505
2025-02-043b9f58aeedRefactor +docsRemove non-needed or outdated examples13,389magic25.1.0.dev2025012505
2025-02-044f015dbd27RefactorRemove non-needed dependencies13,467magic25.1.0.dev2025012505
2025-02-0440fe36018aRefactorClean-up code, reorder methods.13,467magic25.1.0.dev2025012505
2025-02-04b2b005bc8bFeatureAdd important feature for portability and testability purposes.13,886magic25.1.0.dev2025012505

The latest 50 of 411 commits; all of them are in the JSON.