Package: shipapp
Ship 🚢Ship is a command line application that makes transferring files from a computer to a phone or another computer easyShip is Developed on macOS Catalina and should work on all platforms that python3 supportsTable of ContentsRequirements 📺Installation ⬆️uninstallation ⬇️Usage 💯Releases 🏭Common issues when Installing 🪑Platforms Tested on 🧪Issues 🤫Requirements 📺pip is required to download shipto download pip on windows users use clickPython 3.7.7to download pip on darwin macOS(for OS X 10.9 and later) clickPython 3.7.7Installation ⬆️Obviously should not be install in a virtual environmentpipinstallshipappUninstallation ⬇️pipuninstallshipappUsage 💯How to use (Basic)Type in the command and filename that you want to share.ship[FILENAME]Copy the url into another device browser (can be phone or computer).Makesuretoclick'ctrl-c'tokillafterusage
MonJul622:37:272020SharingServerStarts-http://0a1752d38560.ngrok.ioDownload by clicking 'Ship It' and close the server by clickingCtrl+c^CMonJul623:26:382020SharingServerStop-http://0a1752d38560.ngrok.ioAdvanced Information ⚙️usage:ship[-h][-p[port]][-q][-P][-L][-l][-V][-v][main]Sendfiletophoneorothercomputers.Makesuretokillthisprocessaftercompletetionifyourphoneishavingtroublereadingqrcodeuseflag-q:ship-q[FILENAME]positionalarguments:mainfiletobeshared

optionalarguments:-h,--helpshowthishelpmessageandexit-p[port],--port[port]porttobesharedon-q,--qrcodeifflaggedqrcodewillbeinnewtab-o,--openifflaggedbrowserwillopenautomatically-P,--privateifflaggedhostaddresswillbeonprivateip-L,--localhostifflaggedhostaddresswillbelocalhost-l,--linkifflaggedshipwillstarttheLinkSharingServer-V,--verboseifflaggedadditionaldetailswillbeshownviastdout-v,--versionshowprogram'sversionnumberandexitReleases 🏭alpha release v0.0.4.0 (In development/unstable)Ship will watch a file and will restart server with new file contentShip can now be called from within Python as Shipapp.ShipItalpha release v0.0.3.0Now Ship can fallback on an Empty port if port 9999 is being usedWhole codebase revamp/rewrite with better errors and commentsNow you can run multiple instance on ShipWhole design with use of external cssShip can now share links on top of filesnew -o, --open cli flag auto open browsers on host computernew -P, --private cli flag: if flagged host address will be on private ipnew -L, --local cli flag: force port to localhost/127.0.0.1new -V, --verbose cli flag: additional details will be shown via stdoutnew -l, --link cli flag: ship will start the Link Sharing Serveralpha release v0.0.2.1alpha release v0.0.2.0full release on pypisupport for inline and new tab qrcodesnew -q, --qrcode cli flag: to display flagnew -V, -version cli flag: to show versionmore readable errorsgit clone installation is not long availablealpha release v0.0.1.6help file updatealpha release v0.0.1.5build dist errorsalpha release v0.0.1.4float right on all templatesalpha release v0.0.1.3build dist errorsalpha release v0.0.1.2template decision error fixedtext template fixederror raising error fixedalpha release v0.0.1.1initial releaseCommon issues when Installing 🪑Ubuntu PATH issue when downloadingWhen installing ship (shipapp) python might say that script is not placed in
The PATH to solve this problem follow the stepsenter bashrc config file with vimvi.bashrcenter insert mode in vimEscthen pressifor insertthen at the top write with the path the python outputtedexportPATH='(the path that python outputted):$PATH'then exit vim by pressingEscthen typing:wqthen exit the terminal and enter again then ship command should now be available 😀Platforms Tested on 🧪MacOS Catalina - version 10.15.6 😀😀Windows 10 - version 2004 😀😀Canonical Ubuntu - version 20.04 😀😀Issues 🤫TemplatingSince the template are loaded in with python format method anything the uses curly braces will cause an error which include: any Javascript function, if statements, try - except blocks and embedded css.MimetypesCan only load in mimetypes defined in the standard package.