Giter Club home page Giter Club logo

lan-messenger's Introduction

LAN Messenger

A toy for learning "socket" using Node.js and Electron.

Install Dependencies

npm install -g bower
npm install
bower install

FOR CHINESE USERS

It's recommended to configure your npm's proxy setting. For example, save the following text as .npmrc:

proxy=http://127.0.0.1:1080 https-proxy=http://127.0.0.1:1080


# Run
## Server

npm start server

OR

node server.js


## Client
[electron-prebuilt](https://npmjs.org/package/electron-prebuilt) is an `npm` module that contains pre-compiled versions of Electron.  
If you've installed it globally with npm, then you will only need to run:

electron .


Or you should run the following commands to start the client:
### Windows

.\node_modules.bin\electron .

### Linux and OS X

./node_modules/.bin/electron .


# Thanks
- Main UI Design: [Appon Chat Widget](https://dribbble.com/shots/1818748-Appon-Chat-Widget) by [Olia Gozha](https://dribbble.com/OliaGozha)
- Main UI's code is modified from: [5 Живой чат / Live chat](http://codepen.io/retyui/details/zxGqPJ)
- The notification widget is taken from [ZeroNet](https://github.com/HelloZeroNet/ZeroNet)

# Snapshots
![Server Logs](snapshots/server.png)  
![Client Configuration Window](snapshots/client-configure.png)  
![Client Login Window](snapshots/client-login.png)  
![Client Main Window](snapshots/client.png)

lan-messenger's People

Contributors

leonismoe avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

chundany venmade

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.