Farewell, Origin Lab
Preface
Many people may not know about Origin Lab, but it holds a permanent place in my memories.
Throughout 2020, I was constantly maintaining and upgrading Origin Lab.
In 2021, I realized my own limitations and decided to open-source the lab.
The Beginning
The initial beta was launched on December 1, 2019. Back then, I even wrote an article dedicated to hyping up the lab, naming it Source・Swallow.
Not many people remember what it looked like in the beginning—only I do.
At first, I was drawn to Mengkun Lab, so I imitated and copied it in every way. I have to admit, I did a pretty good job back then. It was almost identical.
After I finished copying, I decided to add some of my own creative touches, which is how I managed to surpass Mengkun Lab in a few areas.
The Everyday
After upgrading to the official Version 2.0, I gave the lab a comprehensive overhaul, adopting the Material Design style, and renamed it Origin Web Lab. This update accompanied the lab for nearly all of 2020, and I no longer have the specifics of what it looked like.
But I have to say, during the maintenance and upgrades of this version of the lab, I did gain a lot of technical growth, and I also released my first Typecho-based admin theme, AdminMD.
The Revolution
The native Material Design style had become aesthetically fatiguing. Many products on the market were designed with Material style. If you look at it in isolation, it's naturally quite good, but if you see it too often, you start to feel annoyed.
To that end, I ported the look of the MoQu download site to develop a brand-new version of the lab.
The process was indeed much more difficult than before, with errors happening frequently.
But in the end, the development was completed.
The new style was also a revolution against Material. The original Material Design could no longer meet the highest standards of today's aesthetics.
Shortcomings
First, every version of the lab I developed was built with HTML, so the purpose of the PHP syntax was merely for the shared header...
Second, the latest version still has many errors.
Finally, many of the projects were copied, not independently developed.
Open Source
Since open-sourcing, I will no longer upgrade the lab, and I will shut it down, keeping only the core projects in the blog's root directory.
I hope that after open-sourcing, some experts can build a more perfect and better lab based on my design.
The lab retains almost all of the experimental projects, ready to deploy and use. The image hosting project, however, requires self-configuration, located at
root/Img
In the folder, the modification file is located at
root/Img/up.php
Database configuration
error_reporting(0);
header('Content-Type: text/html; charset=UTF-8');
date_default_timezone_set("PRC");
define("REPO","");//must be a public repository under the following username
define("USER","");//must be the current GitHub username
define("MAIL","");//
define("TOKEN","");//go to https://github.com/settings/tokens to generate a token with write permissions (check repo: Full control of private repositories and write:packages)
//Database configuration file
$database = array(
'dbname' => 'database name',
'host' => 'localhost',
'port' => 3306,
'user' => 'database username',
'pass' => 'database password',
);