Coder Social home page Coder Social logo

yippeeapp / pleasebaome Goto Github PK

View Code? Open in Web Editor NEW

This project forked from callmewhy/pleasebaome

0.0 3.0 0.0 3.99 MB

A useful tool to view SQLite file in Web browser during app running procedure.

License: MIT License

Objective-C 99.22% HTML 0.40% Ruby 0.38%

pleasebaome's Introduction

PleaseBaoMe

A useful tool to view SQLite file in Web browser during app running procedure.

Why it's called PleaseBaoMe?

Viewing SQLite file in iOS developing brings a variety of inconvenience. Therefore, a visible and effective tool to view SQLite file is terriblydemanded.

Thanks CocoaHTTPServer for making this idea come true. Thanks Tonny for fixing grammar mistakes in README.md. Thanks my friend Mr.Bao, who has enlightened me to use DynamicServer to handle request.

So this project is named after him for showing gratitude.

In Chinese, 'Bao' means 'Hug', and represents purity and happiness.

Installation

There are three ways to use PleaseBaoMe in your project:

  • using Cocoapods
  • copying all the files into your project

With Cocoapods

Podfile:

pod "PleaseBaoMe"

Copying all the files

All needed files are in "Classes" folder. And all dependencies are in "FMDB" folder. You can copy them into your project to import PleaseBaoMe.

How To Use

You can see the sample code in Demo project.

Step1: start

You can start the serve by using:

[PBMTool start];

Step2: setup

Then please set file path for your database file:

[PBMTool setDBFilePath:writableDBPath];

Step3: finish

Run your app, you will see the following log in console:

You can see you SQLite in 192.168.xxx.xx:12345

Copy and paste the address to your browser's address bar and press enter key, you will see the entire database in your browser.

Function

Input SQL in URL

You can input your SQL query in the URI just like this:

http://192.168.xxx.xx:12345/SELECT * from test_table

Convenient Filter

You can set TableName、 LIMIT、 OFFSET in navigation bar easily.

License

MIT

pleasebaome's People

Contributors

callmewhy avatar

Watchers

Chew Chit Siang avatar James Cloos avatar  avatar

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.