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

Cool​Base​64

by k-amryn ALL Trending

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

Details

Installs

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

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