ProstoDiary

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

About

Virtual trackers: text diary, email listener, food analyze, health watcher, sleep analyze

Install

Dev only

# git lfs clone git@github.com:gotois/ProstoDiary_bot.git # deprecated
npm i

Simple server

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

prostoDiaryBot({
  telegram: {
    token: process.env.TELEGRAM_TOKEN,
  },
  fediverse: {
    url: process.env.FEDIVERSE_URL,
    token: process.env.FEDIVERSE_TOKEN,
  },
});

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

Run Telegram Bot

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

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


With ❤️