https://github.com/shirshak55/mighty_text
JSON REST API for mighty text
https://github.com/shirshak55/mighty_text
api gmail json rest-api
Last synced: 5 months ago
JSON representation
JSON REST API for mighty text
- Host: GitHub
- URL: https://github.com/shirshak55/mighty_text
- Owner: shirshak55
- License: mit
- Created: 2020-04-11T05:33:41.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-12T10:58:28.000Z (over 3 years ago)
- Last Synced: 2025-08-09T10:52:48.472Z (11 months ago)
- Topics: api, gmail, json, rest-api
- Language: TypeScript
- Homepage: https://github.com/shirshak55/mighty_text
- Size: 482 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: readme.md
- Contributing: contributing.md
- License: license.md
Awesome Lists containing this project
README
# Mighty Text JSON Api
Turn your might text to json api so you can use in other part of api.
_Currently Heavy in development. We will follow semver after 1.0.0 release_
## What is mighty text?
> According to official website "Text From Any Device. Send & receive SMS and MMS from your computer or tablet, using your current Android phone number.Messages stay in sync with your phone's SMS inbox"
## Features
- Well Documented
- LTS Version of Node JS Supported
- Made with :heart
## Future Plan
- Proper Error Handling
- Using database instead of in memory
- Improve Rest API
- Authentication of API
- Admin Panel to view use of json api.
- Tests (And use of github actions)
- Global Version of cli so u can directly do `yarn global install mighty_text`
- Proper Configuration
If you want to see improvement in package development then please consider donation.
# Requirements
- Yarn or NPM (Use yarn v1 atm)
- Node JS v10+
- Chrome Browser
# How to use?
1. Clone the repo
```bash
// Clone this repo
$ git clone https://github.com/shirshak55/mighty_text
$ cd mighty_text
```
2. Run `yarn` or `yarn install` or `npm install`
3. Copy config.toml.example to config.toml and edit the variable especially gmail login and password
```bash
cp config.toml.example config.toml
```
4. If you want to build the app instead of relying on distributed dist then run 'yarn build'
5. Run yarn start
6. If you want to run it as daemon then stop the server using SIGINT (`ctrl + c`) and run following command.
```bash
$ yarn global install pm2 # or npm i -g pm2
$ yarn pm2 # or npm run pm2
```
# EndPoint
Currently we have only 1 endpoint for showing message. There will be more in future.
`http://localhost:30017/sms` => Endpoint for receiving message. Its in JSON format
## License
I am opeen to opensource so I am publishing this with MIT License. For more info check [LICENSE](LICENSE.md).
## Contribution
Any ideas are welcome. Feel free to submit any issues or pull requests, please check the [contribution guidelines](CONTRIBUTING.md).
## Security
If you discover any security related issues, please email shirshak55@pm.me instead of using the issue tracker.
## Credits
- [shirshak55][link-author]
- [All Contributors][link-contributors]
[link-author]: https://github.com/shirshak55
[link-contributors]: https://github.com/shirshak55/mighty_text/graphs/contributors