ProstoDiary

Known Vulnerabilities codecov Maintainability GitHub code size in bytes GitHub repo size GitHub commit activity Website GitHub Issuehunt

About

Telegram assistant: text diary, email listener, food analyze, health watcher, sleep analyze

Install

Dev only

npm i

ENVIRONMENTS

TELEGRAM_TOKEN

TELEGRAM_DOMAIN

Simple server

const bot = require('prosto-diary');

bot({
  token: process.env.TELEGRAM_TOKEN,
  domain: process.env.TELEGRAM_DOMAIN,
});

Tests

Unit

npm run test:unit [-- --watch]
#npm run test:unit [-- --match='config']

Tools

Package upgrade

ncu -u

Fix lint

npm run lint -- --fix --quite

Show dependencies graph

brew install graphviz
npm run report:dependency

Validate dependencies

npm run lint:dependency

docs only Dev

Install

sudo gem install bundler jekyll
cd docs
bundle install

Run

npm run dev:docs

Docker Image

Создайти файл .env и пропишите:

TELEGRAM_TOKEN=YOUR_TELEGRAM_TOKEN

docker compose --env-file .env up --build

Run Telegram Bot

Возможности управления системой

1) something text - Запись. Используется по-умолчанию 2) ? something search - Поиск 3) ! something execute - Выполнение поручения


Make with Manifest GIC DAO.