{"id":21148592,"url":"https://github.com/dostonbek1/nol","last_synced_at":"2026-04-17T01:03:10.524Z","repository":{"id":111584840,"uuid":"162140477","full_name":"Dostonbek1/NOL","owner":"Dostonbek1","description":"Secure chat app with cryptography ","archived":false,"fork":false,"pushed_at":"2018-12-17T14:53:13.000Z","size":25229,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-21T07:43:29.894Z","etag":null,"topics":["flask","javascript","jquery","networking","python","socketio"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Dostonbek1.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-12-17T14:10:47.000Z","updated_at":"2018-12-17T14:53:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"b269a2d9-1ee2-4e97-a0cd-3bf19eb529f5","html_url":"https://github.com/Dostonbek1/NOL","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dostonbek1%2FNOL","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dostonbek1%2FNOL/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dostonbek1%2FNOL/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dostonbek1%2FNOL/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Dostonbek1","download_url":"https://codeload.github.com/Dostonbek1/NOL/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243589333,"owners_count":20315471,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["flask","javascript","jquery","networking","python","socketio"],"created_at":"2024-11-20T09:27:29.271Z","updated_at":"2026-04-17T01:03:05.452Z","avatar_url":"https://github.com/Dostonbek1.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Secure Chat App with Cryptography\n\n*Author: Dostonbek Toirov*\n\n![Demo Image](demo.png)\n\n### Before Running the App\n\nOpen a terminal and go to the folder where the app is located by running:\n\n`cd Code/`\n\nStart the virtual environment by running:\n\n`source venv/bin/activate`\n\nAfter this command `(venv)` will appear at the beginning of the terminal prompt meaning you are in the virtual environment.\n\nIf this does not work in your case, then you can continue without having to be inside the virtual environment, but you need to install the program requirements by running:\n\n`pip install -r requirements.txt`\n\n### Running the app\n\nNow it is time to start our app. Simply run:\n\n`python3 app.py`\n\nThis will start the app on `localhost:5000` and you can view the app running through that link on the browser.\n\nOn the welcome page, there are two buttons showing two options. \n\n### Start a New Chat\n - To start a new chat we can choose \"Start Chat**. \n - On the pop-up, we need to put a username we want (maximum 9 characters) and press \"Generate Key\" to generate a new room key. \n - Then we can press \"Start Chat\". It will take us to a new page with where we can start messaging. \n - Simply type anything in the message box, and set the **Secret Key** to a number you'd like. Then either hit \"Enter\" or press the button with send icon. \n\nThis should display the message in the field top of the message box with a sender's name to the left. For now, it is only you in the chat room. \n\n### Join Chat\n - To have other 'chatters' in this room, simply copy the chat room key to the bottom of the message box. \n - Open a new tab in the browser and go to `localhost:5000`. \n - Press \"Join Chat\". \n - Fill in your name and paste the copied chat room key to the chat room key field. \n - Press \"Start Chat\". \n - Then, set the **Secret Key** the same as the other 'chatter'.\n\nNow you can start having a chat between the two 'chatters'. \n\n### To view the cryptography happening\n - Right-click on the browser page.\n - Choose \"Inspect element\"\n - From a set of tabs, choose \"Console\".\n - Try sending messaging and the encrypted version of your messages will display on there. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdostonbek1%2Fnol","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdostonbek1%2Fnol","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdostonbek1%2Fnol/lists"}