Skip to content

snipyio/snipy-importer

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Snipy Importer

asciicast

This handy CLI tool will help you import your code from various services into Snipy. To use it:

Install dependencies:

yarn install

Run interactive importer:

yarn cli

Snipy API key

To use this tool, you will need Snipy API credentials. Since our API is not yet available to the public (you can access it, but it's not supported ;), you can use your login token, which you can get by following these steps:

  • Open the Keychain Access app on your Mac
  • Pick Login keychain and find snipy-auth authentication credentials
  • Double-click it and reveal the token to use during the import process

Importers

The following importers are supported:

GitHub Gist

All your public and private Gists will be imported into a Snippet collection, which will be automatically created. To use this importer, have your personal GitHub access token with a gist scope ready.

References

The source code for this tool is heavily based on the excellent work from the team at Linear 🙌.

About

CLI to import code into Snippets

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published