Skip to content

Security and usability improvements #17

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Conversation

twh270
Copy link

@twh270 twh270 commented May 2, 2025

  • Add support for refresh_token env var in RedditArchiver.py so refresh token can be removed from config.yml
  • Add shell function that allows for using env vars to customize settings and make it simple to download a post
  • Documentation updates

NOTE: This has been tested in zsh on MacOS. I've tried to make sure it will work in bash, but have not tested it.

twh270 added 6 commits May 2, 2025 00:07
The refresh token can now be specified with an
environment variable, refresh_token, instead of
relying on config.yml.

To use, ' export refresh_token=<user_refresh_token>'
followed by 'python3 RedditArchiver.py'.

Note the space before export, this prevents the command
from being added to the history, although it will be saved
in the current shell's memory.
Increased security for refresh token
Adds a shell script that allows for running the Python script
using environment variables to provide configuration.
Usability/security improvements with shell script
Reorganize and improve documentation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant