![PyPI Now Supports iOS and Android Wheels for Mobile Python Development](https://cdn.sanity.io/images/cgdhsj6q/production/96416c872705517a6a65ad9646ce3e7caef623a0-1024x1024.webp?w=400&fit=max&auto=format)
Security News
PyPI Now Supports iOS and Android Wheels for Mobile Python Development
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
free and secure data storage
You need a data store. You want it to work. You want it to scale. You want it simple and secure. You don't want to set it up and configure it. You don't want to maintain it. And you don't want to pay for it.
Where is the data stored? There's a company in Mountain View, CA which is known for its search engine. Their servers do all of the heavy lifting.
flam is fun because it's free, and just works!
By default, flam keeps your data safe and cozy via AES crypto, based on the Rijndael cipher. Belgium makes great ales and cryptographic algorithms.
npm install flam
flam can be used in two ways:
Let's try a few examples from the command line. Open up a terminal.
cd into flam's root directory, where flam.js
is located. Execute the script
without arguments:
./flam.js
The following message should display:
Error: You must change the placeholder password in `config/config.json`.
flam.js
will not execute unless you change the preset password. Edit
config/config.json
, as the message instructs.
You've changed the password, right? Good. Let's try that again:
./flam.js
You should see Usage and options:
Usage: flam [options]
Options:
-h, --help output usage information
-V, --version output the version number
-f, --file <filename> set filename content to be stored
-c, --content <inline data> set data directly in the command line to be stored
-g, --get <key> get value referenced by key
-d, --disable-encryption disable encryption (default is crypto enabled)
Let's try a basic example to store content expressed directly in the command line:
./flam.js --content "My Swiss Bank Account No: 1337-1337-1337"
What?! Another error message?
Ok, one more tiny hurdle; you need to supply a Google API key to store data.
For getting data (./flam.js -g <key>
), only a password is required.
If you don't have a Google API key, it's easy to get.
Edit config/config.json
and replace the empty string placeholder with your API key.
Let's try again one more time (and thanks for your patience):
./flam.js --content "My Swiss Bank Account No: 1337-1337-1337"
Response is displayed:
Content successfully stored with key: 191yFg
Of course, the key in this documentation is ficticious; the key that you see in your own terminal is real.
Let's be sure and retrieve your stored content. Use the key displayed in your console instead of the fake one:
./flam.js --get <key>
Again, the Google API key is not required for getting data. However, the password is still required to decrypt.
The command line interface by default keeps a simple log of write events
(using -f or -c options). View keys.log
to see your first entry.
Let's safely store the content of a text file.
./flam.js --file ~/essential_ingredients.txt
Use the same get option to retrieve the content.
./flam.js -g <key>
Another example using flam as a module.
cd in to the examples directory and run the app:
node app.js
When using the --file or -f switch to save a file in storage, binary files are also supported if detected by conventional filename extension, e.g., .jpg, gif.
When getting the binary file out of secure storage, just redirect to restore the content as a file:
./flam.js -g bZtGSk > image.gif
Otherwise you'll be spewing binary data to your console.
To preserve balance in the universe, the free service that flam provides has some limitations:
These restrictions may be too severe for your requirements in a professional setting. That is a judgement you must make yourself.
Have fun!
Gerry Gold April 2015
FAQs
free and secure data storage
The npm package flam receives a total of 16 weekly downloads. As such, flam popularity was classified as not popular.
We found that flam demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.