Git Product home page Git Product logo

link-kicker's Introduction

Hi there 👋

  • 🇷🇸 I live in Novi Sad, Serbia. Originally from Russia.
  • 💼 Actively looking for a new job
  • 📄 My CV [click]
  • 🤖 Generally, I write on Python. Sometimes Rust
  • ✉️ You can shoot me an email at [email protected]
  • 🎶 You can also check out my musical taste on LastFM and RateYourMusic
  • 📺 I publish my videos shot on a drone on Youtube

🛠 Some fancy badges

python rustlang postgres redis html javascript css vue.js django docker swagger fastapi asyncio git github pycharm jupyter pandas aws dynamodb and so on

🤝 Connect with me

fmajesty@pm.me linkedin

link-kicker's People

Contributors

nyudenkov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

link-kicker's Issues

Rotate links if missed

Instead of sending the same link twice in case it was missed first time, send the next link in queue and move the missed link in the end on the queue.

This will help to deal with irrelevant links that might be relevant later.

Prohibit adding the same link

Prohibit only if same link was not read.
Text to reply: "🥲 Эта ссылка уже добавлена" [RU] / "🥲 This link was already added" [EN]

Integration with Pocket

  • Pocket API
    • Research
    • Create application key
  • Web Server
    • Implement bot api (FastAPI/aiohttp)
    • Route for callback from Pocket
  • Config
    • Add pocket api key
  • Bot
    • Implement command for linking Pocket
    • Handle Pocket user auth
    • Implement command for adding links saved by user in Pocket

Improve restriction for adding same link

Bot already checking for the same link in handler (app/bot/handlers/link.py:45).
Maybe it would be nice to move check in method for Link model class (app.database.models.Link)

Cover next cases:

  • Slashes (?) (fox ex. now fmajesty.xyz and fmajesty.xyz/ is not the same link)
  • Redirects (for ex. user trying to add redirect.to/fmajesty.xyz link where there is redirect to fmajesty.xyz/ and we have record in DB with link fmajesty.xyz, so we need to restrict adding that link)

sugg: confirmation of adding link that was already added

Если добавить в бота ссылку и нажать на "Прочитано", то потом её можно снова добавить. Можно ли как-то сделать, чтобы бот перед повторно добавленными ссылками выводил предупреждение "Вы уже читали эту ссылку. Точно хотите её снова добавить?"


If you add a link to the bot and click on "Read", then you can add it again. Is there any way to make the bot display a warning "You've already read this link. Are you sure you want to add it again?"

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.