Skip to main content

Command Palette

Search for a command to run...

Save Bookmarks to Notion Database with Telegram and Quarkus

Updated
2 min read
Save Bookmarks to Notion Database with Telegram and Quarkus
A

I love programming and I work as a Software Engineer developing web based applications and mobile apps. I'm a full stack developer, from the backend where I primarly use Node.js and MySQL on Linux Servers to the frontend where I use modern web technologies and CSS frameworks. I love to develop mobile app, especially in Android mainly in Java, and in the last year I'm using Flutter, first to experiment and in the last period to develop cross platform enterprise apps. In my spare time I like to experiment on side projects apps, ui designs, web app to improve my skills and test new ideas.

Hi everyone, in this post, I want to show you how I experimented with the Quarkus framework to solve a problem I had with saving articles to read them later from different PCs and from my smartphone.

Background

For work and in my personal life I use 3 devices:

  • Business PC with Ubuntu
  • Personal PC with Pop! _OS
  • Smartphone with Android

On all these devices when I browse it often happens that I want to save articles, web pages, and guides to read later. I have been using Notion for some time to organize my bookmarks list, in which I created a database where I save my links, add tags, date, and if I have already read them or not. But using 3 different devices I wanted a quick way to save the links directly in Notion without having to open the web or the Android app, create a new line, choose tags, and put a title and a date.

So I thought of creating a simple Telegram Bot to which I can send a message and it, using the Notion APIs, saves the web page in my database. The Bot is powered by a Quarkus application.

Let's see how I did it!

Application

The source code of the application is available in this repo on GitHub: Telegram2Notion Quarkus released under MIT license.

Once configured, the result is what you can see in this video:

Here is some information about the project:

The general operation is schematized as follows:

new-link-to-save.jpg

Future

You can always follow the development of the application by referring to the repo on GitHub: Telegram2Notion Quarkus and on the issues page, currently the next feature to be implemented is the possibility to specify a custom title for the link you want to save (#5).

Bye, Alberto

More from this blog

Flutter and Other Experiments

49 posts

I love programming and I work as a Software Engineer on Web and Mobile Apps. I'm expanding my knowledge on Flutter and Dart I post content about these two technologies.