Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CLI Support for LinkedIn Export Conversion #67

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

ehbello
Copy link

@ehbello ehbello commented Feb 21, 2025

Summary

Added command-line interface support to convert LinkedIn data export files to JSON Resume format directly from the terminal, making it easier to integrate into automated workflows.

Changes

  • Added new CLI script that processes LinkedIn export ZIP files
  • Updated README with CLI usage instructions
  • Added resume.json output file to .gitignore

Implementation Details

  • Created new CLI implementation in src/js/cli.ts that:
    • Takes LinkedIn export ZIP file as command line argument
    • Processes CSV files using existing converter logic
    • Outputs result to resume.json file
  • Fixed a small bug that left out the last element of some arrays.
  • Added new npm script cli to package.json for easy access
  • Updated documentation with step-by-step CLI usage instructions

Usage

npm run cli path/to/your/linkedin-export.zip

This will generate a resume.json file in your current directory.

I don't know if these changes fit into the project guidelines, but consider them a small contribution from my side.

Let me know if you would like me to make any adjustments to these changes.

As I'm not used to programming in these languages, any suggestions for changes are welcome

- Implement a new CLI script for converting LinkedIn export ZIP files to JSON Resume
- Update converter to support CLI processing
- Fix lost elements in CSV parsing and processing
- Update package.json with new CLI script and dependencies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant