https://github.com/cavejay/one-sentence
A easy to use implementation for a 1 sentence diary that uses telegram and node to store sentences in a mongoDB
https://github.com/cavejay/one-sentence
Last synced: about 1 year ago
JSON representation
A easy to use implementation for a 1 sentence diary that uses telegram and node to store sentences in a mongoDB
- Host: GitHub
- URL: https://github.com/cavejay/one-sentence
- Owner: cavejay
- License: mit
- Created: 2015-05-26T10:32:15.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2020-07-15T20:28:09.000Z (almost 6 years ago)
- Last Synced: 2023-08-18T15:39:14.529Z (almost 3 years ago)
- Language: JavaScript
- Size: 86.9 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
## Unfortunately this project is no longer active
It might be revisited one day but if looking for something similar I would suggest you try [daylio](https://play.google.com/store/apps/details?id=net.daylio) on the Android appstore
---
[](https://travis-ci.org/cavejay/one-sentence)
# one-sentence
A easy to use implementation for a '1 sentence diary' that uses telegram and node to store sentences in a mongoDB
### Installation
- Clone Repo
- Run setup.sh
- Provided setup.sh succeeded launch tg using tg.sh
- Sign in to telegram
- close telegram-cli
- Run node app.js
### Use
The application is currently running on the 1sentencediary telegram account. Feel free to check it out but unfortunately messages are not encrypted yet and you will have no way to recover the data kept in the database.
Both of these features are being planned and should be implemented relatively soon, Uni and life allowing.
####Current Features
- Pushes unencrypted diary entries through to a mongodb instance (mongoKey.js holds the URI)
- Simple commands are recognised.
- <help> provides a general overview of the app and lists other commands. When sent with another command ie '<help> <stats>' it gives specific information about the other command.
- <removeAllData>, <generateview>, <stats> and <date> are all currently recognised but not implemented.
- When a command is recognised in a message the message is considered a query and thus isn't sent to the database as a diary entry.
####To-do Feature list/Ideas
- Recognition of new users with a welcome message and explanation.
- When recieving image upload to imgur and host link in db
- Webserver access for users to view diary w/browser