Skip to content
This repository has been archived by the owner on Jan 11, 2022. It is now read-only.

Edit Readme to start it without docker #13

Merged
merged 7 commits into from Nov 29, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions INSTALL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
## To install node and yarn just use the folowing code


Using Debian, as root

```bash
curl -sL https://deb.nodesource.com/setup_15.x | bash -
apt install -y nodejs
apt install gcc g++ make -y
curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list
apt update && apt install yarn -y
```
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,16 @@ docker run --rm \
thundersquared/tikvidbot
```


Start it without Docker:

install node and yarn with this manual:

https://github.com/Suyuimo/tikvidbot/blob/master/INSTALL.md


Just run "yarn" once and then you can start the bot with "yarn dev"

## Tech stack

The bot is written in Node.JS, relies on [telegraf](https://github.com/telegraf/telegraf) to consume Telegram's Bot API, loves [got](https://github.com/sindresorhus/got) for fetching video pages and streaming videos and [jsdom](https://github.com/jsdom/jsdom) for parsing and interacting with them.
Expand Down