https://github.com/norton120/singularity
A vortex that compresses infinite sources of information into two touch points
https://github.com/norton120/singularity
Last synced: about 1 year ago
JSON representation
A vortex that compresses infinite sources of information into two touch points
- Host: GitHub
- URL: https://github.com/norton120/singularity
- Owner: norton120
- License: mit
- Created: 2023-10-07T01:51:50.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-23T22:33:31.000Z (over 2 years ago)
- Last Synced: 2025-02-08T21:48:31.355Z (over 1 year ago)
- Language: Python
- Size: 28.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Singularity
A vortex that compresses infinite sources of information into two touch points
### stuff to respond to (tasks)
- jira tickets to work
- jira comments to reply to
- jira tickets I'm watching
- jira @mentions
- confluence @mentions
- confluence pages im watching
- github @mentions
- github pr reviews
- slack dms
- slack channels
- emails
- google docs @mentions and comments
- google docs shares
- google docs watching
### knowledge to capture
- google docs (drive, sheets, slides)
- confluence pages
- jira tickets
- slack messages
- github pr content
- email content
## Getting the Google auth token
1. You need to create an app in https://console.cloud.google.com/apis/credentials/consent
2. Give the token the Calendar scopes you need
3. Ignore the "authorized domains"
4. Set yourself as a test user
5. finish and create
6. Go to https://console.cloud.google.com/apis/credentials
7. Create oauth creds to the consent screen
8. Add `http://localhost:8080/` to the authorised redirect URIs. note the forward slash at the end! (this little shit cost me a day of anger)
9. download the credentials.json file
10. From **outside docker** install gcsa (`pip install gcsa`) and create a client by pointing it to the credentials.json. There is a chicken-egg with Localhost that won't work via docker.
11. Grab the url from the terminal, open that in a browser with your user in context.
12. The library will fire up a webserver at localhost:8080/ and create a pickled token in the same location as the credentials.json. save that token not in git
13. Use that token from now on for auth!