Giter Site home page Giter Site logo

gistfy's People

Contributors

alexandrevicenzi avatar giodamelio avatar greenkeeperio-bot avatar itsananderson avatar tnemotox avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

gistfy's Issues

Error: Unknown language: xxx

Pass xxx to lang param.

App chash with this message:

Error: Unknown language: xxx
    at highlight (/home/alexandre/workspace/gistfy/node_modules/highlight.js/lib/highlight.js:393:13)
    at highlight (/home/alexandre/workspace/gistfy/gistfy.js:58:21)
    at /home/alexandre/workspace/gistfy/gistfy.js:282:23
    at IncomingMessage.<anonymous> (/home/alexandre/workspace/gistfy/gistfy.js:89:13)
    at IncomingMessage.emit (events.js:117:20)
    at _stream_readable.js:943:16
    at process._tickCallback (node.js:419:13)

Add more styles

Here are the styles. The code is here.

Useful styles:

  • IDEA
  • Visual Studio
  • Google Code
  • XCode

Create a style for VIM.

jQuery plugin

Add an option to allow users to do something like this:

<div data-gist-id="1"></div>

<div data-github-url="https://github.com/alexandrevicenzi/gistfy/somefile.js"></div>

Bind to public IP?

What is the parameter for making gistfy bind to public IP, or one that I can specify manually? As far as I can recall, this used to be possible at one point. However, it's been some five months since I used it and I can't remember how I got it working.
At the moment it will only bind to 127.0.0.1.

Add an option to use URL

Is quite easy to discover all information needed using a GitHub or Bitbucket URL.

For example this url: https://github.com/alexandrevicenzi/gistfy/blob/master/static/index.html

We have the host, user, branch, repo and file path. This is the minimal information to create a gist.

This also works for Bitbucket and Gist GitHub.

Wrong url

When I access from:

http://gistfy.com

I get:

<script type='text/javascript' src='http://app-gistfy.rhcloud.com/github/alexandrevicenzi/pycompat/setup.py'></script>

Instead of:

<script type='text/javascript' src='http://www.gistfy.com/github/alexandrevicenzi/pycompat/setup.py'></script>

Option to use inside iframe

For example:

    <iframe src="http://www.gistfy.com/github/butecoopensource/arduino-display-7-seg/exemplo.ino?type=html"
            frameborder="0"
            allowtransparency="true"
            width="300px"
            height="300px"></iframe>

It's not working as expected.

Option to fold code

If the code is to big, it's not good to show everything. It would be great to have a way to hide a little bit of the code and expand later.

Add option to cache files

Add option to cache files like Pastebin.

This is good if you change the code and don't want to change the gist.

Support private repository

Add a way to support private repositories.
Probably this will be used only for those who want his own server.

To support for every one we will need to cache something. Cache user/pwd is not an option, so we need to cache the file. Also, we need to provide OAuth authentication and and HTTPS server.

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.