Git Product home page Git Product logo

trilium-bot's Introduction

trilium-bot

Telegram bot for Trilium Notes powered by Trilium-py.

What is it?

It's a Telegram Bot to interact with Trilium Notes. Mainly I use it to manage my todo list.

It uses a standard python module named trilium-py ( which I wrote :) ) to communicate with Trilium through ETAPI.

Features

  1. Send '/start' to the bot to get feature buttons.

  2. Send text messages to the bot, it will save the message as a subnote to today's note.

  3. Tapping TODO List will get you todo list from today's note. Then tap the item to get it checked/unchecked. Also, you can add/delete/update todos with the function buttons.

  4. The bot contains a scheduled task to automatically move yesterday's unfinished/unchecked todo items to today's note. You can change the time to execute it in config.json.

How to use

  1. Please refer to (official docs)[https://core.telegram.org/bots] to create a bot if you do not have one.
  2. Install packages with pip3 install -r requirements.txt --user.
  3. Open settings.py and change the config to yours. Please note that you must set admin_list correctly. Only user who is in this list can use this bot.
  4. Run with python3 trilium-bot.py.

How to update

  1. Update code git pull
  2. Update dependency pip3 install -U -r requirements.txt --user

trilium-bot's People

Contributors

nriver avatar sunny-xxv 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.