Coder Social home page Coder Social logo

tana-paste-examples's Introduction

Tana Paste example scripts

Example scripts that generate Tana Paste output

Tana Paste is a special text format that is parsed by Tana, and generates rich Tana structures when pasted normally. All text is preceded by %%tana%% to trigger this special functionality. More details about the format in the help center.

https://www.loom.com/share/6fd81ff1ab364acf9f448ffdedfeb57f

All these scripts are provided solely as examples/inspiration. Feel free to modify, or use as templates to explore other sources of data. If you have interesting improvements or new scripts, we welcome pull requests.

You can run these scripts normally to inspect the output, but we recommend piping to pbcopy on Mac or similar tools to put the text directly on the clipboard for use with Tana. These scripts an also be launched automatically by tools like Keyboard Maestro.

Scripts and usage

  • rss.mjs [URL to RSS feed]
    • Fetches top 3 items from an RSS feed
    • Notice that the URL must be to the actual RSS feed, the script does not "discover" the RSS feed URL from the website URL like many feed readers
    • image
  • github.mjs [organization][repo]
    • fetches five pull requests from the given org/repo
    • requires githubToken in config.js
    • many other kinds of data can be fetched with the Github API
    • image
  • twitter.mjs [tweet id]
    • fetches the tweet specified and some related tweets
    • requires Twitter token in config.js
    • image
  • hypothesis.mjs [webpage url]
    • fetches all your annotations/highlights for a given website from Hypothes.is (great "web clipper")
    • requires Hypothes.is token in config.js
    • image
  • retro.mjs
    • generates links to the daily node 7, 30, 90, 180, 360 days ago
    • also an automatic GMail search for emails you've written in the past - easy to remove if you don't want it
    • note that you can currently not click on inline date references in Tana to go to the corresponding date node, but that functionality is planned
    • image
  • zotero-translator-tana.js
    • can be moved to the Zotero/Translations folder, and used to copy bibliography elements out of Zotero into Tana
    • image
  • readwise.mjs [days (x)]
    • fetches highlights taken in the last x days from Readwise
    • image

External Scripts

tana-paste-examples's People

Contributors

houshuang avatar aravindballa avatar willplatnick 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.