Git Product home page Git Product logo

pgblackboard's Introduction

pgBlackboard

Minimalistic GIS-enabled webadmin interface for PostgreSQL

Features

Mapbox GL powered map

  • screenshot

Edit queryed dataset

  • video here

Multi statement scripts

pgBalckboard can execute scripts with multiple statements and view result of each statement

  • screenshot

Memory efficient backend

Extremely lightweight

  • 2Mb compressed docker image
  • 20Mb max mem per user

Run

Dockerhub repo

Run in foreground

docker run -it --rm -e PGBB_POSTGRES=PGHOST:PGPORT -p 7890:7890 kagiskz/pgblackboard

Run in background

docker run -d --restart unless-stopped -e PGBB_POSTGRES=PGHOST:PGPORT -p 7890:7890 kagiskz/pgblackboard

pgblackboard's People

Contributors

exe-dealer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

pgblackboard's Issues

json serialization error of "returning" data when update,insert

Traceback (most recent call last):
File "./pgblackboard/init.py", line 39, in application
yield from app(environ, start_response)
File "./pgblackboard/dbapp.py", line 61, in call
status, app_iter = handler.handle(cursor)
File "./pgblackboard/editing.py", line 58, in handle
return '200 OK', [json.dumps(returning_row)]
File "/usr/lib/python3.4/json/init.py", line 230, in dumps
return _default_encoder.encode(obj)
File "/usr/lib/python3.4/json/encoder.py", line 192, in encode
chunks = self.iterencode(o, _one_shot=True)
File "/usr/lib/python3.4/json/encoder.py", line 250, in iterencode
return _iterencode(o, 0)
File "/usr/lib/python3.4/json/encoder.py", line 173, in default
raise TypeError(repr(o) + " is not JSON serializable")
TypeError: datetime.date(2014, 9, 4) is not JSON serializable

undo redo managament

  • select draft or treenode
  • do ctrl+z/undo

content of code editor is undoed to content of prevously selected item

update tree on ddl

DROP/CREATE/ALTER table/view/materialized view/foreign table/function
alter table sometable ADD/DROP/ALTER/RENAME column

authorized auth for index

ask login and password when request / root and use established connection to get list of databases

implement column def

column add, drop, rename,
alter column col set not null/null according to current nullability

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.