Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wisehackermonkey/http-over-package-manger
creating http over package manager, a fun experments
https://github.com/wisehackermonkey/http-over-package-manger
Last synced: 17 days ago
JSON representation
creating http over package manager, a fun experments
- Host: GitHub
- URL: https://github.com/wisehackermonkey/http-over-package-manger
- Owner: wisehackermonkey
- License: mit
- Created: 2020-05-16T18:15:17.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-05-16T23:58:25.000Z (over 4 years ago)
- Last Synced: 2024-11-10T12:44:07.349Z (2 months ago)
- Language: Python
- Size: 77.1 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# http-over-package-manger
### creating http over package manager, a fun experiment![Screenshot_2](/assets/Screenshot_2.jpg)
# how to use send.py
```
python send.py ""
EX
python send.py "Friends applaud, the comedy is finished"
```# how to use receive.py
```
python receive.py ""
```# how to use main app
```
>python cli.py
```
![Screenshot_2](/assets/Screenshot_2.jpg)> to quit type exit, quit, or q
> type some text then hit "enter"
> the app will update a npm package named
> http-over-packagemaner-v1 with the text you just typed> upload the updated npm package
> once uploaded, update a local version of the package, and display the text
---------
# design brain storming
```
sendx sub package
add file to json
json = {[send: "", user id], [recieve:"", user id]}autologin
npm, python, gem's
- npm version patch
- commit
- pushreceive
npm install
npm runUI
text box sendprint recieve
```# send steps
```
- npm login
-
- >write to json
- cd http-over-packagemaner-v1
- npm version patch
- npm publish
```# receive steps
## init
- npm install -i http-over-packagemaner-v1
## continues
- cd test
- npm update http-over-packagemaner-v1
- ipython
> import json
> json.loads(open("./node_modules/http-over-packagemaner-v1/data.json").read())["username"][-1]# message schema
- userid int
- username string
- data datestring
- message(s) = array
- message date
- message id---------
# todo
- polling problem
x what about using npm update?
- ~~finish semi-automated receive~~
- ~~automate npm * commands~~
- x make script use argv
- two way
- make script take dynamic user input
- x display last message send from other user
- add user support