tube-get VS dukpy

Compare tube-get vs dukpy and see what are their differences.

tube-get

A tube-site downloader (by kristopolous)

dukpy

Simple JavaScript interpreter for Python (by amol-)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
tube-get dukpy
1 4
7 452
- -
10.0 5.7
over 1 year ago about 2 months ago
Python JavaScript
- MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

tube-get

Posts with mentions or reviews of tube-get. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-09-10.
  • YouTube-dl has a JavaScript interpreter written in 870 lines of Python
    19 projects | news.ycombinator.com | 10 Sep 2022
    To understand why, I have a far simpler tool that focuses on a subset of sites (adult content video aggregators)

    https://github.com/kristopolous/tube-get

    It too deals with this problem but does so in a way that'd be easy to maliciously sabotage

    Look right about here https://github.com/kristopolous/tube-get/blob/master/tube-ge...

    Add to why this exists, this was originally written between about 2010-2015 or so so it technically predates the yt-* ecosystem.

    The tool still works fine and it's not a strict subset of yt-dlp or YouTube-dl because being a different approach, although it's overall site coverage is smaller, I've had it be a "second try" system when yt-* fails and it comes up with success maybe about half the time

dukpy

Posts with mentions or reviews of dukpy. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-09-10.
  • YouTube-dl has a JavaScript interpreter written in 870 lines of Python
    19 projects | news.ycombinator.com | 10 Sep 2022
  • Python is in the browser. No idea if this will lead to chaos or harmony...
    4 projects | /r/ProgrammerHumor | 1 May 2022
    oh good, maybe we can now use python's javascript interpreter in browsers https://github.com/amol-/dukpy
  • Web Browser Engineering
    4 projects | news.ycombinator.com | 19 Oct 2021
    I was interested to see that this uses the DukPy wrapper around Duktape for the JavaScript interpreter: https://browser.engineering/scripts.html

    This made me start digging into whether this was considered a "safe" way of executing untrusted JavaScript in a sandbox.

    its not completely clear to me if DukPy currently attempts safe evaluation - it's missing options for setting time or memory limits on executed code for example: https://github.com/amol-/dukpy

    There's a QuickJS Python wrapper here which offers those limits: https://github.com/PetterS/quickjs

    I'm pretty paranoid though any time it comes to security and dependencies written in C, so I'd love to see a Python wrapper around a JavaScript engine that has safe sandbox execution as a key goal plus an extensive track record to back it up!

  • My friend thought that 1 is a string in Python
    1 project | /r/badcode | 9 Jan 2021
    I didn't write it, but here you go. Thanks to the fact that you can pass Python arguments to the JavaScript function, it will nicely cast them for you (via JSON) and make them behave per a Javascript object, which can then do some funsies to make it act like a string.

What are some alternatives?

When comparing tube-get and dukpy you can also consider the following projects:

PyMiniRacer - PyMiniRacer is a V8 bridge in Python.

quickjs - Thin Python wrapper of https://bellard.org/quickjs/

mini_racer - Minimal embedded v8

jsx-control-statements - Neater If and For for React JSX

pyduktape - Embed the Duktape JS interpreter in Python

prettier - Prettier is an opinionated code formatter.

pyodide - Pyodide is a Python distribution for the browser and Node.js based on WebAssembly

vado - A demo web browser engine written in Haskell

binjs-ref - Reference implementation for the JavaScript Binary AST format

vscode-powertools - A swiss army knife with lots of tools, extensions and (scriptable) enhancements for Visual Studio Code.

babel-plugin-react-html-attrs - Babel plugin which transforms HTML and SVG attributes on JSX host elements into React-compatible attributes