GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - InPoint-Automation/PubliiDatabaseTool: A Publii plugin that lets you browse and edit your site's internal SQLite database directly from the plugin settings view

BranchesTags
Open more actions menu

Latest commit

 

History

1 Commit
1 Commit

Folders and files

NameName
Last commit message
Last commit date
Third Party Licenses
Third Party Licenses
 
 
options
options
 
 
.gitignore
.gitignore
 
 
CHANGELOG.md
CHANGELOG.md
 
 
DEV.md
DEV.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
main.js
main.js
 
 
plugin.json
plugin.json
 
 
screenshot.png
screenshot.png
 
 
thumbnail.svg
thumbnail.svg
 
 

Repository files navigation

Database Tool

Icon

Description

Database Tool is a Publii plugin that lets you browse and edit your site's internal SQLite database directly from the plugin settings view, and freeze post and page dates.

Features

  • Browse posts, pages, tags, and additional data from the plugin settings view
  • Edit post/page fields, tags, and additional data, then export the modified database
  • Freeze a post's or page's created and modified dates for rendering
  • Run raw SELECT and write queries against the loaded database
  • Download a backup of the original database before making changes

Requirements

Publii 0.46.0 or newer. Nothing else, the plugin is fully self-contained and works offline.

Installation

  1. Download the release ZIP.
  2. Publii -> Tools -> Plugins -> Install plugin -> pick the ZIP.
  3. Enable the plugin for the site.

Usage

Open Plugins -> Database Tool -> settings icon. The tool loads the current site's database.

Use the tabs to browse Posts, Pages, Tags, Additional Data, or run a raw query.

Expand a row to edit fields or freeze its dates. Edits are made in memory, click Export Modified DB, replace input/db.sqlite in your site folder with the exported file, and restart Publii to apply.

Save Date Overrides stores date freezes in the plugin config. These are applied automatically at each site render, no database export needed.

screenshot

Contributing

Feel free to fork this project or contribute a PR.

Build instructions can be found in the developer readme DEV.md.

Licenses

Main code

This project is licensed under the GPLv3+. See LICENSE file for details.

Third-Party Components

The plugin class (main.js) is self-contained plain JavaScript with no dependencies. The plugin settings view (options/index.html) bundles two libraries under options/vendor/.

Full license texts under Third Party Licenses/:

  • sql.js - MIT License - reads/edits the site SQLite database. Third Party Licenses/sql.js
  • flatpickr - MIT License - date/time picker. Third Party Licenses/flatpickr

Credits

This project was developed by InPoint Automation Sp. z o.o. https://inpointautomation.com/

Thanks to the Publii project for the CMS and plugin API.

Changelog

See CHANGELOG.md for the full version history.

About

A Publii plugin that lets you browse and edit your site's internal SQLite database directly from the plugin settings view

Topics

publiipublii-plugin

Resources

Readme
GPL-3.0 license
Activity
Custom properties

Stars

4 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.