Code Monkey home page Code Monkey logo

remindme's Introduction

RemindMe

A simple bot for reminding a nostr user about events that happen. Interaction with the bot is done through replies on the event to receive the reminder. Simply add a reply to an event, including the bot in the message with a time. Below is an example:

nostr:npub16uy98al5gzdrhy4aztdyw385ddhkvhphdv66fglpg7dwxchennmsxcckxs in 5 minutes

Single timeframes supported by the humantime crate are supported by the bot.

Development

The application is written in Rust. Therefore, rustup should be used to get Rust and friends installed on your machine.

Once installed, copy the .env.example file to .env. Also create the initial database file:

cp .env.example .env
touch remindme.db

Lastly, run the project using cargo, turning on debug logs for local development.

RUST_LOG=remindme=debug cargo run -p remindme

Ubuntu

There are only a few extra dependencies needed on the system to build the project.

sudo apt update
sudo apt install -y build-essential libsqlite3-dev

Nix

There is a flake.nix file that can be used for an easy local development setup with the needed tools. Use nix develop if direnv isn't setup. If you are using direnv, run direnv allow to get the environment tools installed locally.

Support

PRs are more than welcome! I don't know how much more needs to be added, but I'm open to ideas.

Feeling generous? Leave me a tip! ⚡️[email protected].

Think I'm an asshole but still want to tip? Please donate to OpenSats.

Want to tell me how you feel? Hit me up on Nostr.

License

Distributed under the AGPLv3 License. See LICENSE.txt for more information.

remindme's People

Contributors

w3irdrobot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 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.