{"id":15826390,"url":"https://github.com/k1m0ch1/mailchimp-cli-nodejs","last_synced_at":"2025-09-07T14:09:58.858Z","repository":{"id":72650075,"uuid":"98109895","full_name":"k1m0ch1/mailchimp-cli-nodejs","owner":"k1m0ch1","description":"hack weekend","archived":false,"fork":false,"pushed_at":"2017-07-24T03:04:19.000Z","size":34,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-12T10:03:52.355Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/k1m0ch1.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":"2017-07-23T16:12:47.000Z","updated_at":"2017-07-23T18:48:34.000Z","dependencies_parsed_at":"2023-09-11T12:36:00.652Z","dependency_job_id":null,"html_url":"https://github.com/k1m0ch1/mailchimp-cli-nodejs","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/k1m0ch1%2Fmailchimp-cli-nodejs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k1m0ch1%2Fmailchimp-cli-nodejs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k1m0ch1%2Fmailchimp-cli-nodejs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k1m0ch1%2Fmailchimp-cli-nodejs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/k1m0ch1","download_url":"https://codeload.github.com/k1m0ch1/mailchimp-cli-nodejs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246622807,"owners_count":20807211,"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-10-05T10:00:23.272Z","updated_at":"2025-04-01T10:28:05.682Z","avatar_url":"https://github.com/k1m0ch1.png","language":"JavaScript","readme":"# Simple Mailchimp nodejs cli\n\nNeed to run by creating config file `.env` with format :\n\n\n```file\nCHIMP_API_URL= \u003cURL API\u003e\nCHIMP_API_USER= \u003cUSER MAILCHIMP\u003e\nCHIMP_API_KEY= \u003cAPI KEY MAILCHIMP\u003e\n```\n\n\n\n`npm install` first and then run it with `node run.js`\n\n\n\n## Available command \n\n### Root position\n\nAfter running the command `node run.js` and successfully connection and authenticate with mailchimp app will give the state to input the command, heres a list of available command from this position :\n\n#### lists\n\nListing all available lists on the mailchimp, with format of ID and Name of the Lists, just type `lists` and enter.\n\n#### list set `\u003cid\u003e`\n\nTo explore the content of the lists, need to set the ID of lists first, with command `list set \u003cid\u003e` will return a new state as an ID lists \n\n#### exit\n\nState when you don't know what to do after starting the program (only foolish doing this), state when you in concious mind and trying to terminate the program while in state of an idle, state when you spill your coffee over your suit and blamming the coffee maker and sell it to your ex , state when you realize you are typing `exiy`, state when you laying on the gorund while crying and rolling realize your deadline is 6 hour left, state when you are realize you are an ex-IT employee in some worst company, state when you open many of this program on many console on many host and many server and forget to terminate it, state when you complete reading this for nothing.\n\n\n\nbut anyway you can try `Ctrl` + `C` if you want to terminate the process immediatly.\n\n### List Position\n\n#### stats\n\nInfromation statistic about current list\n\n#### back\n\nBack to the root position\n\n#### members\n\n#### member `\u003cemail\u003e`\n\n#### member `\u003coffset\u003e \u003climit\u003e`\n\n#### activity\n\n#### clients\n\n#### locations\n\n#### compare `\u003cfull path file location\u003e`\n\ncomparing list of member mailchimp with list of file json recommended json format object is `email`, `name`, `birthdate`, `phone`, `address` like example :\n\ncommand : `compare E:\\\\to\\\\file\\\\name.json` or `compare /home/k1m0ch1/filename.json`\n\nwith content of file :\n\n```json\n{\n\"RECORDS\":[\n{\n\"name\":\"Sheila Hana Ajijah\",\n\"email\":\"sheilaahana@gmail.com\",\n\"address\":\"Kota Cimahi\",\n\"birthdate\":\"1997\\/7\\/11\",\n\"phone\":\"082240667056\"\n},\n{\n\"name\":\"Sheila Hana Ajijah\",\n\"email\":\"debritzhana@gmail.com\",\n\"address\":\"Kota Cimahi\",\n\"birthdate\":\"1997\\/7\\/11\",\n\"phone\":\"082240667056\"\n},\n{\n\"name\":\"Galih Pratama\",\n\"email\":\"hanamura.iost@gmail.com\",\n\"address\":\"Jl. Nusa Sari Utara 1 No. 19 Perumahan Taman Citeureup\",\n\"birthdate\":\"1994\\/12\\/14\",\n\"phone\":\"085710104467\"\n}\n]\n}\n```\n\n#### compare-add `\u003cfull path file location\u003e`\n\ncomparing list of member mailchimp with list of file json, if the email on json are not registered on lists, add a new email and subscribed, recommended json format object Parent `RECORDS` with filed `email`, `name`, `birthdate`, `phone`, `address` ( following like compare command )and the new member will be added with merge field \n```json\nmerge_field : {\n\tMMERGE3 : list.name,\n\tMMERGE4 : list.birthdate,\n\tMMERGE5 : list.phone,\n\tMMERGE6 : list.address\n}\n```\n## Bug\n\n- When using compare command after success the layout of output text will over by a newline\n- some command doesn't have a handler when on list position\n\n\n\n## To do\n\n- complete list api\n- handler command\n- add image for this project\n- web live statistic","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fk1m0ch1%2Fmailchimp-cli-nodejs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fk1m0ch1%2Fmailchimp-cli-nodejs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fk1m0ch1%2Fmailchimp-cli-nodejs/lists"}