ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Cool​Base​64

by kamryn404 ALL Trending

Sublime Text 3 plugin with a few functions for encoding to and from Base64

Details

Installs

  • Total 17K
  • Win 7K
  • Mac 8K
  • Linux 3K
Feb 20 Feb 19 Feb 18 Feb 17 Feb 16 Feb 15 Feb 14 Feb 13 Feb 12 Feb 11 Feb 10 Feb 9 Feb 8 Feb 7 Feb 6 Feb 5 Feb 4 Feb 3 Feb 2 Feb 1 Jan 31 Jan 30 Jan 29 Jan 28 Jan 27 Jan 26 Jan 25 Jan 24 Jan 23 Jan 22 Jan 21 Jan 20 Jan 19 Jan 18 Jan 17 Jan 16 Jan 15 Jan 14 Jan 13 Jan 12 Jan 11 Jan 10 Jan 9 Jan 8 Jan 7 Jan 6
Windows 2 6 8 5 4 1 1 5 5 4 9 3 1 0 4 8 5 8 3 2 2 8 2 6 6 3 3 2 4 4 5 3 4 3 2 2 6 5 3 6 2 2 2 2 8 3
Mac 10 7 6 1 6 2 0 3 4 5 7 8 2 3 4 8 6 6 5 3 2 7 6 6 4 4 1 3 4 4 7 3 3 0 2 3 6 5 6 3 0 2 8 9 7 6
Linux 3 3 3 0 0 0 0 1 3 7 3 4 0 1 1 0 0 2 1 1 0 3 4 1 1 2 0 0 2 1 0 1 3 1 0 1 0 2 1 1 0 0 1 2 1 2

Readme

Source
raw.​githubusercontent.​com

CoolBase64-sublime

Sublime Text 3 plugin with a few functions for encoding to and from Base64

  1. Encode selected text to Base64
  2. Decode selected Base64 to normal text
  3. Copy the current file as Base64. Works with any filetype because it processes the file itself instead of the visible text.
  4. Copy the current file as a Base64 web URL for embedding within HTML or CSS (coolest function). Almost the same as the previous function, but it detects the filetype and prepends “data:image/jpg;base64,” or “data:audio/ogg;base64,” or whatever filetype to the beginning of the Base64 encoding. Works with any filetype but designed for browser-playable media files.
  • alt+shift+u: Copy current file as a Base64 web URL
  • alt+shift+e on selected text: Encode to Base64 in place
  • alt+shift+e without selected text: Copy whole file as Base64 text
  • alt+shift+d on selected Base64 text: Decode from Base64

Right click on tab: 1. Copy file as Base64 2. Copy file as Base64 web URL