Giter VIP home page Giter VIP logo

gist-saver's Introduction

saveToGist

A chrome extension to save code to github gist quickly.

最近才发现了Github的Gist功能,用来整理一些有用的代码简直不要太好用,但是每次看到好的代码都要复制,打开gist页面,再粘贴,再一步步发布,实在不要太麻烦,于是萌生了制作这个Chrome插件的想法,让你不用跳出页面就能保存优雅的代码.

当然,除了代码之外,你在浏览网页时看到的任何觉得有价值的内容(文字)都可以保存到Gist,以供自己以后查阅,同时也能很方便地分享给他人.

UI & Usage

Link to Github first:

before link after link

选中文字后从右键菜单中调用

你可以在这里修改文件名,文件描述,是否public

点击DONE!

经过一个短暂的CSS loading动画,选中的内容就被保存到Github Gist了.

Run as a Developer

  • Getting Start
$ git clone https://github.com/naseeihity/saveToGist.git
$ cd saveToGist
$ npm i
$ gulp wathch
# Make a production version extension if you need
$ gulp build
  • open chrome://extensions/ with chrome
  • drop file app to the page you opened
  • run as the Usage

TODO List

  • 注册成为谷歌开者(没有信用卡不能注册不能上线插件T T)
  • 增加option页面,用户可以配置一些默认值
  • link github成功后显示用户信息,可以选择更换用户
  • saveToList成功后返回该gist的url,方便用户查看
  • Gist 代码格式化(important)

Thanks To

generator-chrome-extension :一个脚手架,通过他可以快捷地初始化一个Chrome-extension项目,支持部分ES6语法

SpinKit: 优雅的CSS3 loading动画

Author

Coaco

Download

由于没有信用卡,我不能把他发到Chrome商店,而且目前也只是个基本版,如果你想试一试,可以点击这里下载.

gist-saver's People

Contributors

naseeihity avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.