{"id":19043484,"url":"https://github.com/sivaraam/fft_chat","last_synced_at":"2026-06-19T08:01:55.866Z","repository":{"id":182872174,"uuid":"173595739","full_name":"sivaraam/fft_chat","owner":"sivaraam","description":"A Python chat application with Fast Fourier Transform used as intermediary format of conversion before transmission.","archived":false,"fork":false,"pushed_at":"2019-03-18T03:51:29.000Z","size":38,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-23T16:48:16.512Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/sivaraam.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}},"created_at":"2019-03-03T15:53:56.000Z","updated_at":"2019-03-18T03:51:31.000Z","dependencies_parsed_at":"2023-07-22T00:01:21.473Z","dependency_job_id":null,"html_url":"https://github.com/sivaraam/fft_chat","commit_stats":null,"previous_names":["sivaraam/fft_chat"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sivaraam/fft_chat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sivaraam%2Ffft_chat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sivaraam%2Ffft_chat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sivaraam%2Ffft_chat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sivaraam%2Ffft_chat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sivaraam","download_url":"https://codeload.github.com/sivaraam/fft_chat/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sivaraam%2Ffft_chat/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34522042,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-19T02:00:06.005Z","response_time":61,"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":[],"created_at":"2024-11-08T22:42:15.509Z","updated_at":"2026-06-19T08:01:55.826Z","avatar_url":"https://github.com/sivaraam.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## FFT Chat\nA GUI based chat room that applies uses FFT to encode/decode\nmessages sent by users. It is a client/server based application.\n\n### Usage\n* See if [Dependencies](#dependencies) have been installed.\n\n* Start the server:\n\n\t`python3 server.py`\n\n\tBy default, the server runs in port in port `33000`. Currently it can\n\tonly be changed by editing the source of `server.py`.\n\tThe `PORT` variable has to be changed.\n\n* Start the client:\n\n\t`python3 client.py`\n\n\tThe client asks for the `HOST` address and `PORT` to connect to. If\n\tboth client and server run in the same machine, no need to enter\n\tthe HOST. If server runs in port `33000` no need to enter it either.\n\n* Then user can follow instructions in the GUI window that pops up.\n\n### Dependencies\n* `numpy` (for FFT)\n* `tkinter` (for GUI)\n\n#### Installing dependencies\n* `numpy`\n\n\t```\n\tpip3 install numpy\n\t```\n\n* `tkinter`\n\tFor Ubuntu or Debian based distributions:\n\t```\n\tsudo apt install python3-tk\n\t```\n\n\tFor other platforms refer to the [official Tk documentation](https://tkdocs.com/tutorial/install.html).\n\n### Notes\n* The maximum packet size is limited to `102400`. It's a limitation which has to be fixed. References:\n\t- [socket.recv -- three ways to turn it into recvall (Python recipe)](https://code.activestate.com/recipes/408859/)\n\t- [Python socket receive - incoming packets always have a different size](https://stackoverflow.com/q/1708835/5614968)\n\t- [Socket Programming HOWTO](https://docs.python.org/3/howto/sockets.html)\n\n### References\n* [Discrete Fourier Transform (numpy.fft)](https://docs.scipy.org/doc/numpy/reference/routines.fft.html)\n* [Let’s Write a Chat App in Python](https://medium.com/swlh/lets-write-a-chat-app-in-python-f6783a9ac170)\n* [Object serialization in Python](https://www.thepythoncorner.com/2016/12/object-serialization-in-python/?doing_wp_cron=1551636082.3169770240783691406250)\n* [pickle — Python object serialization](https://docs.python.org/2/library/pickle.html)\n* [socket — Low-level networking interface](https://docs.python.org/3/library/socket.html)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsivaraam%2Ffft_chat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsivaraam%2Ffft_chat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsivaraam%2Ffft_chat/lists"}