Just open https://sensorica.onout.org/tg/ and go to a step 2 (Create Cloudflare API token) if you don't need or want to install backend.
-
Sign up to aws.amazon.com and go to AMI Catalog
-
Find
ami-0fc1ab4e3a02fe177(in "community ami") -> Select -> Run instance -
Run instance based on this AMI (no keypair, allow http port)
-
Open http://54.157.243.154/ where 54.157.243.154 is your "public IPv4" address (see screenshot above). Check that you open http version, not https. You should see the wizard form form!
-
Go to AWS -> EC2 -> Instances. You should see running instance, connect to it using a "Connect" button:

-
Run command
cd Sensorica/ && git pull && npm ito update to the latest version 👍.
(optional) Add a domain to your server
- Add your domain to Cloudflare and add a subdomain
telegram.<your-domain>.com(in the "DNS" section) linked to the IP you've got from Amazon ("public IP of your instance"). Enable orange cloud: Enable SSL -> Flexible SSL - Open
telegram.<your-domain>.comin browser and follow the instructions
- Setup on your server. Install Node.js first (at list 18 version): Node.js site. We recommend that you use LTS. Run these commands in the terminal:
git clone https://github.com/noxonsu/Sensorica.git
cd Sensorica
npm i
npm install pm2 -g
pm2 start server/index.jsFinally open locally http://<Your IP>:3006
To be able to use Cloudflare.com API you need to get an API token and an account ID. Follow these steps to do so:
2.1. Log in to your Cloudflare account or create a new one: Cloudflare dashboard 2.2. Copy this ID from the browser URL. Like on this picture:
2.3. In the top right corner select "My Profile" in the menu 2.4. Select "API Tokens" from the left-hand menu. 2.5 Click the "Create Token" button:
2.6. Choose "Edit Cloudflare Workers" from the API token templates:
2.7. For the "Account Resources" dropdown select All accounts. For the "Zone Resources" select All zones:
2.8. In the end of the page click on the "Continue to summary" button. Finally, press the "Create token" button.
! DO NOT FORGET TO SAVE THE TOKEN! It's only visible once !
You have now created a Cloudflare API Token with Workers permissions. Remember, API Token security is very important. Do not share it unnecessarily.
3.1 Go to OpenAI: https://platform.openai.com 3.2 Register a new account. After that in a top right corner, press on your account zone and select a "View API keys" button 3.3 Press a "+ Create new secret key" button. Enter any name, press "Create" and wait for creation. In the end do not forget to copy your new key, you won't see it again! Save it in a safe place and do not share with anybody.
4.1 Open a BotFather bot: t.me/BotFather 4.2 Start the bot (or select /newbot in the menu) and follow the instuctions 4.3 In the end copy your bot key






