├── .github
└── FUNDING.yml
├── icon.ico
├── img
├── 1.png
├── 2.png
└── icon.png
├── package.json
├── CHANGELOG.md
├── default_app.js
├── .all-contributorsrc
├── CONTRIBUTING.md
├── LICENSE.md
├── main.js
├── README.md
├── css
└── style.css
├── index.html
├── CODE_OF_CONDUCT.md
└── js
└── main.js
/.github/FUNDING.yml:
--------------------------------------------------------------------------------
1 | custom: https://liberapay.com/DevCreatives/donate
2 |
--------------------------------------------------------------------------------
/icon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/devcreatives/Group-Chatting/development/icon.ico
--------------------------------------------------------------------------------
/img/1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/devcreatives/Group-Chatting/development/img/1.png
--------------------------------------------------------------------------------
/img/2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/devcreatives/Group-Chatting/development/img/2.png
--------------------------------------------------------------------------------
/img/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/devcreatives/Group-Chatting/development/img/icon.png
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "electron",
3 | "productName": "Electron",
4 | "main": "main.js"
5 | }
6 |
--------------------------------------------------------------------------------
/CHANGELOG.md:
--------------------------------------------------------------------------------
1 | # Change Log
2 |
3 | All notable changes to the "Group Chatting" will be documented in this file.
4 |
5 | ## Group Chatting [1.0.0] - 2019-09-01 (Released)
6 | ### Added
7 | - Added firebase support added by [@viveksharmaui](https://github.com/viveksharmaui).
8 | - Added Electron JS support added by [@viveksharmaui](https://github.com/viveksharmaui).
9 | - Added vannila JS added by [@viveksharmaui](https://github.com/viveksharmaui).
10 |
--------------------------------------------------------------------------------
/default_app.js:
--------------------------------------------------------------------------------
1 | const electron = require('electron');
2 | const app = electron.app;
3 | const BrowserWindow = electron.BrowserWindow;
4 |
5 | var mainWindow = null;
6 |
7 | // Quit when all windows are closed.
8 | app.on('window-all-closed', function() {
9 | app.quit();
10 | });
11 |
12 | app.on('ready', function() {
13 | mainWindow = new BrowserWindow({
14 | width: 800,
15 | height: 600,
16 | autoHideMenuBar: true,
17 | useContentSize: true,
18 | });
19 | mainWindow.loadURL('file://' + __dirname + '/index.html');
20 | mainWindow.focus();
21 | });
22 |
--------------------------------------------------------------------------------
/.all-contributorsrc:
--------------------------------------------------------------------------------
1 | {
2 | "files": [
3 | "README.md"
4 | ],
5 | "imageSize": 100,
6 | "commit": false,
7 | "contributors": [
8 | {
9 | "login": "viveksharmaui",
10 | "name": "Slim Coder",
11 | "avatar_url": "https://avatars1.githubusercontent.com/u/28563357?v=4",
12 | "profile": "https://viveksharmaui.js.org",
13 | "contributions": [
14 | "code",
15 | "infra",
16 | "bug",
17 | "doc",
18 | "test"
19 | ]
20 | }
21 | ],
22 | "contributorsPerLine": 7,
23 | "projectName": "EasyRTC-Peer-2-Peer-Video-Calling-React",
24 | "projectOwner": "Techistan",
25 | "repoType": "github",
26 | "repoHost": "https://github.com",
27 | "skipCi": true
28 | }
29 |
--------------------------------------------------------------------------------
/CONTRIBUTING.md:
--------------------------------------------------------------------------------
1 | # Contribution instructions
2 |
3 | ## Shipping a new functionality
4 |
5 | 1. You can only contribute on master branch.
6 | 2. Fork this repo.
7 | 3. Pull latest master branch.
8 | 4. Contribute something great.
9 | 5. Don't forget to write unit/integration/e2e/stress test.
10 | 6. Create pull request of your branch to master branch.
11 | 7. Wait for Travis CI test to be passed.
12 | 8. Wait for reviewer to review pull request file changes (This process can take upto few day's so relax).
13 | 9. Wait for admistrator to merge pull request with master branch.
14 | 10. After doing all above steps now wait to see your changes in master and in production (This process can takes upto few weeks or months when we RELEASED new version).
15 |
16 |
17 | **Happy Contributing**
18 |
--------------------------------------------------------------------------------
/LICENSE.md:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2019 Group Chatting
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6 |
7 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8 |
9 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
10 |
--------------------------------------------------------------------------------
/main.js:
--------------------------------------------------------------------------------
1 | var app = require('app'); // Module to control application life.
2 | var BrowserWindow = require('browser-window'); // Module to create native browser window.
3 | var path = require('path');
4 | // Keep a global reference of the window object, if you don't, the window will
5 | // be closed automatically when the JavaScript object is garbage collected.
6 | var mainWindow = null;
7 |
8 | // Quit when all windows are closed.
9 | app.on('window-all-closed', function() {
10 | // On OS X it is common for applications and their menu bar
11 | // to stay active until the user quits explicitly with Cmd + Q
12 | if (process.platform != 'darwin') {
13 | app.quit();
14 | }
15 | });
16 |
17 | // This method will be called when Electron has finished
18 | // initialization and is ready to create browser windows.
19 | app.on('ready', function() {
20 | // Create the browser window.
21 | mainWindow = new BrowserWindow({
22 | width: 900,
23 | height: 600,
24 | icon:path.join(__dirname, 'img/icon.png')
25 | });
26 | // and load the index.html of the app.
27 | mainWindow.loadURL('file://' + __dirname + '/index.html');
28 | // Emitted when the window is closed.
29 | mainWindow.on('closed', function() {
30 | // Dereference the window object, usually you would store windows
31 | // in an array if your app supports multi windows, this is the time
32 | // when you should delete the corresponding element.
33 | mainWindow = null;
34 | });
35 | });
36 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 |
2 |
3 | [](#contributors-)
4 |
5 |
6 | ## Contributors ✨
7 |
8 | Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
9 |
10 |
11 |
12 |
13 |
25 |
26 |
27 |
28 |
29 |
41 |
42 |
43 |
44 |
--------------------------------------------------------------------------------
/CODE_OF_CONDUCT.md:
--------------------------------------------------------------------------------
1 | # Contributor Covenant Code of Conduct
2 |
3 | ## Our Pledge
4 |
5 | In the interest of fostering an open and welcoming environment, we as
6 | contributors and maintainers pledge to making participation in our project and
7 | our community a harassment-free experience for everyone, regardless of age, body
8 | size, disability, ethnicity, sex characteristics, gender identity and expression,
9 | level of experience, education, socio-economic status, nationality, personal
10 | appearance, race, religion, or sexual identity and orientation.
11 |
12 | ## Our Standards
13 |
14 | Examples of behavior that contributes to creating a positive environment
15 | include:
16 |
17 | * Using welcoming and inclusive language
18 | * Being respectful of differing viewpoints and experiences
19 | * Gracefully accepting constructive criticism
20 | * Focusing on what is best for the community
21 | * Showing empathy towards other community members
22 |
23 | Examples of unacceptable behavior by participants include:
24 |
25 | * The use of sexualized language or imagery and unwelcome sexual attention or
26 | advances
27 | * Trolling, insulting/derogatory comments, and personal or political attacks
28 | * Public or private harassment
29 | * Publishing others' private information, such as a physical or electronic
30 | address, without explicit permission
31 | * Other conduct which could reasonably be considered inappropriate in a
32 | professional setting
33 |
34 | ## Our Responsibilities
35 |
36 | Project maintainers are responsible for clarifying the standards of acceptable
37 | behavior and are expected to take appropriate and fair corrective action in
38 | response to any instances of unacceptable behavior.
39 |
40 | Project maintainers have the right and responsibility to remove, edit, or
41 | reject comments, commits, code, wiki edits, issues, and other contributions
42 | that are not aligned to this Code of Conduct, or to ban temporarily or
43 | permanently any contributor for other behaviors that they deem inappropriate,
44 | threatening, offensive, or harmful.
45 |
46 | ## Scope
47 |
48 | This Code of Conduct applies both within project spaces and in public spaces
49 | when an individual is representing the project or its community. Examples of
50 | representing a project or community include using an official project e-mail
51 | address, posting via an official social media account, or acting as an appointed
52 | representative at an online or offline event. Representation of a project may be
53 | further defined and clarified by project maintainers.
54 |
55 | ## Enforcement
56 |
57 | Instances of abusive, harassing, or otherwise unacceptable behavior may be
58 | reported by contacting the project team at sharma_vivek62@yahoo.com. All
59 | complaints will be reviewed and investigated and will result in a response that
60 | is deemed necessary and appropriate to the circumstances. The project team is
61 | obligated to maintain confidentiality with regard to the reporter of an incident.
62 | Further details of specific enforcement policies may be posted separately.
63 |
64 | Project maintainers who do not follow or enforce the Code of Conduct in good
65 | faith may face temporary or permanent repercussions as determined by other
66 | members of the project's leadership.
67 |
68 | ## Attribution
69 |
70 | This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71 | available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
72 |
73 | [homepage]: https://www.contributor-covenant.org
74 |
75 | For answers to common questions about this code of conduct, see
76 | https://www.contributor-covenant.org/faq
77 |
--------------------------------------------------------------------------------
/js/main.js:
--------------------------------------------------------------------------------
1 | var database = firebase.database();
2 | var name=localStorage.getItem("name") ;
3 | var NAME = [];
4 | var chat=localStorage.getItem("chat");
5 | var CHAT = [];
6 | var counter ;
7 | var gender=localStorage.getItem("gender");
8 | var GENDER = [];
9 | var date;
10 | var DATE = [];
11 | var Id=0 ;
12 | var USERNAME=[];
13 | var PASSWORD=[];
14 | var LOGINGENDER=[];
15 | var password=localStorage.getItem("password");
16 | var interval=setInterval(myMethod, 10000);
17 | myMethod();
18 | if(gender==null || name==null || name==undefined)
19 | {
20 | }
21 | else {
22 | var navbar = document.getElementById('navbar');
23 | navbar.innerHTML = "
User : "+ name.charAt(0).toUpperCase()+name.slice(1).toLowerCase()+"