Giter VIP home page Giter VIP logo

text-to-notion-bot's Introduction

text-to-notion-bot

Really simple self-hosted single-user telegram bot for sending text into Notion, using the official API.

  1. Register telegram bot and get bot token by communicationg with https://t.me/botfather
  2. Create Notion Integration and get API key (https://developers.notion.com/docs/getting-started#step-1-create-an-integration)
  3. 'Share' any Notion page with your Notion Integration (https://developers.notion.com/docs/getting-started#step-2-share-a-database-with-your-integration)
  4. Set up environment variables:
    • BOT_TOKEN=your telegram bot token
    • TELEGRAM_USERNAME=your telegram username (will be used for authorization)
    • NOTION_API_KEY=Notion API key
    • NOTION_PAGE_URL=URL of the page you shared with the integration (bot will parse page ID from it)
  5. Run the bot.
    • Text sent to the bot will be added to Notion page specified in environment variable as child page.
    • Title and content will be equal to the text sent.
    • Long titles (>50 characters) will be truncated automatically

text-to-notion-bot's People

Contributors

dartungar 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

Watchers

 avatar  avatar  avatar  avatar

text-to-notion-bot's Issues

the bot is not working

HI,
I use this awesome bot to make quick input into my note taking system but today i've shared a link and it wasn't inserting into it, even the command no longer work.
Is this related to the bot or maybe the custom API?

telegram

Best regards.

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.