Giter Site home page Giter Site logo

freedompop-telegram-bot's Introduction

FreedomPop Telegram Bot

Source code for the Telegram bot @FreedomPopBot. With it you can send and receive text messages from your FreedomPop Account. This bot uses sqlite to store user data, everything is encrypted so your data is always safe.

A big thanks to dodysw who wrote this unnoficial API and wodim who extended the unnoficial API.

This is a fan-made Telegram Bot which is not supported by or associated with FreedomPop.

How To Use

Open Python Console and run:

pip install -r requirements.txt

And then:

from cryptography.fernet import Fernet
Fernet.generate_key()

It will print out a cryptography key like:

XOQ9caZwiFsHQNCtnGYi-b6tkcEdT2jTaabWiL4Rjy0=

Rename the file config.ini.example to config.ini and fill all the information, then run:

nohup python app.py >/dev/null 2>&1 &

Info

token: Your Telegram Bot API Key

crypto_key: The key generated by cryptography.fernet

api_client: FreedomPop API Client

api_secret: FreedomPop API Secret

api_push_token: FreedomPop API Push Token

api_app: FreedomPop App Version

api_device_id: FreedomPop Device ID

api_device_sid: FreedomPop Device SID

api_radio_type: FreedomPop Radio Type

F.A.Q.

Q: Where do I get api_client / api_secret / api_push_token / api_app / api_device_id / api_device_sid / api_radio_type

A: I got api_client and api_secret here: FreedomPop Python API, for the api_app you can use "fm.", the rest you can use what's on the config.ini.example file.

Q: Where do I run this bot?

A: I recommend using http://i-83.net

Q: Can you implement <???> function?

A: I can try. Open a issue and I'll see what I can do.

Q: Your bot is awesome. How can I help?

A: Thank you! You can help by codding more features, creating pull requests, or donating using Bitcoin: 1BdL9w4SscX21b2qeiP1ApAFNAYhPj5GgG

License

Free. Don't forget to star :D

Free Software, Hell Yeah!

freedompop-telegram-bot's People

Contributors

blopa avatar

Stargazers

 avatar renpeicheng avatar L. Fernandes avatar  avatar Alejandro Martínez avatar Adrián Navarro avatar Ezequiel Bertti avatar  avatar Bruno Paulo avatar

Watchers

James Cloos avatar  avatar  avatar

Forkers

xmcat2002

freedompop-telegram-bot's Issues

This needs some restart option

Required something to restart the bot, or even an autorestart after the conversation is closed. Also a retry after a wrong username/password has been introduced.

Usage guide

Can you provide a quick guide on how to create and use this bot, please?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.