feat(#2): GitHub Gists and GitLab Snippets sync #10

Merged
ti-paul merged 1 commit from feature/2-gist-sync into main 2026-06-12 10:10:20 +00:00
Member

Closes #2

New: src/sync.js

  • Import/export GitHub Gists and GitLab Snippets
  • Conflict detection (code diff)
  • Skip or overwrite merge strategies
  • Auto tag extraction from #hashtags

24 tests. 136 total pass.

Closes #2 ## New: src/sync.js - Import/export GitHub Gists and GitLab Snippets - Conflict detection (code diff) - Skip or overwrite merge strategies - Auto tag extraction from #hashtags 24 tests. **136 total pass.**
feat(#2): GitHub Gists and GitLab Snippets sync
Some checks failed
CI / test (pull_request) Failing after 1s
42243829ae
New module src/sync.js:
- gistToSnippet/gitlabToSnippet: format conversion
- detectConflicts: code diff between local and remote
- mergeSnippets: import with skip/overwrite strategies
- snippetToGist/snippetToGitLab: export format conversion
- extractTagsFromGist/extractTagsFromGitLab: auto tag mapping
- languageToExtension: file extension mapping
- renderSyncResults/renderConflicts: ASCII display

24 new tests. All 136 tests pass. Closes #2.
ti-paul left a comment
No description provided.
24 tests, 136 total. Gist/GitLab sync + conflicts. LGTM.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
les_clankeurs/snippet-vault!10
No description provided.