<commit_before># WinChatty: The Next Generation
[![npm version](https://badge.fury.io/js/winchatty.svg)](http://badge.fury.io/js/winchatty)

A Node.js implementation of the WinChatty API.  This is a web service providing the backend for a chatty-style web forum.  The following major clients are supported:
- [Latest Chatty](https://itunes.apple.com/us/app/latest-chatty/id287316743?mt=8) (iOS)
- [Shack Browse](https://play.google.com/store/apps/details?id=net.woggle.shackbrowse&hl=en) (Android)
- [Lamp](http://shackwiki.com/wiki/Lamp) (Windows)
- [Latest Chatty 8](https://www.microsoft.com/en-us/store/apps/latest-chatty-8/9wzdncrdklbd) (Windows)
- [NiXXeD/chatty](https://github.com/NiXXeD/chatty) (web)

Read the documentation:
- [WinChatty v2 API](https://github.com/electroly/winchatty-tng/blob/master/doc/winchatty-v2-api.md)
- [WinChatty v1 API](https://github.com/electroly/winchatty-tng/blob/master/doc/winchatty-v1-api.md) (legacy)
- [Code Design](https://github.com/electroly/winchatty-tng/blob/master/doc/code-design.md)

WinChatty improves on the original implementation ([electroly/winchatty-server](https://github.com/electroly/winchatty-server)) in the following ways:

> **Clean separation between data providers and the API.**  Thus the API does not depend on a particular database schema.  Support for additional database engines can be added.

> **Written solely in Node.js.**  The original implementation was a mixture of PHP and Node.js, built organically over the years, with many hidden dependencies.  This is a clean Node.js implementation.

> **Fully documented design.**  This will facilitate community contributions.  Both the APIs and the internal code structures are documented.

> **JSON interface only.**  Support for the XML and AMF interfaces has been dropped.  As a result, the WinChatty desktop client is no longer supported.  This greatly simplifies the API implementation.

The goal is for this codebase to be used to power the Shacknews.com comments in addition to supporting independent installs.  The WinChatty backend combined with the [NiXXeD/chatty](https://github.com/NiXXeD/chatty) frontend form a complete end-to-end forum solution with support for clients on all popular platforms.<commit_msg>fix(readme): Rewrite verbiage for WebChatty.<commit_after># WebChatty

WebChatty is a web-based forum with a threaded discussion structure inspired by the Shacknews.com comments.  The WebChatty node.js server hosts the chatty web service and the Single Page Application (SPA) frontend.  The web service implements versions 1 and 2 of the existing [WinChatty](https://github.com/electroly/winchatty-server) API and adds additional WebChatty-specific functionality.

The following native clients support WebChatty's API:
- [Latest Chatty](https://itunes.apple.com/us/app/latest-chatty/id287316743?mt=8) (iOS)
- [Shack Browse](https://play.google.com/store/apps/details?id=net.woggle.shackbrowse&hl=en) (Android)
- [Lamp](http://shackwiki.com/wiki/Lamp) (Windows)
- [Latest Chatty 8](https://www.microsoft.com/en-us/store/apps/latest-chatty-8/9wzdncrdklbd) (Windows)

Read the documentation:
- [WinChatty v2 API](https://github.com/webchatty/webchatty/blob/master/doc/winchatty-v2-api.md)
- [WinChatty v1 API](https://github.com/webchatty/webchatty/blob/master/doc/winchatty-v1-api.md)
- [Server Code Design](https://github.com/webchatty/webchatty/blob/master/doc/code-design.md)
{'fraction_non_alphanumeric': 0.11926337328266588, 'fraction_numerical': 0.010523238819058756, 'mean_word_length': 4.9513043478260865, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 17, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3035881', 'n_tokens_mistral': 1120, 'n_tokens_neox': 1077, 'n_words': 301}