{"id":15611350,"url":"https://github.com/pcboy/trippyplan","last_synced_at":"2025-10-28T22:42:19.745Z","repository":{"id":59158092,"uuid":"76530554","full_name":"pcboy/trippyplan","owner":"pcboy","description":"Cluster your next trip attractions and optimise your travel","archived":false,"fork":false,"pushed_at":"2016-12-16T08:17:57.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-13T05:48:34.173Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/pcboy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-12-15T06:29:13.000Z","updated_at":"2016-12-15T06:29:42.000Z","dependencies_parsed_at":"2022-09-13T20:10:22.414Z","dependency_job_id":null,"html_url":"https://github.com/pcboy/trippyplan","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pcboy%2Ftrippyplan","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pcboy%2Ftrippyplan/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pcboy%2Ftrippyplan/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pcboy%2Ftrippyplan/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pcboy","download_url":"https://codeload.github.com/pcboy/trippyplan/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247463617,"owners_count":20942935,"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-03T06:03:11.991Z","updated_at":"2025-10-28T22:42:14.693Z","avatar_url":"https://github.com/pcboy.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/pcboy/trippyplan.svg?branch=master)](https://travis-ci.org/pcboy/trippyplan)\n\n# Trippyplan\n\nTrippy plan helps you to plan your next trip by grouping attractions close to each other.\n\n## Installation\n\n    $ gem install trippyplan\n\n## Usage\n\n### TSV file support\nGive a file `trips.tsv` following that format:\n```\nMemorial des Martyrs de la Deportation \u003ctab\u003e Square de l'Ile de France, 75004 Paris France\nParc de Bercy \u003ctab\u003e Quay de Bercy, 75012 Paris France\nAquarium Tropical de la Porte Doree \u003ctab\u003e 293 avenue Daumesnil, 75012 Paris France\nMusee d'Art et d'Histoire du Judaisme \u003ctab\u003e 71 rue du Temple Hôtel de Saint-Aignan, 75003 Paris France\nBercy Village \u003ctab\u003e Cour Saint-Emilion 28 rue François Truffaut, 75012 Paris France\n```\n\nYou can use trippyplan like this:\n```\n$\u003e trippyplan --tsv trips.tsv -d 3\nDay 1:\n        Aquarium Tropical de la Porte Doree\nDay 2:\n        Parc de Bercy\n        Bercy Village Cour Saint-Emilion\nDay 3:\n        Memorial des Martyrs de la Deportation\n        Musee d'Art et d'Histoire du Judaisme\n```\n\n### Trip advisor saved trips support\ntrippyplan can directly fetch a list of places you saved for your trip already.\nWhat you need to gives me is your cookie though.\nTo get that cookie:\n- simply activate the developer tools in your browser (i.e right click, inspect) and go to the network tab and the XHR filter.\n- go to your trip advisor saved trip url (should look something like https://www.tripadvisor.com/Saves/57292478)\n- On the list of calls on the right find the one with just a number (in my case 57292478) and click on it\n- You should now have on the right the request headers.\n- What you need is the `X-Requested-By` value and the `Cookie` value. Create a file `cookie.yaml` and paste these values following that format:  \n```\njs_security_token: 'TNI1635!AO6YTYtm5C46HxKNQ8HdixmF7xMnk+SrVIEjyROUSajGaSHSrH0h/bjbR1qCEEifYhuOTktGYB29yWuy3Qsr8Gd/1MN4NN4MQTRSmFYsb4APQEsu6A2gNtX7nytOB8RSoBgBSz5FqoUNxjXU90eTq9i+zAqeX/EsgmJdPNn1gy/U'\ncookie: 'TAUnique=%1%enc%3A%2FhBZMXFzVlmxR%2FK32EAYhU2jwwE8%2FgjJoTfLQq1%2BeLPqbL7B36alrg%3D%3D; ServerPool=A; TASSK=enc%3AAOkqsILPd%2F6vwdO2FBmMAlIPTLzn8ool0U1GN2xIChUD6Qko6gL5J%2Bdj%2FLCcYdVKPpY3r8EXNKVh8ltkWEwGBgsOBzcSPpcfe[...]'\n```\n\nThat's all. Now you can simply run trippyplan with the trip advisor option.\nSee example here with my 12 days trip to Paris:\n```\n$\u003e trippyplan -t https://www.tripadvisor.com/Saves/57292478 -r cookie.yaml -d 12\nDay 1:\n        Aquarium Tropical de la Porte Doree\nDay 2:\n        Le Jardin de Versailles\n        The Hall of Mirrors\n        Chateau de Versailles\n        L'Orangerie\nDay 3:\n        Arc de Triomphe\n        Eiffel Tower\nDay 4:\n        Latin Quarter\n        Saint Germain des Pres Quarter\n        Sainte-Chapelle\n        Musee du Louvre\n        Luxembourg Gardens\nDay 5:\n        Montparnasse\n        Le Bon Marche Rive Gauche\n        The Catacombs\nDay 6:\n        Centre Pompidou\n        Memorial de la Shoah (Shoah Memorial)\n        Musee d'Art et d'Histoire du Judaisme\n        Notre Dame Cathedral\n        Ile de la Cite\n        Memorial des Martyrs de la Deportation\n        Le Marais\n        Ile Saint-Louis\n        Les Halles\n        Rue Montorgueil\nDay 7:\n        Bercy Village\n        Parc de Bercy\nDay 8:\n        Le Quartier de la Butte Aux Cailles a Paris\nDay 9:\n        Basilica du Sacre-Coeur de Montmartre\n        Montmartre\nDay 10:\n        Jardin des Tuileries\n        Place de la Concorde\n        Musee de l'Orangerie\n        Musee d'Orsay\n        Galeries Lafayette\nDay 11:\n        Grand Palais\n        Champs-Elysees\n        Grands Boulevards\n        Rue du Faubourg Saint-Honore\nDay 12:\n        Bastille Market\n        Place des Vosges\n        Place de la Bastille\n        Place de la Republique\n        Canal Saint-Martin\n```\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/pcboy/trippyplan. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpcboy%2Ftrippyplan","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpcboy%2Ftrippyplan","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpcboy%2Ftrippyplan/lists"}