Journey Importer: Polarsteps Export Support #1365
Replies: 4 comments 10 replies
|
I feel the same way. I'd like to use Trek in the future, but I can't find a way to import my old trips from Polarsteps. It would be a shame not to be able to transfer them. Many of my friends are struggling with the same problem: they can't switch travel apps without losing everything. |
|
Hi, i have reworked it a bit to be a bit more general, but it also supports Polarsteps. |
|
Built it: #2105 adds journal.addEntryPhoto to the plugin SDK, so a plugin can hand an entry the photo bytes directly. It takes { name, content_base64, caption? }, and it refuses exactly what the upload form refuses, images only and no SVG, the operator's allowed-file-types setting, 10MB per photo, and it only ever reaches entries the acting user could edit by hand. The stored filename is the host's, so nothing collides in the gallery. @raduwolf12 thanks for building trip-importer in the first place, and for leaving it open when you ran into the wall instead of quietly dropping it. @elmocito your diagnosis was the useful part of this thread: the body limit on the resumable requests, content vs story, and pinning down that the photos needed something from my side rather than yours. That is what I built against. @Exafit thanks for the export documentation, and @adberger for pulling me in. @keunes on the Immich idea: not with this method. The upload form mirrors to Immich when the user has that switched on, and I deliberately left that out of the plugin path for now, so photos a plugin attaches stay local. Worth doing later, but it is a bigger question than this one method, and I did not want to hold the fix for it. It goes out with 4.1.0. Ping me before then if the shape does not fit what the importer actually needs: changing it now is cheap, changing it after a release is not. |


Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Summary
Add support for importing past trips from a Polarsteps data export (JSON) into Trek Journeys.
Motivation
Polarsteps allows users to request a full data export of their travel history via GDPR/data portability request. The export contains structured data per trip including stops with coordinates, timestamps, step titles, and travel notes — making it a great source for reconstructing past journeys in Trek.
Currently there is no way to import this data into Trek without manually recreating every stop and journal entry. For users migrating from Polarsteps, this is a significant barrier.
Proposed Behavior
trip.jsonexport fileall_steps) into Journey entries, mapping:name→ entry titledescription→ entry contentstart_time→ entry datelocation.lat/location.lon→ place coordinateslocation.name→ place nameExport Format Reference
Polarsteps exports a ZIP archive containing one folder per trip, each with a
trip.json. Relevant fields:{ "name": "Trip to Japan", "start_date": 1609459200, "all_steps": [ { "name": "Arrived in Tokyo", "description": "First impressions...", "start_time": 1609459200, "location": { "name": "Tokyo, Japan", "lat": 35.6762, "lon": 139.6503 } } ] }Acceptance Criteria
trip.jsoncreates a new JourneyAdditional Context
Polarsteps is one of the most widely used travel logging apps, so this would lower the migration barrier significantly for new Trek users.
All reactions