{"repo":"Telegram-Mini-Apps/nextjs-template","free":true,"listed":false,"github":"https://github.com/Telegram-Mini-Apps/nextjs-template","clone":"git clone https://github.com/Telegram-Mini-Apps/nextjs-template.git","description":"Telegram Mini Apps application template using Nex.jst, TypeScript, TON Connect and tma.js.","language":"TypeScript","stars":370,"topics":["nextjs","typescript"],"license":null,"category":"api-integrations-sdks","readme_excerpt":"Telegram Mini Apps Next.js Template This template demonstrates how developers can implement a web application on the Telegram Mini Apps platform using the following technologies and libraries: - Next.js - TypeScript - TON Connect - @telegram-apps SDK - Telegram UI The template was created using pnpm. Therefore, it is required to use it for this project as well. Using other package managers, you will receive a corresponding error. Install Dependencies If you have just cloned this template, you should install the project dependencies using the command: Scripts This project contains the following scripts: - dev . Runs the application in development mode. - dev:https . Runs the application in development mode using self-signed SSL certificate. - build . Builds the application for production. - start . Starts the Next.js server in production mode. - lint . Runs eslint to ensure the code quality meets the required standards. To run a script, use the pnpm run command: Create Bot and Mini App Before you start, make sure you have already created a Telegram Bot. Here is a comprehensive guide on how to do it. Run Although Mini Apps are designed to be opened within Telegram applications, you can still develop and test them outside of Telegram during the development process. To run the application in the development mode, use the dev script: After this, you will see a similar message in your terminal: To view the application, you need to open the Local link ( http://localhost:3000 in this","default_branch":null,"files":null,"tree":[],"storefront":"/r/Telegram-Mini-Apps","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Telegram-Mini-Apps/nextjs-template/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}