Skip to content

Triple-Z/Eletron_Chat_DEMO

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Electron Chat App

This is just a demo of a basic chat app using Electron and React. The server is included and must be run using Node.js

Tiny features

  • You provide a username to enter a chat room. Server endpoint is configurable.
  • Supports Markdown.
  • List of connected users.
  • Informs connection and disconnection events.
  • Informs when someone is typing.
  • Supports multiple instances
  • Message notification.

To Use

To clone and run this repository you'll need Git and Node.js (which comes with npm) installed on your computer. From your command line:

# Clone this repository
git clone https://github.com/demian85/electron-chat-app-demo.git
# Go into the repository
cd electron-chat-app-demo
# Install dependencies
npm install
# Run local server
npm run server
# Run the app
npm start

If you want to test the app using multiple instances, remember you should only have one instance of the chat server running!

Create cross platform packages

# Build packages for Linux
npm run pack:linux
# Build packages for macOS
npm run pack:macos
# Build packages for Windows
npm run pack:win

You will now have a folder for your platform and you can run the app by executing electron-chat-app-demo

Learn more about Electron and its API in the documentation.

Create distribution packages

  • Windows .exe executable file
  • macOS .dmg or .app file

About

Simple Electron Chat Demo. (for learning electron & socket.io)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 99.1%
  • Other 0.9%