Giter Site home page Giter Site logo

pwnagotchi.app's Introduction

Pwnagotchi.app

A Pwnagotchi app, written in Swift and built for iOS, iPadOS, watchOS and macOS.

Sign up for Testflight: https://testflight.apple.com/join/r1bhpyDU

iOS iPadOS watchOS macOS
iOS Screenshot iPadOS Screenshot watchOS Screenshot macOS Screenshot

How to use

See Setup Guide

Building the app

Prerequisites

  • Xcode 11

Building

  1. Clone this repository
  2. Open ios-pwnagotchi.xcodeproj in Xcode
  3. Build/Run the app for your desired target

Disclaimer

This is my first project in Swift and my main goal was to play around with SwiftUI and Catalyst. I was impressed with how quickly I was able to get a working product up and running, but I realize that I am only scratching the surface of the subject. Pull requests are more than welcome, but please refrain from completely rewriting the app as this would undermine my learning plans.

pwnagotchi.app's People

Contributors

silsha avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pwnagotchi.app's Issues

More error handling

  • Detect if state-api is installed
  • Detect if compatible version of state-api is installed (output version in state-api JSON?)

"The given data was not valid JSON."

I am receiving

dataCorrupted(Swift.DecodingError.Context(codingPath: [], debugDescription: "The given data was not valid JSON.", underlyingError: Optional(Error Domain=NSCocoaErrorDomain Code=3840 "Invalid value around line 1, column 0." UserInfo={NSDebugDescription=Invalid value around line 1, column 0., NSJSONSerializationErrorIndex=0})))

when running this code and debugging. On the phone, I am receiving the error "Something went wrong." I've tried to look into it but I haven't quite got to dig into swift enough to know how to fix written code. This happens when attempting to connect to the pwnagotchi.

Add iOS 14 widget

Maybe a nice function will be a iOS 14 widget on the home screen with some stats. I really love that kinda widget

Stuck on "Getting Ready..." with State-API

I've been at this for a week, I've followed the instructions to a T. When attempting to access state-api page, it only displays "Getting Ready..." and does not progress past that.

Perform a git clone from here. The state-api.py file goes in the plugins/defaults directory, or wherever you want to put your custom plugins The files in goes_in_ui_web has to go in /usr/local/lib/python3.7/dist-packages/pwnagotchi/ui/web

I have put state-api.py into /usr/local/src/pwnagotchi/plugins/default. I have moved "static" and "templates" to /usr/local/lib/python3.7/dist-packages/pwnagotchi/ui/web. I have also individually tried to move all the files individually to those directories but no avail.

The files in goes_in_ui_web.

I'm unsure which is the correct approach as inside goes_in_ui_web contains directories, but instruction says to move the files.

http://172.20.10.6:8080/plugins/state-api returns "Getting Ready..."

http://172.20.10.6:8080/plugins/state-api/json returns an error.

Am I doing something wrong, or is the code no good? I know this is an old project.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.