Coder Social home page Coder Social logo

xmpp-web's Introduction

XMPP Web

Flattr this! Gitter

The client is live on https://zeonfed.org.

Usage

npm install
npm start

For generating static assets for production:

npm run build

Implemented XEPs

  • XEP-0054: vCards
  • XEP-0153: vCard-based Avatars
  • XEP-0085: Chat State Notifications
  • XEP-0280: Message Carbons
  • XEP-0092: Software Version
  • XEP-0012: Last Activity
  • XEP-0333: Chat Markers
  • XEP-0184: Message Delivery Receipts

Road map

  • Track recently used stickers
  • Manage sticker inventory subscriptions/trust, send along inventory URL
  • Stickers "shop" dialog for managing inventories, choosing popout selection
  • XEP-0077: Changing password
  • XEP-0045: Multi-User Chat

Nice to haves but probably far off

  • XEP-0313: Message Archive Management
  • OMEMO support

Stickers XEP

This implementation has a chat stickers feature. For discussion/spec, refer to Issue #3

xmpp-web's People

Contributors

gargron avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

xmpp-web's Issues

[Feature] Thumbnail Support

A real nice Feature Combine with HTTP Upload/Download, to support Thumbnails for different filetypes like Images/Audio and so on....

Error: Cannot find module 'lodash/lang/isFunction'

0 info it worked if it ends with ok
1 verbose cli [ 'node', '/usr/bin/npm', 'start' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info prestart [email protected]
6 info start [email protected]
7 verbose unsafe-perm in lifecycle true
8 info [email protected] Failed to exec start script
9 verbose stack Error: [email protected] start: webpack-dev-server --config webpack-dev-server.config.js --progress --inline --colors
9 verbose stack Exit status 8
9 verbose stack at EventEmitter. (/usr/lib/node_modules/npm/lib/utils/lifecycle.js:214:16)
9 verbose stack at EventEmitter.emit (events.js:98:17)
9 verbose stack at ChildProcess. (/usr/lib/node_modules/npm/lib/utils/spawn.js:24:14)
9 verbose stack at ChildProcess.emit (events.js:98:17)
9 verbose stack at maybeClose (child_process.js:766:16)
9 verbose stack at Process.ChildProcess._handle.onexit (child_process.js:833:5)
10 verbose pkgid [email protected]
11 verbose cwd /home/web/site/im.perhome.cn
12 error Linux 2.6.32-042stab094.7
13 error argv "node" "/usr/bin/npm" "start"
14 error node v0.10.36
15 error npm v2.14.3
16 error code ELIFECYCLE
17 error [email protected] start: webpack-dev-server --config webpack-dev-server.config.js --progress --inline --colors
17 error Exit status 8
18 error Failed at the [email protected] start script 'webpack-dev-server --config webpack-dev-server.config.js --progress --inline --colors'.
18 error This is most likely a problem with the xmpp-web package,
18 error not with npm itself.
18 error Tell the author that this fails on your system:
18 error webpack-dev-server --config webpack-dev-server.config.js --progress --inline --colors
18 error You can get their info via:
18 error npm owner ls xmpp-web
18 error There is likely additional logging output above.
19 verbose exit [ 1, true ]

OMEMO support

So the new big thing in XMPP messaging is end-to-end encryption based on the Axolotl protocol (known from TextSecure by OpenWhisper Systems) instead of Off-the-Record Messaging. The advantage is that multiple devices and active sessions are supported, as well as other improved security things that the average user will not notice.

It is already implemented in Conversations for Android. It would be great if XMPP Web could support it too. If anyone has a better understanding of how it works and how to implement it than me, please help.

[Issue] VCard don't any Picture

Hey Bro,

This Client is freaky Awesome, but for me doesn't show any Images from VCard's.

I use prosody 0.10 Trunk with profiles Modul...

At Android Client "Conversation" all works finde...

Update: The Problem is the pull size from the Avatar If I setup a Avatar over the Client it works with little/small Images, over Pidgin it works too,,,,

I tried to reconfigure some Bitmap converts at Android Client but nothing help....

Could you fetch the Avatar of random sizes ? This will fix all :)

Stickers XEP - Working out the details

So, I would like to discuss the realities and intricansies of implementing stickers in XMPP. I've come up with a very simplicistic draft that assumes there's a central authority that hosts stickers and controls their availability and namespaces.

In a nutshell:

<message
    from="[email protected]"
    to="[email protected]"
    type="chat">
  <sticker xmlns="http://jabber.zeonfederated.com/protocol/stickers"
      uid="pusheen.halloween.pumpkin" />
</message>

Would be a sticker-message wherein the UID means the organization/artist "pusheen", sticker pack "halloween" and sticker identified by "pumpkin", and would get translated by the receiving client into a HTTP asset URL. (The reason I decided not to send URLs in the first place is to prevent displaying random received URLs that could be malicious and also allowing to change the hosting place of the stickers without breaking history)

Is this viable? Is this okay? Could other clients potentially adopt support for this?

Another question is of course who gets to manage and host the inventory of stickers.

If you're asking yourself - who needs stickers? For enterprise usage, I suppose nobody; although my chats with my boss often involve an exchange of cute stickers that makes the whole thing quite fun. It's no secret though that a lot of normal, not technically-arcane people are attracted to cute stickers. They are essentially the sole reason the messaging app LINE took off at all.

Feedback and discussion welcome.

Lock the host

I would prefer an option to lock the host which is used with xmpp-web. This way I could make sure that just users from my xmpp server are connecting. Jappix implemented this very well.

Choose whether to allow users to login to the XMPP server they want or not.

Strophe?

You might want to check out xmpp-ftw.jit.su or stanza.io...

[Feature] Translation Support

Hey Bro,

I startet to translate our awesome Projekt for myself, but to configure random languages will be nice.

My Idea, a language could be configure into the compile config at production version via NPM Stuff....

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.