Comments (7)
Ah, I was under the impression it only wanted to read from a .env
file. That makes sense. I can do that, thanks!
from reddsaver.
Since TOTP changes so frequently, I had to run reddsaver with direnv exec . cargo run --release -- [args]
which works a charm (otherwise, I'd have to cd ..
and cd -
, or direnv reload
first). Thanks for reminding me of something so obvious!
from reddsaver.
Yep, thanks, I left that out of my hand-typed command line :P
(Though I did run it in debug mode a few times -- speed wasn't that bad for me)
from reddsaver.
@cole-h The username and password just need to be present in the environment to be picked up by reddsaver. So, you could omit username and password from .env
file. You can use an external script or a tool like direnv to set the username, password by running a command. As long as it is present in the environment, it should be picked up.
With regards to the :
delimiter: that is a Reddit API setting, so I'm afraid it's something that's out of my control.
from reddsaver.
Ah, I was under the impression it only wanted to read from a
.env
file. That makes sense. I can do that, thanks!
Great. Please file an issue in case you encounter any problems. You can use the reddsaver --show-config
command to check if the variables are picked up properly.
from reddsaver.
Since TOTP changes so frequently, I had to run reddsaver with
direnv exec . cargo run -- [args]
which works a charm (otherwise, I'd have tocd ..
andcd -
, ordirenv reload
first). Thanks for reminding me of something so obvious!
Great! Just wanted to leave a reminder to use --release
profile for cargo run
to run the optimized artifact (Not sure if you're using that already)
from reddsaver.
Awesome! Running the release binary makes a huge difference compared to the debug binary for me.
from reddsaver.
Related Issues (20)
- [Feature Request] Support more formats and hosts HOT 2
- README docker instructions work only for image owner HOT 1
- [Feature request] Save comments for context HOT 3
- [Feature request] Functionality to save upvoted posts. HOT 2
- Unable to get access token HOT 9
- Picks up Windows USERNAME instead of the variable from env HOT 8
- [Feature Request] Option to change output format HOT 1
- Feature: Download and merge audio track for videos HOT 4
- Error: IoError(Os { code: 18, kind: Other, message: "Invalid cross-device link" }) HOT 9
- --human-readable flag tries to create invalid filenames on Windows HOT 2
- The unsave flag is more destructive than it appears and could use a warning. HOT 3
- Windows username env fix doesn't work in Windows PowerShell (in contrast to the Command Prompt) HOT 2
- Error: EnvVarNotPresent(NotPresent) HOT 1
- Header user-agent is missing
- Three videos being saved for each video
- Missing field: "access_token" HOT 2
- error at launch: missing field `access_token` HOT 5
- App creating sub-directories with underlined filenames HOT 4
- Multi-image posts not being downloaded HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from reddsaver.