Hacker News new | ask | show | jobs
by eneuman 1044 days ago
Hello HN community! Elias here, and I’m thrilled to share a tool I've developed.

Seamlessly launch Python or JS pods in the cloud with a single line of code (marginally speaking). Ideal for:

    Testing code or libraries you'd rather not run locally (like output from an LLM model or an unfamiliar script).
    Serving as a "stateful" serverless backend, handling heavy libraries such as pandas. It's designed for swift scalability, booting pods in mere hundreds of milliseconds.
How does it work? Here’s a quick look:

   (In IPython or a Jupyter Notebook)

    # !pip install telekinesis
    from telekinesis import authenticate 

    node = await authenticate('wss://payper.run')
    pod_py = await node.get('/>/market')().get('/>/compute/python')()
    pod_js = await node.get('/>/market')().get('/>/compute/js')()
Specifications & Pricing:

    Default: 400 MB memory, 0.4 vCPUs at $0.000240/min.
    Easily adjustable settings & pre-installed pip packages.
    Join and get free credits; we even bill to the millionths of a dollar!
A standout feature is the Telekinesis library, which I crafted (https://github.com/telekinesis-inc/telekinesis). It lets you securely transfer functions and objects between computers, simplifying interactions between multiple untrusted code sources without API hassles.

For example:

    function_py = await pod_py.execute("return lambda name='World': f'Hello, {name}!'")
    
    // You can pass remote functions (Telekinesis objects) as arguments:
    function_js = await pod_js.execute("return async (f, x) => `Remote function says: ${await f(x)}`")

    print(await function_js(function_py, "HN")) # Should print "Remote function says: Hello, HN!"
This establishes rich interactions and avoids the complexities of API setups.

Feedback & Contact: Your thoughts are invaluable to me as I strive to refine this tool. Please don't hesitate to ask questions here or reach out to me directly at elias@payperrun.com.

P.S. While the pods require a sign-up:

    It’s a breezy 3-click process.
    We don’t request your email.
    You receive ample free credits for extensive testing. Need more? I'm eager to exchange additional free credits for feedback to enhance the service.