GeoSMS2 Backend is a backend API created for the GeoSMS2 project. It provides functionality to carry out many actions, such as translating text, getting the latest news, telling jokes, searching in Google, and solving mathematical expressions.
Currently the API replies to any queries in Spanish. English support may or may not be added.
- Cross-platform
- Python 3
- PIP
We want to help people in some Andean areas of Peru, who don't have access to the Internet, to access useful, if limited, Internet-like functionality through SMS.
To build and run the server, you can follow the next steps:
- Install the dependencies:
- Download and install Python 3 and PIP from Python's website or by using the package manager of your choice.
- Go to the root directory of the project and run
pip install -r requirements.txt
(or the equivalent command for your toolchain).
- Run GeoSMS2 Backend:
- If you're in a development environment, you can just run
index.py
and it will start Flask's development server for you. - For a production deployment, disable the
debug
option fromindex.py
and set up a WSGI server to run Flask from.
- If you're in a development environment, you can just run
Once you do this, you should be able to connect to https://localhost/
and use the form there to execute commands to the main API, which listens to https://localhost/command
for requests.
Thanks to these wonderful people for making GeoSMS2 Backend possible!
This work is licensed under a Creative Commons Attribution 4.0 International License.