Skip to content
 
 

Latest commit

 

History

13 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TinyWP

TinyWP is a small WordPress bootstrap installer. Upload one PHP file, open it in a browser, and it downloads the latest WordPress from WordPress.org and starts setup.

Requires PHP 8.4+ on Apache or Nginx, with the zip extension plus cURL (or allow_url_fopen). HTTPS is used for the WordPress.org download.

TinyRM deletes every file and folder in the directory you place it in, including itself.

How to use TinyWP

  • Upload tinywp.php to your server, in the directory you want to install WordPress
  • Point your browser to tinywp.php to begin the installation process
  • TinyWP will download the most recent version of WordPress directly from WordPress.org, unzip it, and send you to the WordPress setup screen

How to use TinyRM

  • Upload tinyrm.php to the directory you want to empty
  • Point your browser to tinyrm.php
  • TinyRM will delete every file and folder in that directory, then delete itself

How TinyWP works

  • Checks that WordPress is not already installed, and that the zip extension and a download method are available
  • Downloads https://wordpress.org/latest.zip
  • Extracts the zip, moving files out of the wordpress/ subdirectory into the current directory
  • Deletes latest.zip and itself from the server
  • Redirects the user to ./wp-admin/setup-config.php to begin WordPress setup

How TinyRM works

  • Deletes every file and subdirectory in its own directory
  • Does not follow directory symlinks
  • Deletes itself last

Credit

Based on an idea by Pat Hawks (pat@pathawks.com)

License

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.

About

TinyWP provides a very small WordPress installation program that will bootstrap a larger WordPress installation

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Contributors

Languages