{"id":17154478,"url":"https://github.com/aitjcize/pttxp","last_synced_at":"2025-10-24T00:44:09.566Z","repository":{"id":1065087,"uuid":"901868","full_name":"aitjcize/PttXP","owner":"aitjcize","description":"Ptt cross posting Bot","archived":false,"fork":false,"pushed_at":"2014-01-21T09:40:10.000Z","size":476,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-13T12:52:20.886Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://berelent.blogspot.com/p/pttxp-ptt.html","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aitjcize.png","metadata":{"files":{"readme":"README","changelog":"ChangeLog","contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2010-09-10T17:49:41.000Z","updated_at":"2022-03-26T07:04:44.000Z","dependencies_parsed_at":"2022-08-16T11:55:23.933Z","dependency_job_id":null,"html_url":"https://github.com/aitjcize/PttXP","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/aitjcize/PttXP","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aitjcize%2FPttXP","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aitjcize%2FPttXP/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aitjcize%2FPttXP/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aitjcize%2FPttXP/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aitjcize","download_url":"https://codeload.github.com/aitjcize/PttXP/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aitjcize%2FPttXP/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268334630,"owners_count":24233794,"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-08-02T02:00:12.353Z","response_time":74,"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-10-14T21:49:18.749Z","updated_at":"2025-10-24T00:44:09.506Z","avatar_url":"https://github.com/aitjcize.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"PttXP - Ptt Posting/Scripting Utility\n\nPttXP can post articles to a list of boards that you want to post automatically  without manully interference. PttXP also provides a scripting environment so\nthat you can write a script to do things for you on PTT.\n\nMacros:\n1. #connect HOST\n   - connect to HOST\n2. #login HOST,USER,PASSWD\n   - login to host with USER and PASSWD\n3. #enter\n   - emulate pressing 'Enter'\n4. #up\n   - emulate pressing 'Key Up'\n5. #down\n   - emulate pressing 'Key Down'\n6. #left\n   - emulate pressing 'Key Left'\n7. #right\n   - emulate pressing 'Key Right'\n8. #pagedown\n   - emulate pressing 'Key PageDown'\n9. #pageup\n   - emulate pressing 'Key PageUp'\n10. #home\n   - emulate pressing 'Key Home'\n11. #end\n   - emulate pressing 'Key End'\n12. #ctrl-KEY\n   - emulate pressing 'Ctrl+KEY'\n13. #goboard BOARD\n   - go to board named BOARD\n14. #postfile TITLE,FILENAME\n   - post a article titled TITLE, file content from FILENAME\n15. #delete_header BOARD\n   - delete the header of the latest post in BOARD\n16. #fromfile FILENAME\n   - Write content from file with FILENAME\n17. #crosspost CP_LIMIT,DELETE_HEADER,BOARDLIST,TITLE,FILENAME\n   - Cross posting:\n      CP_LIMIT: the number of the posts that you will get caught\n      DELETE_HEADER: True or False, whether or not to delete post header\n      BOARDLIST: list of board names you want to post\n      TITLE: title of the article\n      FILENAME: file name of the content to be post\n18. Any none macro characters are sent to PTT untouched\n\nExample:\n1. Login to PTT:\n   - The easy way:\n       #login ptt.cc,user,passwd\n\n   - The hard way:\n       #connect ptt.cc\n       user\n       #enter\n       passwd\n       #enter\n\n2. Post an article in a board:\n    - The easy way:\n        #goboard BOARD\n        #postfile The is a testing article,content.txt\n\n    - The hard way:\n        #goboard BOARD\n        #ctrl-p\n        #enter\n        This is a testing article\n        #enter\n        #fromfile content.txt\n        #ctrl-x\n        s\n        #enter\n        #enter\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faitjcize%2Fpttxp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faitjcize%2Fpttxp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faitjcize%2Fpttxp/lists"}