CodeWalrus

Development => Web => Topic started by: _iPhoenix_ on April 01, 2018, 12:29:10 AM

Title: iChat
Post by: _iPhoenix_ on April 01, 2018, 12:29:10 AM
Hello, everyone!


Introducing iChat: the chatting service that isn't my problem.


iChat is a lightweight chatting service. It is not a standalone application. It is supposed to be designed and customized by the user, and does not come with any styling or "creature comforts".


I should probably write some documentation. (Edit: I did!)


To install iChat into your webpage:
1) Install Firebase.
2) Set up user authentication.
3) Set the users' displayNames to the username that will be shown on screen.
4a) Add this (https://github.com/Legend-of-iPhoenix/iChat/blob/master/embed.html) line of code into the body tag, where you want it to go.
4b) Add these (https://github.com/Legend-of-iPhoenix/iChat/blob/master/database-rules.json) rules to your database rules.
5) Optionally (but recommended), add styling (https://github.com/Legend-of-iPhoenix/iChat/blob/master/docs/styling.md).

iChat is being used on multiple sites already, but I want to create my own demo for it.

For those interested in seeing the inner workings or wish to assist in the development of iChat, the main JavaScript file is here (https://github.com/Legend-of-iPhoenix/iChat/blob/master/js/iChat.js)

Edit: I just updated iChat to v0.3.0

This basically includes a bunch of bug fixes I had done earlier but forgot to push.
Title: Re: iChat
Post by: _iPhoenix_ on April 01, 2018, 01:38:41 PM
Today I added usability improvements!

You can check out an example of iChat here (https://jcgter777.github.io/TheButton/). Just sign in with Google!
Title: Re: iChat
Post by: _iPhoenix_ on April 03, 2018, 05:46:58 PM
Quote from: _iPhoenix_ on April 01, 2018, 01:38:41 PM
Today I added usability improvements!

You can check out an example of iChat here (https://jcgter777.github.io/TheButton/). Just sign in with Google!

I reverted my so-called "usability improvements". It turns out that scrambling the messages people send actually makes it less usable. :(

Introducing iChat Plugins!

iChat plugins are little snippets of code that are called whenever a message is received by the client. They take message data as input and return that message data, with or without changes!

You can read more about iChat Plugins here, in my GitHub repo (https://github.com/Legend-of-iPhoenix/iChat/blob/master/docs/plugin-api.md#plugin-api).

:walrii:
Title: Re: iChat
Post by: _iPhoenix_ on May 05, 2018, 06:37:16 PM
iChat is now v1.0.0

This update comes with additions to the Plugin API, features letting you disable iChat's usage tracking, internal code formatting improvements (I've never written code that is so neat and well documented), and documentation improvements.

I also changed how iChat handles version information.

You can read more about this release here (https://github.com/Legend-of-iPhoenix/iChat/releases/tag/v1.0.0).