docs, design, and assets for collaboration
onionshare / onionshare-shared Goto Github PK
View Code? Open in Web Editor NEWdocs, design, and assets for collaboration
docs, design, and assets for collaboration
If there will be non-Tor Browser clients, then every service should have a machine-readable manifest at /manifest.json
that the clients can read.
The manifests will describe to the client the relevant general settings, and the relevant mode settings, for each mode. This is what the mode settings object looks like: https://github.com/onionshare/onionshare/blob/develop/cli/onionshare_cli/mode_settings.py#L37-L60
Here's what they should look like for each mode:
{
"version": 1,
"mode": "share",
"data": {
"title": "Custom title",
"autostop_sharing": true,
"files": [
{ "name": "/filename1.txt", "size": 1024 },
{ "name": "/filename2.txt", "size": 42 },
{ "name": "/Documents/" },
{ "name": "/Documents/nested_file.txt", "size": 15360 },
{ "name": "/Documents/Empty Folder/" }
]
}
}
The reason the autostop_sharing
setting should be exposed is so the client knows if it can download individual files or not. If this is false, the client's only option is to download all files as a zip. If it's true, it can download individual files.
Filenames that end in a trailing slash are directories.
{
"version": 1,
"mode": "receive",
"data": {
"title": "Custom title",
"disable_text": false,
"disable_files": false
}
}
Receive mode should expose disable_text
and disable_files
to allow the client to know what data it can submit.
Website mode doesn't need a manifest.
{
"version": 1,
"mode": "chat",
"data": {
"title": "Custom title"
}
}
For defense in depth, and user stories where link may be sent in pubic/monitored channel, but key could be shared in private
Is it possible? A good idea?
Go or Rust?
What does it need to do?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.