https://github.com/leonhartx/lambda-github
Chrome-extension for manage lambda inline code with github/github enterprise.
https://github.com/leonhartx/lambda-github
chrome-extension github-api github-enterprise lambda lambda-github sync
Last synced: 9 months ago
JSON representation
Chrome-extension for manage lambda inline code with github/github enterprise.
- Host: GitHub
- URL: https://github.com/leonhartx/lambda-github
- Owner: leonhartX
- License: mit
- Created: 2016-09-12T08:50:25.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-12-04T01:08:47.000Z (about 8 years ago)
- Last Synced: 2025-03-23T13:01:59.866Z (9 months ago)
- Topics: chrome-extension, github-api, github-enterprise, lambda, lambda-github, sync
- Language: HTML
- Homepage: https://chrome.google.com/webstore/detail/bmjcibkkmbmabejialhgnnmhpmdmijij
- Size: 151 KB
- Stars: 9
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: License.md
Awesome Lists containing this project
README
# lambda-github
[](https://chrome.google.com/webstore/detail/google-apps-script-github/bmjcibkkmbmabejialhgnnmhpmdmijij)
[](https://chrome.google.com/webstore/detail/google-apps-script-github/bmjcibkkmbmabejialhgnnmhpmdmijij)
[](https://chrome.google.com/webstore/detail/google-apps-script-github/bmjcibkkmbmabejialhgnnmhpmdmijij)
[](https://chrome.google.com/webstore/detail/google-apps-script-github/bmjcibkkmbmabejialhgnnmhpmdmijij)
Chrome-extension for manage lambda inline code with github/github enterprise.
#NOTE: Currently does not work with the new lambda UI
#Install
Install this extension from [chrome web store](https://chrome.google.com/webstore/detail/bmjcibkkmbmabejialhgnnmhpmdmijij).
#Usage
After install, when you open AWS Lambda console, a new button will appear to ask you login in to Github/Github Enterprise.

##Login
Login to your Github/Github Enterprise account, with Two-factor authentication support.
Actually, this is not a login action, but to create the `access token` which will be used for the extension
>Note: the access token will be stored in `chrome.storage.sync`(password will not be stored), if you take this as a security hole, pleast **DO NOT** use this extension.
##Bind
After login, you can bind your lambda function with Github repo and branch, or create a new one. and decide which file to sync.

##Manage
Manage your code with the similar `Push` and `Pull`.
**The code will sync to Github's repo, with a default file named `index.js`(nodejs) or `index.py`(python) under the root path.**
- `Pull` only works for lambda's `$LATEST` version, since published version or alias is readonly.
- `Push` will commit your current shown code(work for any qualifier) to the binding repo/branch.
- A diff dialog will shown before you confirm to `Push` or `Pull`.
- `Push` must have a commit comment which will be asked at the diff dialog.
##Logout
You can logout from the extension's option page any time. After logout, the access token stored in extension will be deleted,
but you will need to delete the token it self from Github/Github Enterprise's settins page.
#Support
please create an issue for any question or bug report.