Skip to content

Commit 6235a94

Browse files
committed
13 Dec 2023
1) Bootstrap update. 2) JWT library update. 3) Some cosmetic updates.
1 parent 1dbdd82 commit 6235a94

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+188
-130
lines changed

README.md

Lines changed: 33 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,36 @@
11
## CORE BOXX
22
Core Boxx is a PHP framework built with the concept of simplicity and modularity. Install and load only what you need, not bloated with unused features.
3+
<br><br>
34

4-
TLDR - "Jumpstart your project with a collection of predefined plug-and-play modules".
5+
## :ballot_box_with_check: REQUIREMENTS
6+
1) LAMP/WAMP/MAMP/XAMPP
7+
2) Apache Mod Rewrite
8+
3) PHP MYSQL PDO Extension
9+
4) At least PHP 8.0
10+
<br><br>
11+
12+
## :floppy_disk: INSTALLATION & NOTES
13+
- Copy the contents of `core/` into your HTTP folder.
14+
- Access `http://your-site.com/` in the browser and walk through the installer.
15+
16+
## :zap: OPTIONAL MODULES
17+
- The rest of the folders are optional modules.
18+
- To install the optional modules, check out their respective `README.md` files.
19+
<br><br>
20+
21+
## :star: SUPPORT
22+
Like this project? Just give it a star. That will indirectly help grow my blog a little bit. :wink:
23+
<br><br>
24+
25+
## :camera: SCREENSHOTS
26+
<p float="left">
27+
<img width="250" src="https://github.com/code-boxx/Core-Boxx-PHP-Framework/blob/main/core/assets/core-boxx-1.png">
28+
<img width="250" src="https://github.com/code-boxx/Core-Boxx-PHP-Framework/blob/main/core/assets/core-boxx-2.png">
29+
<img width="250" src="https://github.com/code-boxx/Core-Boxx-PHP-Framework/blob/main/core/assets/core-boxx-3.png">
30+
<img width="250" src="https://github.com/code-boxx/Core-Boxx-PHP-Framework/blob/main/core/assets/core-boxx-4.png">
31+
<img width="250" src="https://github.com/code-boxx/Core-Boxx-PHP-Framework/blob/main/core/assets/core-boxx-5.png">
32+
<img width="250" src="https://github.com/code-boxx/Core-Boxx-PHP-Framework/blob/main/core/assets/core-boxx-6.png">
33+
</p>
534
<br><br>
635

736
## :white_check_mark: "OUT OF THE BOX" FEATURES
@@ -12,7 +41,7 @@ TLDR - "Jumpstart your project with a collection of predefined plug-and-play mod
1241
5) Bootstrap HTML template.
1342
<br><br>
1443

15-
## :electric_plug: PLENTY OF MODULES
44+
## :electric_plug: MODULES
1645
* `admin` Admin panel.
1746
* `ai chatbot` Run a local AI Chatbot (Python).
1847
* `autocomplete` Autocomplete/suggestion.
@@ -30,40 +59,12 @@ TLDR - "Jumpstart your project with a collection of predefined plug-and-play mod
3059
* `web push` Send push notifications.
3160
<br><br>
3261

