MCPcopy Index your code
hub / github.com/Ammar64/Sharing

github.com/Ammar64/Sharing @v1.5.3

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.5.3 ↗ · + Follow
519 symbols 1,466 edges 59 files 19 documented · 4%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Sharing

Reproducible builds

Share files and apps over HTTP. You need the other device to be connected to the same network. just toggle on the server and scan the QR Code on other device and you're good to go. Files sent from browser to the app can be found in Sharing/ folder in your internal storage. You can always disable uploads in the app settings.

Get it on IzzyOnDroid

Get it on F-Droid

Or download the latest APK from the Releases Section.

TODO

  • [ ] Add the ability to share files and/or apps app-to-app
  • [ ] Add the ability to stream video and/or audio from camera, screen and/or microphone to the browser and the otherway around.
  • [ ] Support sending files from SD Card.
  • [ ] Redesign the Add Files Activity so it can detect real time file system updates and make the UI responsive for larger devices
  • [ ] Add the ability to send and receive text using websocket
  • [x] Make a script that will help translate html.

Screen shots

Click to expand

 <img width="200px" src="https://github.com/Ammar64/Sharing/blob/master/fastlane/metadata/android/en-US/images/phoneScreenshots/0.jpg" alt="App screen shot">
 &nbsp;&nbsp;&nbsp;
 <img width="200px" src="https://github.com/Ammar64/Sharing/blob/master/fastlane/metadata/android/en-US/images/phoneScreenshots/1.jpg" alt="App screen shot">
 &nbsp;&nbsp;&nbsp;
 <img width="200px" src="https://github.com/Ammar64/Sharing/blob/master/fastlane/metadata/android/en-US/images/phoneScreenshots/2.jpg" alt="App screen shot">
 &nbsp;&nbsp;&nbsp;
 <img width="200px" src="https://github.com/Ammar64/Sharing/blob/master/fastlane/metadata/android/en-US/images/phoneScreenshots/3.jpg" alt="App screen shot">
 &nbsp;&nbsp;&nbsp;
 <img width="200px" src="https://github.com/Ammar64/Sharing/blob/master/fastlane/metadata/android/en-US/images/phoneScreenshots/4.jpg" alt="App screen shot">
 &nbsp;&nbsp;&nbsp;
 <img width="200px" src="https://github.com/Ammar64/Sharing/blob/master/fastlane/metadata/android/en-US/images/phoneScreenshots/5.jpg" alt="App screen shot">
 &nbsp;&nbsp;&nbsp;
 <img width="200px" src="https://github.com/Ammar64/Sharing/blob/master/fastlane/metadata/android/en-US/images/phoneScreenshots/6.jpg" alt="App screen shot">
 &nbsp;&nbsp;&nbsp;
 <img width="200px" src="https://github.com/Ammar64/Sharing/blob/master/fastlane/metadata/android/en-US/images/phoneScreenshots/8.jpg" alt="App screen shot">
 &nbsp;&nbsp;&nbsp;
 <img width="500px" src="https://github.com/Ammar64/Sharing/blob/master/fastlane/metadata/android/en-US/images/phoneScreenshots/7.png" alt="App screen shot">
 &nbsp;&nbsp;&nbsp;

Translation


Translation status

Note

Tutorial is available at https://ammar64.github.io/Sharing/Tutorial

Clicking the tutorial button in the app will open the previous link in a web browser in version 1.5 and up

Feel free to contribute to it in the tutorial branch

License

Copyright (C) 2024 Sharing authors

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program.  If not, see <https://www.gnu.org/licenses/>.

Extension points exported contracts — how you extend this code

DownloadObject (Interface)
(no doc)
web/src/pages/index/scripts/interfaces.d.ts

Core symbols most depended-on inside this repo

setHeader
called by 39
app/src/main/java/com/ammar/sharing/network/Response.java
getId
called by 37
web/src/pages/play/engine.js
sendResponse
called by 33
app/src/main/java/com/ammar/sharing/network/Response.java
getPath
called by 31
app/src/main/java/com/ammar/sharing/network/Request.java
getName
called by 28
app/src/main/java/com/ammar/sharing/models/User.java
write
called by 26
app/src/main/java/com/ammar/sharing/custom/io/ProgressOutputStream.java
dpToPx
called by 26
app/src/main/java/com/ammar/sharing/common/utils/Utils.java
setStatusCode
called by 24
app/src/main/java/com/ammar/sharing/network/Response.java

Shape

Method 368
Function 78
Class 70
Enum 2
Interface 1

Languages

Java83%
TypeScript9%
C6%
Python1%
Kotlin1%
C++1%

Modules by API surface

app/src/main/java/com/ammar/sharing/activities/AddFilesActivity/adaptersR/StorageAdapter.java45 symbols
web/src/pages/play/engine.js32 symbols
app/src/main/jni/libs/qrcodegen/qrcode.c32 symbols
app/src/main/java/com/ammar/sharing/common/utils/Utils.java29 symbols
app/src/main/java/com/ammar/sharing/custom/io/ProgressManager.java27 symbols
app/src/main/java/com/ammar/sharing/network/Request.java17 symbols
app/src/main/java/com/ammar/sharing/activities/MainActivity/adaptersR/ShareAdapter.java17 symbols
app/src/main/java/com/ammar/sharing/models/User.java16 symbols
app/src/main/java/com/ammar/sharing/models/Sharable.java16 symbols
app/src/main/java/com/ammar/sharing/network/Response.java15 symbols
app/src/main/java/com/ammar/sharing/network/ClientHandler.java15 symbols
app/src/main/java/com/ammar/sharing/activities/MainActivity/MainActivity.java15 symbols

For agents

$ claude mcp add Sharing \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact