{"id":22846337,"url":"https://github.com/noahmorrison/wmup","last_synced_at":"2025-03-31T05:40:46.516Z","repository":{"id":23826805,"uuid":"27203781","full_name":"noahmorrison/wmup","owner":"noahmorrison","description":"Wordpress Multi-media UPloader","archived":false,"fork":false,"pushed_at":"2015-05-04T01:30:10.000Z","size":200,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-06T10:14:43.755Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/noahmorrison.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-11-27T01:27:28.000Z","updated_at":"2015-05-04T01:30:10.000Z","dependencies_parsed_at":"2022-07-27T04:17:28.142Z","dependency_job_id":null,"html_url":"https://github.com/noahmorrison/wmup","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/noahmorrison%2Fwmup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noahmorrison%2Fwmup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noahmorrison%2Fwmup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noahmorrison%2Fwmup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/noahmorrison","download_url":"https://codeload.github.com/noahmorrison/wmup/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246423494,"owners_count":20774796,"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-12-13T03:27:23.854Z","updated_at":"2025-03-31T05:40:46.492Z","avatar_url":"https://github.com/noahmorrison.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Wordpress Multi-media UPloader (wmup) is a python program that can upload custom wordpress posts with media attachments.\n\n(Actually... now that I think about it, it might only upload media attachments for blubrry powerpress)\n\n\n\n### Usage ###\n---\nWhen the script is run it looks for your configuration file at ~/.config/wmup/config.json\n\n\n### Configuration ###\n---\n\nexample ~/etc/wmup/config.json\n```json\n{\n    \"auth\": {\n        \"site\": \"http://your_wordpress_site.org/xmlrpc.php\",\n        \"user\": \"YourWordpressUsername\",\n        \"pass\": \"YourWordpressPassword!42\"\n    },\n\n    \"items\": [\n        {\n            \"before\": [\n                \"echo Hello!\",\n                \"echo These work with keys too {path} {@term_1}\"\n            ],\n            \"after\": \"echo you don't need to put a single command in a list\",\n\n            \"path\": \"/path/to/media/test.mp3\",\n\n            \"type\": \"Your_custom_post_type\",\n            \"publish\": false,\n\n            \"date\": \"2014-11-26 10 PM\",\n            \"date-format\": \"%Y-%m-%d %I %p\",\n            \"zone\": -5,\n\n            \"content\": \"{@term_5}\",\n\n            \"@term_1\": \"These are your\",\n            \"@term_2\": \"Custom post_type's terms\",\n            \"@term_5\": \"http://codex.wordpress.org/Taxonomies\",\n\n            \"!comment\": \"Json values with an exclamation mark in front are ignored\",\n            \"!term_6\": \"Useful for commenting out a term since json is lacking comments\"\n        }\n    ]\n}\n```\n\nbefore and after are lists of commands to run before and after the post is uploaded to wordpress.\nYou can use these to convert files to the right format and clean up after your're done.\n\nScripts that you want to run must currently live in ~/etc/wmup/scripts/ \nbut they can call anything from there.\n\n\n### TODO ###\n---\n\n* let scripts set variables\n* print scripts output nicer (something like \"echo: hey\")\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoahmorrison%2Fwmup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnoahmorrison%2Fwmup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoahmorrison%2Fwmup/lists"}