33-
## :camera: SCREENSHOTS
34-
<p float="left">
35-
<img width="250" src="https://github.com/code-boxx/Core-Boxx-PHP-Framework/blob/main/core/assets/core-boxx-1.png">
36-
<img width="250" src="https://github.com/code-boxx/Core-Boxx-PHP-Framework/blob/main/core/assets/core-boxx-2.png">
37-
<img width="250" src="https://github.com/code-boxx/Core-Boxx-PHP-Framework/blob/main/core/assets/core-boxx-3.png">
38-
<img width="250" src="https://github.com/code-boxx/Core-Boxx-PHP-Framework/blob/main/core/assets/core-boxx-4.png">
39-
<img width="250" src="https://github.com/code-boxx/Core-Boxx-PHP-Framework/blob/main/core/assets/core-boxx-5.png">
40-
<img width="250" src="https://github.com/code-boxx/Core-Boxx-PHP-Framework/blob/main/core/assets/core-boxx-6.png">
41-
</p>
42-
<br><br>
43-
44-
## :ballot_box_with_check: REQUIREMENTS
45-
1) LAMP/WAMP/MAMP/XAMPP
46-
2) Apache Mod Rewrite
47-
3) PHP MYSQL PDO Extension
48-
4) At least PHP 8.0
49-
<br><br>
50-
51-
## :floppy_disk: INSTALLATION & NOTES
52-
1) Just copy `core/` into your project folder. Access `http://your-site.com/` in the browser and walk through the installer.
53-
2) The rest are optional modules... Too lazy and messy to create separate repos for each.
54-
3) Some modules may require "extra installation steps", do check out the respective documentation - https://code-boxx.com/core-boxx-php-framework/#sec-ref
55-
<br><br>
56-
57-
## :bulb: DOCUMENTATION & FRAMEWORKS
62+
## :bulb: DOCUMENTATION & CREDITS
5863
1) Visit [Core Boxx](https://code-boxx.com/core-boxx-php-framework/) for more for the full documentation!
5964
2) Built on [Bootstrap](https://getbootstrap.com/) and [IcoMoon](https://icomoon.io/).
6065
3) Using [PHP-JWT library](https://github.com/firebase/php-jwt)
6166
<br><br>
6267

63-
## :star: SUPPORT
64-
Like this project? Just give it a star. That will indirectly help grow my blog a little bit. :wink:
65-
<br><br>
66-
6768
## :newspaper: LICENSE
6869
Copyright by Code Boxx
6970

@@ -83,4 +84,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
8384
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
8485
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
8586
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
86-
SOFTWARE.
87+
SOFTWARE.

admin/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ https://code-boxx.com/core-boxx-admin-panel/
66
* [Users Module](https://github.com/code-boxx/Core-Boxx-PHP-Framework/tree/main/users)
77

88
## INSTALL
9-
* Copy/unzip this module into your existing Core Boxx project folder.
9+
* Copy this module into your existing Core Boxx project folder.
1010
* Access `http://your-site.com/install/admin`, this will automatically:
1111
- Create a new `HOST_ADMIN` definition in `lib/CORE-config.php`.
1212
- Add a new `$wild = [ "admin/" => "ADM-check.php" ]` line to `lib/HOOK-Routes.php`.
@@ -33,4 +33,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
3333
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3434
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
3535
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
36-
SOFTWARE.
36+
SOFTWARE.

ai chatbot/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,19 @@ https://code-boxx.com/core-boxx-ai-chatbot/
99
* [Nvidia CUDA Toolkit](https://developer.nvidia.com/cuda-toolkit) - If you have an Nvidia graphics card.
1010

1111
## RECOMMENDED
12-
* An Nvidia graphics card with at least 8GB VRAM is highly recommended.
12+
* An Nvidia graphics card with at least 8GB VRAM.
1313
* You can TRY to run on CPU-only, but it is painfully slow.
1414

1515
## INSTALLATION
16-
* Copy/unzip this module into your existing Core Boxx project folder.
16+
* Copy this module into your existing Core Boxx project folder.
1717
* Put documents you want the AI to "learn" into `chatbot/docs`, accepted file types - `csv pdf txt epub html md odt doc docx ppt pptx`.
1818
* Start install - *BE WARNED, SEVERAL GIGABYTES WORTH OF DOWNLOAD!*
1919
* GPU - Run `0-setup.bat` (Windows) `0-setup.sh` (Linux).
2020
* CPU - Run `0-setup.bat CPU` (Windows) `0-setup.sh CPU` (Linux).
2121
* You will need to [choose and download an AI model](https://code-boxx.com/core-boxx-ai-chatbot/#sec-choose).
2222
* Run `2-bot.bat 2-bot.sh`, access `http://your-site.com/ai/` for the demo.
2323

24-
## REBUILD THE DATEBASE
24+
## TO REBUILD THE DATEBASE
2525
* Simply add/remove documents from `chatbot/docs`.
2626
* Run `1-create.bat / 1-create.sh`.
2727

ai chatbot/assets/ai-bot.webp

-86 Bytes
Binary file not shown.

ai chatbot/assets/ai-human.webp

50 Bytes
Binary file not shown.

ai chatbot/assets/ai-system.webp

474 Bytes
Binary file not shown.

ai chatbot/chatbot/d_bot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# (A) LOAD SETTINGS & MODULES
22
import a_settings as set
33
import c_oto_rodo as oto
4-
from langchain import PromptTemplate
4+
from langchain.prompts import PromptTemplate
55
from langchain.vectorstores import Chroma
66
from langchain.embeddings import HuggingFaceInstructEmbeddings
77
from langchain.chains import RetrievalQA

autocomplete/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ https://code-boxx.com/core-boxx-autocomplete-module/
55
* [Core Boxx](https://github.com/code-boxx/Core-Boxx-PHP-Framework/tree/main/core)
66

77
## INSTALL
8-
* Copy/unzip this module into your existing Core Boxx project folder.
8+
* Copy this module into your existing Core Boxx project folder.
99
* Access `http://your-site.com/install/autocomplete`, this will automatically:
1010
- Add a new `SUGGEST_LIMIT` setting in the database.
1111
- Delete `PAGE-install-autocomplete.php` itself.
@@ -33,4 +33,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
3333
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3434
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
3535
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
36-
SOFTWARE.
36+
SOFTWARE.

calendar/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ https://code-boxx.com/core-boxx-calendar-module/
55
* [Core Boxx](https://github.com/code-boxx/Core-Boxx-PHP-Framework/tree/main/core)
66

77
## INSTALL
8-
* Copy/unzip this module into your existing Core Boxx project folder.
8+
* Copy this module into your existing Core Boxx project folder.
99
* Access `http://your-site.com/install/calendar`, this will automatically:
1010
- Import `lib/SQL-Calendar.sql` into your database.
1111
- Delete `PAGE-install-calendar.php` itself.
@@ -31,4 +31,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
3131
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3232
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
3333
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
34-
SOFTWARE.
34+
SOFTWARE.

comments/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ https://code-boxx.com/core-boxx-comments-module/
66
* [Users Module](https://github.com/code-boxx/Core-Boxx-PHP-Framework/tree/main/users)
77

88
## INSTALL
9-
* Copy/unzip this module into your existing Core Boxx project folder.
9+
* Copy this module into your existing Core Boxx project folder.
1010
* Acces `http://your-site.com/install/comments`, this will automatically:
1111
- Import `lib/SQL-Comments.sql` into your database.
1212
- Delete `PAGE-install-comments.php` itself.
@@ -36,4 +36,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
3636
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3737
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
3838
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
39-
SOFTWARE.
39+
SOFTWARE.

0 commit comments

Comments
 (0)