@provanshh/pastelee
v1.0.5
Published
One-click installer for PasteLee desktop app. Pairs with Telegram to copy messages to your clipboard.
Downloads
813
Maintainers
Readme
Telegram Clipboard Desktop App
A simple Windows-focused Electron app that pairs with a Telegram bot. Any text or image you send to the bot is copied directly to your laptop clipboard so you can paste immediately.
Download & Install
Published on npm — The easiest way to install PasteLee:
npx @provanshh/pastelee@latestThis will:
- Show a PasteLee banner and ask whether you want the always-running app or CLI testing mode
- Ask for your Telegram user ID, matching the desktop app pairing step
- Download the latest Windows installer if you choose app mode
- Open it automatically so you can step through the normal install wizard
No Node.js required after installation—the app runs standalone.
Visit the npm package page: https://www.npmjs.com/package/@provanshh/pastelee
What you get
- Telegram bot that accepts text/images
- Electron desktop app that writes to the Windows clipboard
Prerequisites
- Node.js 18+
- A Telegram Bot Token from @BotFather
Quick start (local)
Start the desktop app (all-in-one)
The Electron app runs the Telegram bot in-process. You don't need to run any separate server or bot process.
Before launching, set your bot token in electron/bot_config.json or via the BOT_TOKEN environment variable.
cd d:\antigravity-projects\activateai\electron
npm install
npm startIn the app, ask a user to send /start to your bot. The user will receive their Telegram id in the chat. Paste that id in "Target Telegram User ID" and click "Pair". Messages from that user will be copied to your clipboard.
How to test
- Open the Electron app.
- Confirm the bot token is set in
electron/bot_config.jsonorBOT_TOKEN. - Open Telegram and send
/startto your bot. - Copy the Telegram user id the bot replies with.
- Paste that id into
Target Telegram User IDand clickPair. - Send a normal text message to the bot from that Telegram account.
- Paste in Notepad to confirm the text was copied.
- Send an image to the bot and paste it into an app that accepts images, such as Paint or Word.
Publish a Windows build
To create a distributable installer locally:
cd d:\antigravity-projects\activateai\electron
npm run distThe installer will be written to electron/dist/.
If Windows blocks Electron Builder with a symbolic-link privilege error, publish through GitHub Actions instead.
GitHub Actions build & publish
The installer build and release runs from .github/workflows/build-windows.yml.
To publish a new version:
cd d:\antigravity-projects\activateai
git add .
git commit -m "release: v1.0.1"
git tag v1.0.1
git push origin main
git push origin v1.0.1GitHub Actions will automatically build and publish the installer to a Release.
For landing pages
Recommended method — Users can install with one command:
npx @provanshh/pastelee@latestThe launcher will show a big PasteLee banner, ask for your Telegram user ID, and let you choose between always-running app mode or CLI testing mode.
Alternative — Direct download link (always points to latest):
<a href="https://github.com/provanshh/pastelee/releases/latest/download/PasteLee-Setup-x64.exe">
Download Windows Installer
</a>Notes
- The relay server is in-memory; restarting it will require re-pairing.
- The Electron app writes images directly to the clipboard.
- If you want to ship to other users, set the bot token before building the installer.
- The published app does not require users to run
npm start; they install and launch the packaged.exe.
