{"id":20620539,"url":"https://github.com/blacklight/ohhaimessages","last_synced_at":"2025-04-15T12:14:01.644Z","repository":{"id":1454042,"uuid":"1687815","full_name":"blacklight/OhHaiMessages","owner":"blacklight","description":"A client-server mechanism for sending text messages through your Android device from your pc","archived":false,"fork":false,"pushed_at":"2011-11-29T00:23:36.000Z","size":428,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-15T12:13:42.585Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/blacklight.png","metadata":{"files":{"readme":"README","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}},"created_at":"2011-05-01T13:39:37.000Z","updated_at":"2020-01-19T18:30:14.000Z","dependencies_parsed_at":"2022-07-29T14:09:06.592Z","dependency_job_id":null,"html_url":"https://github.com/blacklight/OhHaiMessages","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/blacklight%2FOhHaiMessages","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blacklight%2FOhHaiMessages/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blacklight%2FOhHaiMessages/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blacklight%2FOhHaiMessages/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blacklight","download_url":"https://codeload.github.com/blacklight/OhHaiMessages/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249067779,"owners_count":21207396,"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":[],"created_at":"2024-11-16T12:14:50.046Z","updated_at":"2025-04-15T12:14:01.618Z","avatar_url":"https://github.com/blacklight.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"===================================================\nOhHaiMessages\nA text messages interface for Android, from your pc\n===================================================\n\nDo you have an Android device? Do you feel yourself uncomfortable to write text\nmessages on your tiny touch screen keyboard? Are you a command line geek and you\nalways wished to send texts through your Android device with the same easiness\nof typing 'echo \"text\" | sms dest_number'? Then OhHaiMessages is just made for\nyou.\n\nOhHaiMessages consists in two applications:\n\n- A Java-developed server, that runs as application on your Android device and\naccepts requests for sending text messages;\n\n- A Python-developed client, that runs on your pc and allows you to send text\nmessages from the command line through a simple command.\n\nFirst of all, you need to copy and install the OhHaiMessagesServer.apk file onto\nyour Android device. It will be installed as a new application. You just start\nit and choose between the two available wireless interfaces that can be used for\nletting your device and your pc communicate:\n\n- WiFi: fast and reliable, but it requires your pc and your device to be in the\nsame network. On the server running on your device you should provide the port\nto listen onto (default: 4444), and on the pc you provide the IP address of your\ndevice and the port;\n\n- Bluetooth: slower and less reliable, but it does not require your devices to\nbe in the same network, or accessible via public IP address. Note that before\nstarting a communication between the devices based on bluetooth you should\nensure that your Android device IS IN DISCOVERABLE MODE (otherwise the client\nwill not be able to discover the service) and they are not too far away.\n\nAfter choosing one of the two modes on the server, your Android is ready to\naccept incoming connections and send text messages.\n\nNow it's time for the client. Just use the file ohhaiclient.py, preferably\ncopying it somewhere in your PATH and renaming it so something like 'sms'. The\nusage is quite simple:\n\necho \"text message\" | ohhaiclient.py\n        \u003c-n|--number destination_number\u003e\n        [-h|--host wifi_host_address]\n\t   [-S|--set-password \u003cnew_password\u003e] [-P|--password \u003cpassword\u003e] \n        [-p|--port wifi_host_port (default:4444)]\n        [-s|--service bluetooth_service_name (default:OhHaiMessages)]\n        [-u|--uuid bluetooth_uuid (default:828b721e-8e88-276b-6c29-0987f79bdc21)]\n        [-l|--logfile logfile_path (default: $HOME/.ohhaimessages)]\n        [-w|--wifi]\n        [-b|--bluetooth]\n\nMandatory fields:\n\n\t* -n|--number : Phone number that will receive your text message;\n\t* -w|--wifi, -b|--bluetooth : One of the two modes should be specified, in\n\torder to let the client know whether to communicate over a WiFi or a\n\tBluetooth interface to the server;\n\t* -h|--host : This field is mandatory if you specified a WiFi connection,\n\tand it specifies the IP address or hostname of your Android device running\n\tthe server.\n\nStrongly suggested field:\n\t* -P|--password : It's better when you set a password for your OhHai server\n\tinstallation, otherwise anyone connected to your mobile's same WiFi network\n\tor in bluetooth visibility could send text messages through your mobile.\n\tYou can set the password on the first time by running the command:\n\n\tohhaiclient.py [bluetooth or wifi settings] -S yourpassword\n\n\tThen on the following times you're going to send your texts by specifying\n\tsomething like:\n\n\tohhaiclient.py [bluetooth or wifi settings] -P yourpassword\n\n\tIf you want to change your password, just use something like:\n\n\tohhaiclient.py [bluetooth or wifi settings] -P oldpassword -S newpassword\n\nHave fun.\nby Fabio \"BlackLight\" Manganiello \u003cblacklight@autistici.org\u003e, http://0x00.ath.cx\n2011\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblacklight%2Fohhaimessages","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblacklight%2Fohhaimessages","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblacklight%2Fohhaimessages/lists"}