saltyim is the Go library and reference client and broker implementation for Salty IM it contains a command-line client (cli), a terminal user interface (tui), builtin server/broker and a Mobile / Desktop App PWA (progressive web app)
Go to file
mlctrez 504c66f7c1 make outbox.state same as client.state to allow persisting last message retrieved (#168)
After testing quite a bit on the saltyim/app client, I tracked down why all outbox messages were being pulled every time a new client starts up.

I believe the outbox client state should be shared with the parent client to allow the last message retrieved from the oubox to be persisted.

Co-authored-by: mlctrez <mlctrez@gmail.com>
Reviewed-on: https://git.mills.io/saltyim/saltyim/pulls/168
Reviewed-by: James Mills <james@mills.io>
Co-authored-by: mlctrez <mlctrez@noreply@mills.io>
Co-committed-by: mlctrez <mlctrez@noreply@mills.io>
2022-04-29 21:59:40 +00:00
.chglog Add chglog config 2022-03-20 00:49:56 +10:00
.dockerfiles Tidy up the Docker image's entrypoint 2022-03-27 00:58:28 +10:00
bin Make the service bot actually work finally (#73) 2022-03-27 05:25:09 +00:00
certs Add clean-all target to Makefile 2022-03-28 11:08:19 -06:00
cmd fix_case_insensitive_addrs (#148) 2022-04-04 16:09:27 +00:00
data Use the new and improved with write-ahead-log (wal) support (#136) 2022-04-03 16:45:59 +00:00
deployment docker swarm deployment and dns documentation (#167) 2022-04-26 01:44:51 +00:00
hooks support for contacts, multiple chat threads, and persistence (#77) 2022-03-28 21:49:01 +00:00
internal make outbox.state same as client.state to allow persisting last message retrieved (#168) 2022-04-29 21:59:40 +00:00
tools Add lookup command (#4) 2022-03-18 14:48:59 +00:00
.drone.yml Add Avatar service and cli for updating avatar on a broker (#116) 2022-04-02 02:59:39 +00:00
.gitattributes Add clean-all target to Makefile 2022-03-28 11:08:19 -06:00
.gitignore Improve the registration process, add feedback to the PWA's UX adn use an API for registration (#147) 2022-04-04 16:04:38 +00:00
.goreleaser.yml Add support for Dekstop/Web notifications via a forked beeep library (#103) 2022-03-31 06:33:59 +00:00
CHANGELOG.md Update CHANGELOG for 0.0.1 2022-04-06 09:30:43 +10:00
Caddyfile feat: add compression negotiation for sent messages (#91) 2022-03-29 22:23:16 +00:00
Corefile Add Avatar service and cli for updating avatar on a broker (#116) 2022-04-02 02:59:39 +00:00
Dockerfile Fix Dockerfile and add internal/pwas/utils (#100) 2022-03-31 00:58:09 +00:00
LICENSE Add lookup command (#4) 2022-03-18 14:48:59 +00:00
Makefile Fix certs Makefile target for local dev and fix alternate subject name 2022-04-15 18:11:46 +10:00
OLDREADME.md Update 'OLDREADME.md' 2022-03-23 00:18:30 +00:00
README.md docker swarm deployment and dns documentation (#167) 2022-04-26 01:44:51 +00:00
Roadmap.md Update 'Roadmap.md' 2022-03-25 21:38:44 +00:00
client.go make outbox.state same as client.state to allow persisting last message retrieved (#168) 2022-04-29 21:59:40 +00:00
client_test.go make outbox.state same as client.state to allow persisting last message retrieved (#168) 2022-04-29 21:59:40 +00:00
db.home.arpa Add Avatar service and cli for updating avatar on a broker (#116) 2022-04-02 02:59:39 +00:00
example-config.yml feat: make endpoint uniform. add profiles (#30) 2022-03-21 00:31:59 +00:00
format.go Refactor Endpoint for automatic endpoint discovery and less configuration (#46) 2022-03-23 12:39:31 +00:00
format_test.go Add unit tests (#55) 2022-03-25 01:52:59 +00:00
go.mod Update to msgbus v0.1.19 2022-04-05 16:12:59 +10:00
go.sum Update to msgbus v0.1.19 2022-04-05 16:12:59 +10:00
identity.go fix_case_insensitive_addrs (#148) 2022-04-04 16:09:27 +00:00
identity_test.go Fix GetIdentity() 2022-03-27 01:55:24 +10:00
log Improve the registration process, add feedback to the PWA's UX adn use an API for registration (#147) 2022-04-04 16:04:38 +00:00
lookup.go fix_case_insensitive_addrs (#148) 2022-04-04 16:09:27 +00:00
lookup_test.go Add unit tests (#55) 2022-03-25 01:52:59 +00:00
options.go navigation drawer is now fixed for > 900px windows (#157) 2022-04-07 03:43:09 +00:00
preflight.sh feat: hax for great justice (#14) 2022-03-19 21:33:03 +00:00
resolv.go fix: avatar, add logging (#109) 2022-03-31 21:19:45 +00:00
send.go Fix Send() and ProxySend() (#105) 2022-03-31 10:40:40 +00:00
service.go Add support for state for Service{} (#142) 2022-04-04 03:42:54 +00:00
state.go Use the new and improved with write-ahead-log (wal) support (#136) 2022-04-03 16:45:59 +00:00
types.go Improve the registration process, add feedback to the PWA's UX adn use an API for registration (#147) 2022-04-04 16:04:38 +00:00
utils.go feat: add compression negotiation for sent messages (#91) 2022-03-29 22:23:16 +00:00
utils_test.go Add unit tests (#55) 2022-03-25 01:52:59 +00:00
version.go Fix version info -v/--version (#138) 2022-04-03 23:13:32 +00:00

Salty IM

Build Status

Quick Start

$ go install go.mills.io/saltyim/cmd/salty-chat@latest
$ salty-chat make-user user@domain
$ salty-chat chat prologic@mills.io

Documentation

Coming soon™ -- See also the Old Readme for how this implementation started out as a simple shell script which you can still find at salty-chat.sh.

Deploy With Docker Swarm and Cloudflare

Visit: deployment

Roadmap

Please refer to the Roadmap document.

License

salty-msgbus-chat is licensed under the terms of the WTFPL license.