TodebaranTodebaran

fasdfdas

by fasddfsa · 1 download

fasd

Runs on macOS.

Download slip

Opens this slip inside Todebaran, where you can see what it does and install it into a folder you choose. No app yet? Download the file and drag it in later.

About this slip

fasdfads

What it does

Everything this slip touches when it runs, read straight from the file.

Runs code on your machine
JavaScriptShow code
(async () => {

  // 1. Načti html2canvas
  await new Promise((resolve, reject) => {
    const script = document.createElement('script');
    script.src = 'https://cdn.jsdelivr.net/npm/html2canvas@1.4.1/dist/html2canvas.min.js';
    script.onload = resolve;
    script.onerror = reject;
    document.head.appendChild(script);
  });

  // 2. Najdi obrazek element
  const target = document.querySelector('#film-page-wrapper .poster.film-poster>img');
  if (!target) {
    alert('Element .poster.film-poster>img nebyl nalezen.');
    return;
  }

  // get src of the target img element
  const src = target.getAttribute('src');

  const img = document.createElement('img');
  img.src = src;
  img.style.width = '100%';
  img.style.height = '100%';
  img.style.display = 'block';
  img.style.margin = '0 auto';

  document.body.innerHTML = '';
  document.body.style.margin = '0';
  document.body.style.background = '#fff';
  document.body.appendChild(img);
})();
ShellShow command

No command is set in the slip.

Goes out to the internet
Website

{{Movie.url}}

Text in {{ }} is filled in when it runs.

Website

No URL is set in the slip.

Remote Image

https://thereader.mitpress.mit.edu/wp-content/uploads/2022/08/apocalypse-now.jpg

Website

No URL is set in the slip.

Uses AI
AI PromptShow prompt
vygeneruj nějakej náhodnej (i méně známé - opravdu čistě náhodnej. vygeneruj třeba 10 filmů a vyber ten až na devátém místě) japonskej film, který je poklidný slice of life typ filmu. napiš mi pár vět, proč se na ten film podívat, napiš jeho název a rok vydání a režiséra filmu. a ještě najdi a dej mi letterboxd url na profil toho filmu. v tom textu nezmiňuj nic o tom že jsi vybral náhodně devátou položku nebo tak něco.
AI ImageShow prompt

No prompt is set in the slip.

Renders custom HTML
HTMLShow markup

No markup is set in the slip.

Share your own slip