Repository navigation
Develop - #2
Merged
Merged
Develop#2
Conversation
…atsApp library Turn the WhatsApp-OTP service into a WhatsApp transport toolkit that runs both as the msgkit-core server and as an embeddable Go library the server is built on. - Remove the OTP layer entirely (engine, templates, endpoints, otp_requests table, settings) and the Meta Cloud backend — msgkit is now a pure whatsmeow transport channel. - Rename wotp→msgkit throughout: module github.com/raucheacho/msgkit, binary msgkit-core, env MSGKIT_*, key prefixes msgkit_anon_/msgkit_service_. - Restructure library-first: promote core/* to the repo root, expose the whatsmeow wrapper as the public whatsapp package, and add the msgkit.Client facade (New/Start/OnMessage/OnStatus/SendText/SendMedia/SendLocation/…). - Build the server on that facade: Runtime holds a *msgkit.Client; handlers, webhooks (decoupled to ProcessEvent(type,data)), and inbound routing consume the neutral msgkit.Event, mapped to the stable wire event names. - Switch SQLite to pure-Go modernc.org/sqlite so everything builds with CGO_ENABLED=0 — static binaries, trivial cross-compilation, CGO-free image. - Dashboard: drop OTP/Cloud screens, rebrand to msgkit. - examples/whatsapp demonstrates single-binary embedding.
Rename the CLI module (github.com/raucheacho/msgkit/cli), binary (msgkit), generated env prefix (MSGKIT_*) and image reference, and remove the OTP settings and templates.toml generation from `msgkit init`.
Rename the three HTTP client SDKs (Go: github.com/raucheacho/msgkit/sdks/go; npm: msgkit-client; PyPI: msgkit) and remove the OTP send/verify methods, types, and errors. The transport surface (send text/media/location, presence, chats, conversations + takeover/resume, media, health) is unchanged.
Rewrite the README as an embeddable WhatsApp toolkit (drop OTP/Cloud, add the "Use as a Go library" section), rebrand LICENSE, .env.example and docker-compose.yml to MSGKIT_*, and update the CI/release workflows for the root module layout and the split release pipelines.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.