GithubHelp home page GithubHelp logo

tringit's Introduction

Trin-git

A git-like program built for the website trinket.io

NOTE: THIS PROGRAM IS MADE FOR WINDOWS AND LINUX.

I cannot guarentee that this works on Mac, as I don't have a device running MacOS to test it on.

How to use

When you first run the program, it will prompt you to input your cookie. This can be found in most requests in inspect element.

To find it, open inspect element (Ctrl+Shift+I, or F12), and to go the network tab.

image

Next, go to your trinket library, and look for a request that has the name of something along the lines of trinkets?limit=20&sort=xyz. Once you find it, click on it.

(In firefox, the trinkets?limit=20... request will be under the File tab, unline Name in Chromium-based browsers)

image

When you click on it, make sure you are on the headers tab of the request info, and then scroll down to the section labeled Request Headers. Inside should be an item labelled Cookie. Copy the value of that and paste it into the program.

Next, it asks for the trinket id, which is the part in the url for a trinket after the https://trinket.io/library/trinkets/, for example 7df117b053 would be from https://trinket.io/library/trinkets/7df117b053. This will be the selected trinket, and you can change this later.

Everything else after that should be pretty self-explanatory. If the trinket has a file with the same name as the tringit file, tringit will be overwritten.

tringit's People

Contributors

trinkey avatar

Watchers

 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.