{"id":18224025,"url":"https://github.com/jilliennelapid/cnt3004-project","last_synced_at":"2026-01-28T22:37:12.033Z","repository":{"id":260863437,"uuid":"879763738","full_name":"jilliennelapid/CNT3004-Project","owner":"jilliennelapid","description":"Socket-Based Networked File Sharing Cloud Server Project for Computer Networks and Communication (CNT3004).","archived":false,"fork":false,"pushed_at":"2024-12-01T23:37:45.000Z","size":108,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-04T19:41:52.694Z","etag":null,"topics":["bcyrpt","client-server","customtkinter","json","python-3","sockets","threading","tkinter"],"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/jilliennelapid.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":"2024-10-28T14:05:19.000Z","updated_at":"2024-12-01T23:37:48.000Z","dependencies_parsed_at":"2024-11-03T06:23:26.105Z","dependency_job_id":"5b4c27ae-6269-41d9-8693-b0470317ffd2","html_url":"https://github.com/jilliennelapid/CNT3004-Project","commit_stats":null,"previous_names":["jilliennelapid/cnt3004-project"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jilliennelapid/CNT3004-Project","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jilliennelapid%2FCNT3004-Project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jilliennelapid%2FCNT3004-Project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jilliennelapid%2FCNT3004-Project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jilliennelapid%2FCNT3004-Project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jilliennelapid","download_url":"https://codeload.github.com/jilliennelapid/CNT3004-Project/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jilliennelapid%2FCNT3004-Project/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281562510,"owners_count":26522685,"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","status":"online","status_checked_at":"2025-10-29T02:00:06.901Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["bcyrpt","client-server","customtkinter","json","python-3","sockets","threading","tkinter"],"created_at":"2024-11-04T01:05:53.699Z","updated_at":"2025-10-29T04:30:32.638Z","avatar_url":"https://github.com/jilliennelapid.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CNT3004-Project\n\nTo test on Google Cloud:\n\n1) Clone the repository to your desired local directory with `git clone`.\n2) Open the local version of the repository `CNT3004-Project`.\n3) On a browser, navigate to [Google Cloud](https://console.cloud.google.com/).\n4) Create a new project.\n5) Navigate to the [Compute Engine](https://console.cloud.google.com/compute/instances) page for your project, and select on the 'VM Instances' tab.\n6) Create a VM Instance with the 'Create Instance' button\n7) Configure your instance to suit your billing affordance.\n8) Start your instance.\n9) Open the instance. Scroll to network interfaces:\n* In `server.py` change `host` to the IP address listed under 'Primary internal IP address'\n* In `client.py` change `host` to the IP address listed under 'External IP address'. Remember that this address can change with Starting/Stoping the instance or overtime.\n8) Scroll back to the top and open an SSH window with the 'SSH' button.\n9) Upload the file `server.py` into the SSH with the 'Upload File' button.\n10) Create a directory for the server files named `server_files` in your main directory.\n\u003e use command `mkdir server_files` to create the folder.\n11) Create a file named `passwords.txt` in your main directory.\n\u003e use command `touch passwords.txt` to create the file.\n12) In `view.py`, update `FILE_STORAGE_DIR` to the path of `server_files`\n\u003e use command `realpath server_files` to get the exact path; copy it and assign the value to `FILE_STORAGE_DIR`\n13) In `view.py` in the method `validate_credentials()` in the class `LoginView`, update `filepath` to the path of `passwords.txt`.\\\n\u003e use command `realpath passwords.txt` to get the exact path; copy it and assign the value to `filepath`\n14) Start the server with the command `python3 server.py`.\n15) Start the program by running `main.py`.\n16) When finished, Stop your VM instance to avoid extra billing.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjilliennelapid%2Fcnt3004-project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjilliennelapid%2Fcnt3004-project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjilliennelapid%2Fcnt3004-project/lists"}