Giter Club home page Giter Club logo

rrip's Introduction

About

A Computer Science graduate, orginally from rural North Kanara, India.

Broadly, my interests revolve around systems, languages and tools.

I consider myself a generalist, having dabbled in many areas of computer science, from containers to compilers.

๐Ÿ“ Blog

โœ‰๏ธ net.mahesh29 (at) gmail.com

rrip's People

Contributors

mahesh-hegde 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  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

yonasbsd

rrip's Issues

Specify custom download XPath as JSON of Key-value pairs

Some sites like gfycat links are not directly downloadable.

It's a good idea if user can specify something like:

{"gfycat.com": "/head/meta[@property=\"og:video\"]@content"}

Don't remember XPath syntax but that's beside the point.

Automated testing

  • Refactor code to allow automated testing

  • Unit tests

  • Integration tests

Support use of Go templates to do arbitrary filtering and file names

Requirements

  • Filtering should be possible based on arbitrary attributes of the post
  • Can set final file name & link format using arbitrary attributes of the post

The best approach seems to be pass the post details to a Go template, which can be specified by the user.

Post details should be passed as a JSON Map, to avoid deserializing unnecessary details when this feature is not used.

We can also add additional attributes to this map, like quoted_title.

Many tools (docker & related CLI tools) support golang text/template for similar use cases. rrip can use the same.

User agent presets for popular browsers

Rationale: some image hosts seem to randomly throttle unusual user agents.

  • Provide user agent presets for popular browsers: [chrome,firefox,edge] x [macos,linux,windows,android]

  • Override user agent on regex basis. Something like

    --user-agent-override=*.imgur.com:chrome-macos

Create distroless container image

It can be run using bind mounts.

It will protect in hypothetical scenario that an RCE is detected in rrip.

It sounds cool to say "Distroless container image with Docker or Podman".

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.