Light Theme/Filters/Indexer/Fonts
This commit is contained in:
parent
448760be8c
commit
9b0151e39f
8986
light/css/bootstrap.css
vendored
Normal file
8986
light/css/bootstrap.css
vendored
Normal file
File diff suppressed because it is too large
Load Diff
5779
light/css/bootstrap.min.css
vendored
Normal file
5779
light/css/bootstrap.min.css
vendored
Normal file
File diff suppressed because it is too large
Load Diff
31
light/documents/index.html
Normal file
31
light/documents/index.html
Normal file
|
@ -0,0 +1,31 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="s" dir="ltr">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<link rel="shortcut icon" href="../ico/archive.ico">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>Archive - Documents</title>
|
||||
<link rel="stylesheet" href="../css/bootstrap.min.css">
|
||||
<script src="../js/bootstrap.min.js"></script>
|
||||
<script src="../js/jquery.min.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<h3>Archive - Backup file indexer</h3>
|
||||
<nav aria-label="breadcrumb" role="navigation">
|
||||
<ol class="breadcrumb mt-2">
|
||||
<li class="breadcrumb-item"><a href="../index.html">Packages</a></li>
|
||||
<li class="breadcrumb-item"><a href="../scripts/index.html">Scripts</a></li>
|
||||
<li class="breadcrumb-item active"><a href="index.html">Documents</a></li>
|
||||
<li class="breadcrumb-item"><a href="../../dark/index.html">Switch to dark theme</a></li>
|
||||
</ol>
|
||||
</nav>
|
||||
<div class="mb-2 alert alert-success">
|
||||
The last update was on 25-04-2021 (1 documents).
|
||||
</div>
|
||||
<ul class="list-group">
|
||||
<li class="list-group-item"><a href="../../documents/template.odt">template.odt</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
15
light/filters.cmd
Executable file
15
light/filters.cmd
Executable file
|
@ -0,0 +1,15 @@
|
|||
@echo off
|
||||
|
||||
rem # Apply filters
|
||||
call gen\jrepl.bat "Package or application ansi-gli-" "ANSI Greater and Less in ISO v" /f index.html /o -
|
||||
call gen\jrepl.bat "Package or application aria2-" "CLI tool for multiprotocol downloads v" /f index.html /o -
|
||||
call gen\jrepl.bat "Package or application aria2bt-tools-" "Python scripts to manage aria2 BitTorrent downloads v" /f index.html /o -
|
||||
call gen\jrepl.bat "Package or application clamTools" "Python Command-Line tools for ClamAV v" /f index.html /o -
|
||||
call gen\jrepl.bat "Package or application easy-samba-" "A basic GTK (zenity) or CLI interface for Samba v" /f index.html /o -
|
||||
call gen\jrepl.bat "Package or application drivers-linux-firmware_" "Updated drivers from Linux-Firmware for Debian/Ubuntu v" /f index.html /o -
|
||||
call gen\jrepl.bat "Package or application ip2e-" "Daemon to send your public IP (dynamic) by email when it is renewed v" /f index.html /o -
|
||||
call gen\jrepl.bat "Package or application irssi-" "IRC Client for CLI interface v" /f index.html /o -
|
||||
call gen\jrepl.bat "Package or application ks-tools-" "Tools for upload, convert and crop/mix video/audio files v" /f index.html /o -
|
||||
call gen\jrepl.bat "Package or application mktorrent-" "A simple command line utility to create BitTorrent metainfo files v" /f index.html /o -
|
||||
call gen\jrepl.bat "Package or application zenigrub-custom-" "A simple GTK (Zenity) interface to edit basic settings of GRUB v" /f index.html /o -
|
||||
call gen\jrepl.bat "Package or application archive-inr-" "Source code of archive-indexer bootstrap v" /f index.html /o -
|
15
light/filters.sh
Executable file
15
light/filters.sh
Executable file
|
@ -0,0 +1,15 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Apply filters
|
||||
sed -i "s/Package or application ansi-gli-/ANSI Greater and Less in ISO v/g" index.html &> /dev/null
|
||||
sed -i "s/Package or application aria2-/CLI tool for multiprotocol downloads v/g" index.html &> /dev/null
|
||||
sed -i "s/Package or application aria2bt-tools-/Python scripts to manage aria2 BitTorrent downloads v/g" index.html &> /dev/null
|
||||
sed -i "s/Package or application clamTools-/Python Command-Line tools for ClamAV v/g" index.html &> /dev/null
|
||||
sed -i "s/Package or application easy-samba-/A basic GTK (zenity) or CLI interface for Samba v/g" index.html &> /dev/null
|
||||
sed -i "s/Package or application drivers-linux-firmware_/Updated drivers from Linux-Firmware for Debian\/Ubuntu v/g" index.html &> /dev/null
|
||||
sed -i "s/Package or application ip2e-/Daemon to send your public IP (dynamic) by email when it is renewed v/g" index.html &> /dev/null
|
||||
sed -i "s/Package or application irssi-/IRC Client for CLI interface v/g" index.html &> /dev/null
|
||||
sed -i "s/Package or application ks-tools-/Tools for upload, convert and crop\/mix video\/audio files v/g" index.html &> /dev/null
|
||||
sed -i "s/Package or application mktorrent-/A simple command line utility to create BitTorrent metainfo files v/g" index.html &> /dev/null
|
||||
sed -i "s/Package or application zenigrub-custom-/A simple GTK (Zenity) interface to edit basic settings of GRUB v/g" index.html &> /dev/null
|
||||
sed -i "s/Package or application archive-inr-/Source code of archive-indexer bootstrap v/g" index.html &> /dev/null
|
BIN
light/fonts/ubuntu.eot
Normal file
BIN
light/fonts/ubuntu.eot
Normal file
Binary file not shown.
BIN
light/fonts/ubuntu.ttf
Normal file
BIN
light/fonts/ubuntu.ttf
Normal file
Binary file not shown.
4
light/gen/footer.html
Normal file
4
light/gen/footer.html
Normal file
|
@ -0,0 +1,4 @@
|
|||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
1
light/gen/indexer/sai-indexer.txt
Normal file
1
light/gen/indexer/sai-indexer.txt
Normal file
|
@ -0,0 +1 @@
|
|||
zenigrub-custom-1.4
|
2626
light/gen/jrepl.bat
Executable file
2626
light/gen/jrepl.bat
Executable file
File diff suppressed because it is too large
Load Diff
1
light/gen/list-archive-documents.txt
Normal file
1
light/gen/list-archive-documents.txt
Normal file
|
@ -0,0 +1 @@
|
|||
template.odt
|
38
light/gen/list-archive-files.txt
Normal file
38
light/gen/list-archive-files.txt
Normal file
|
@ -0,0 +1,38 @@
|
|||
ansi-gli-2.6.zip
|
||||
archive-indexer-2.1.tar.gz
|
||||
aria2-1.35.0-linux-gnu-32bit-build1.deb
|
||||
aria2-1.35.0-linux-gnu-32bit-build1.tar.bz2
|
||||
aria2-1.35.0-linux-gnu-64bit-build1.deb
|
||||
aria2-1.35.0-linux-gnu-64bit-build1.tar.bz2
|
||||
aria2-1.35.0-linux-gnu-arm-rbpi-build1.deb
|
||||
aria2-1.35.0-linux-gnu-arm-rbpi-build1.tar.bz2
|
||||
aria2bt-tools-1.2.4-all.deb
|
||||
aria2bt-tools-1.2.4-all.rpm
|
||||
aria2bt-tools-1.2.4.tar.bz2
|
||||
aria2bt-tools-1.2.4.tar.gz
|
||||
clamTools-1.0.1.tar.bz2
|
||||
clamTools-1.0.1.tar.gz
|
||||
drivers-linux-firmware_20210327-1_all.deb
|
||||
easy-samba-1.6.2-en.deb
|
||||
easy-samba-1.6.2-en.rpm
|
||||
easy-samba-1.6.2-es.deb
|
||||
easy-samba-1.6.2-es.rpm
|
||||
easy-samba-1.6.2.tar.gz
|
||||
ip2e-1.3.2-all.deb
|
||||
ip2e-1.3.2-all.rpm
|
||||
ip2e-1.3.2.tar.bz2
|
||||
ip2e-1.3.2.tar.gz
|
||||
irssi-1.2.2-win-32bit-build1.7z
|
||||
irssi-1.2.2-win-64bit-build1.7z
|
||||
ks-tools-7.2-300321-en-all.deb
|
||||
ks-tools-7.2-300321-en-all.rpm
|
||||
ks-tools-7.2-300321-Linux-en.tar.gz
|
||||
ks-tools-7.2-300321-Windows-en-x86-64.zip
|
||||
ks-tools-7.2-300321-Windows-en-x86.zip
|
||||
mktorrent-1.1-win-32bit-build2.7z
|
||||
mktorrent-1.1-win-64bit-build2.7z
|
||||
zenigrub-custom-1.4-en.deb
|
||||
zenigrub-custom-1.4-en.rpm
|
||||
zenigrub-custom-1.4-es.deb
|
||||
zenigrub-custom-1.4-es.rpm
|
||||
zenigrub-custom-1.4.tar.gz
|
2
light/gen/list-archive-scripts.txt
Normal file
2
light/gen/list-archive-scripts.txt
Normal file
|
@ -0,0 +1,2 @@
|
|||
script-template.sh
|
||||
template.txt
|
22
light/gen/main-documents-win.html
Normal file
22
light/gen/main-documents-win.html
Normal file
|
@ -0,0 +1,22 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="s" dir="ltr">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<link rel="shortcut icon" href="../ico/archive.ico">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>Archive - Documents</title>
|
||||
<link rel="stylesheet" href="../css/bootstrap.min.css">
|
||||
<script src="../js/bootstrap.min.js"></script>
|
||||
<script src="../js/jquery.min.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<h3>Archive - Backup file indexer</h3>
|
||||
<nav aria-label="breadcrumb" role="navigation">
|
||||
<ol class="breadcrumb mt-2">
|
||||
<li class="breadcrumb-item"><a href="../index.html">Packages</a></li>
|
||||
<li class="breadcrumb-item"><a href="../scripts/index.html">Scripts</a></li>
|
||||
<li class="breadcrumb-item active"><a href="index.html">Documents</a></li>
|
||||
<li class="breadcrumb-item"><a href="../../dark/index.html">Switch to dark theme</a></li>
|
||||
</ol>
|
||||
</nav>
|
26
light/gen/main-documents.html
Normal file
26
light/gen/main-documents.html
Normal file
|
@ -0,0 +1,26 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="s" dir="ltr">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<link rel="shortcut icon" href="../ico/archive.ico">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>Archive - Documents</title>
|
||||
<link rel="stylesheet" href="../css/bootstrap.min.css">
|
||||
<script src="../js/bootstrap.min.js"></script>
|
||||
<script src="../js/jquery.min.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<h3>Archive - Backup file indexer</h3>
|
||||
<nav aria-label="breadcrumb" role="navigation">
|
||||
<ol class="breadcrumb mt-2">
|
||||
<li class="breadcrumb-item"><a href="../index.html">Packages</a></li>
|
||||
<li class="breadcrumb-item"><a href="../scripts/index.html">Scripts</a></li>
|
||||
<li class="breadcrumb-item active"><a href="index.html">Documents</a></li>
|
||||
<li class="breadcrumb-item"><a href="../../dark/index.html">Switch to dark theme</a></li>
|
||||
</ol>
|
||||
</nav>
|
||||
<div class="mb-2 alert alert-success">
|
||||
The last update was on variable-date-change-day-today (variable-number-of-files documents).
|
||||
</div>
|
||||
<ul class="list-group">
|
22
light/gen/main-scripts-win.html
Normal file
22
light/gen/main-scripts-win.html
Normal file
|
@ -0,0 +1,22 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="s" dir="ltr">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<link rel="shortcut icon" href="../ico/archive.ico">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>Archive - Scripts</title>
|
||||
<link rel="stylesheet" href="../css/bootstrap.min.css">
|
||||
<script src="../js/bootstrap.min.js"></script>
|
||||
<script src="../js/jquery.min.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<h3>Archive - Backup file indexer</h3>
|
||||
<nav aria-label="breadcrumb" role="navigation">
|
||||
<ol class="breadcrumb mt-2">
|
||||
<li class="breadcrumb-item"><a href="../index.html">Packages</a></li>
|
||||
<li class="breadcrumb-item active"><a href="index.html">Scripts</a></li>
|
||||
<li class="breadcrumb-item"><a href="../documents/index.html">Documents</a></li>
|
||||
<li class="breadcrumb-item"><a href="../../dark/index.html">Switch to dark theme</a></li>
|
||||
</ol>
|
||||
</nav>
|
26
light/gen/main-scripts.html
Normal file
26
light/gen/main-scripts.html
Normal file
|
@ -0,0 +1,26 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="s" dir="ltr">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<link rel="shortcut icon" href="../ico/archive.ico">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>Archive - Scripts</title>
|
||||
<link rel="stylesheet" href="../css/bootstrap.min.css">
|
||||
<script src="../js/bootstrap.min.js"></script>
|
||||
<script src="../js/jquery.min.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<h3>Archive - Backup file indexer</h3>
|
||||
<nav aria-label="breadcrumb" role="navigation">
|
||||
<ol class="breadcrumb mt-2">
|
||||
<li class="breadcrumb-item"><a href="../index.html">Packages</a></li>
|
||||
<li class="breadcrumb-item active"><a href="index.html">Scripts</a></li>
|
||||
<li class="breadcrumb-item"><a href="../documents/index.html">Documents</a></li>
|
||||
<li class="breadcrumb-item"><a href="../../dark/index.html">Switch to dark theme</a></li>
|
||||
</ol>
|
||||
</nav>
|
||||
<div class="mb-2 alert alert-success">
|
||||
The last update was on variable-date-change-day-today (variable-number-of-files scripts).
|
||||
</div>
|
||||
<ul class="list-group">
|
22
light/gen/main-win.html
Normal file
22
light/gen/main-win.html
Normal file
|
@ -0,0 +1,22 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="s" dir="ltr">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<link rel="shortcut icon" href="ico/archive.ico">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>Archive - Packages</title>
|
||||
<link rel="stylesheet" href="css/bootstrap.min.css">
|
||||
<script src="js/bootstrap.min.js"></script>
|
||||
<script src="js/jquery.min.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<h3>Archive - Backup file indexer</h3>
|
||||
<nav aria-label="breadcrumb" role="navigation">
|
||||
<ol class="breadcrumb mt-2">
|
||||
<li class="breadcrumb-item active"><a href="index.html">Packages</a></li>
|
||||
<li class="breadcrumb-item"><a href="scripts/index.html">Scripts</a></li>
|
||||
<li class="breadcrumb-item"><a href="documents/index.html">Documents</a></li>
|
||||
<li class="breadcrumb-item"><a href="../dark/index.html">Switch to dark theme</a></li>
|
||||
</ol>
|
||||
</nav>
|
26
light/gen/main.html
Normal file
26
light/gen/main.html
Normal file
|
@ -0,0 +1,26 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="s" dir="ltr">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<link rel="shortcut icon" href="ico/archive.ico">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>Archive - Packages</title>
|
||||
<link rel="stylesheet" href="css/bootstrap.min.css">
|
||||
<script src="js/bootstrap.min.js"></script>
|
||||
<script src="js/jquery.min.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<h3>Archive - Backup file indexer</h3>
|
||||
<nav aria-label="breadcrumb" role="navigation">
|
||||
<ol class="breadcrumb mt-2">
|
||||
<li class="breadcrumb-item active"><a href="index.html">Packages</a></li>
|
||||
<li class="breadcrumb-item"><a href="scripts/index.html">Scripts</a></li>
|
||||
<li class="breadcrumb-item"><a href="documents/index.html">Documents</a></li>
|
||||
<li class="breadcrumb-item"><a href="../dark/index.html">Switch to dark theme</a></li>
|
||||
</ol>
|
||||
</nav>
|
||||
<div class="mb-2 alert alert-success">
|
||||
The last update was on variable-date-change-day-today (variable-number-of-files packages).
|
||||
</div>
|
||||
<ul class="list-group">
|
BIN
light/ico/archive-light.png
Normal file
BIN
light/ico/archive-light.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 40 KiB |
BIN
light/ico/archive.ico
Normal file
BIN
light/ico/archive.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 22 KiB |
85
light/index-light.cmd
Executable file
85
light/index-light.cmd
Executable file
|
@ -0,0 +1,85 @@
|
|||
@echo off
|
||||
|
||||
rem ###########################################
|
||||
rem # Archive - Backup file indexer #
|
||||
rem # Date: 30-03-2021 #
|
||||
rem # Author: q3aql #
|
||||
rem # Contact: q3aql@protonmail.ch #
|
||||
rem ###########################################
|
||||
|
||||
rem # Filter variables
|
||||
set skip_files_list="-I css -I ico -I index.html -I index.php -I src"
|
||||
set dir_files=..\files
|
||||
set dir_files_scripts=..\scripts
|
||||
set dir_files_documents=..\documents
|
||||
|
||||
rem # Filter variables
|
||||
set dirTemp=gen
|
||||
set listTemp=total-files.list
|
||||
set IndexerTempFolder=gen\indexer
|
||||
|
||||
rem # Create initial HTML
|
||||
echo.
|
||||
echo * Creating initial HTML
|
||||
type gen\main-win.html > index.html
|
||||
type gen\main-scripts-win.html > scripts\index.html
|
||||
type gen\main-documents-win.html > documents\index.html
|
||||
|
||||
rem # Build file list
|
||||
dir /B %dir_files% > gen\list-archive-files.txt
|
||||
dir /B %dir_files_scripts% > gen\list-archive-scripts.txt
|
||||
dir /B %dir_files_documents% > gen\list-archive-documents.txt
|
||||
|
||||
rem # Count files
|
||||
type gen\list-archive-documents.txt | find /v "" /c > gen\count-archive-documents.txt
|
||||
type gen\list-archive-scripts.txt | find /v "" /c > gen\count-archive-scripts.txt
|
||||
type gen\list-archive-files.txt | find /v "" /c > gen\count-archive-files.txt
|
||||
set /p number_files=<gen\count-archive-files.txt
|
||||
set /p number_documents=<gen\count-archive-documents.txt
|
||||
set /p number_scripts=<gen\count-archive-scripts.txt
|
||||
|
||||
rem # Set latest update
|
||||
echo ^<div class="mb-2 alert alert-success"^> >> index.html
|
||||
echo The last update was on %date% (%number_files% packages). >> index.html
|
||||
echo ^</div^> >> index.html
|
||||
echo ^<ul class="list-group"^> >> index.html
|
||||
|
||||
rem # Set latest update (documents)
|
||||
echo ^<div class="mb-2 alert alert-success"^> >> documents\index.html
|
||||
echo The last update was on %date% (%number_documents% documents). >> documents\index.html
|
||||
echo ^</div^> >> documents\index.html
|
||||
echo ^<ul class="list-group"^> >> documents\index.html
|
||||
|
||||
rem # Set latest update (scripts)
|
||||
echo ^<div class="mb-2 alert alert-success"^> >> scripts\index.html
|
||||
echo The last update was on %date% (%number_scripts% scripts). >> scripts\index.html
|
||||
echo ^</div^> >> scripts\index.html
|
||||
echo ^<ul class="list-group"^> >> scripts\index.html
|
||||
|
||||
rem # Index files from files folder
|
||||
for /F %%f in (gen\list-archive-files.txt) do (
|
||||
echo + Indexing the file %%f
|
||||
echo ^<li class="list-group-item"^>^<a href="%dir_files%\%%f"^>%%f^</a^> - Package or application %%f ^(autoindexed^)^.^</li^> >>index.html
|
||||
)
|
||||
|
||||
rem # Index files from scripts folder
|
||||
for /F %%f in (gen\list-archive-scripts.txt) do (
|
||||
echo + Indexing the file %%f
|
||||
echo ^<li class="list-group-item"^>^<a href="..\%dir_files_scripts%\%%f"^>%%f^</a^>^</li^> >> scripts\index.html
|
||||
)
|
||||
|
||||
rem # Index files from documents folder
|
||||
for /F %%f in (gen\list-archive-documents.txt) do (
|
||||
echo + Indexing the file %%f
|
||||
echo ^<li class="list-group-item"^>^<a href="..\%dir_files_documents%\%%f"^>%%f^</a^>^</li^> >> documents\index.html
|
||||
)
|
||||
|
||||
rem # Apply filters
|
||||
call filters.cmd
|
||||
|
||||
rem # Create the final part
|
||||
echo * Create final HTML
|
||||
type gen\footer.html >> index.html
|
||||
type gen\footer.html >> scripts\index.html
|
||||
type gen\footer.html >> documents\index.html
|
||||
|
130
light/index-light.sh
Executable file
130
light/index-light.sh
Executable file
|
@ -0,0 +1,130 @@
|
|||
#!/bin/bash
|
||||
|
||||
###########################################
|
||||
# Archive - Backup file indexer #
|
||||
# Date: 30-03-2021 #
|
||||
# Author: q3aql #
|
||||
# Contact: q3aql@protonmail.ch #
|
||||
###########################################
|
||||
|
||||
# Filter variables
|
||||
skip_files_list="-I css -I ico -I index.html -I index.php -I src"
|
||||
dir_files="../files"
|
||||
dir_files_scripts="../scripts"
|
||||
dir_files_documents="../documents"
|
||||
|
||||
# Filter variables
|
||||
dirTemp="gen"
|
||||
listTemp="total-files.list"
|
||||
IndexerTempFolder="gen/indexer"
|
||||
|
||||
# Build file list
|
||||
ls -1 ${skip_files_list} ${dir_files}/ > gen/list-archive-files.txt
|
||||
ls -1 ${skip_files_list} ${dir_files_scripts}/ > gen/list-archive-scripts.txt
|
||||
ls -1 ${skip_files_list} ${dir_files_documents}/ > gen/list-archive-documents.txt
|
||||
number_files=$(wc -l gen/list-archive-files.txt | cut -d " " -f 1)
|
||||
number_documents=$(wc -l gen/list-archive-documents.txt | cut -d " " -f 1)
|
||||
number_scripts=$(wc -l gen/list-archive-scripts.txt | cut -d " " -f 1)
|
||||
|
||||
# Create initial HTML
|
||||
echo ""
|
||||
echo "* Creating initial HTML"
|
||||
cat gen/main.html > index.html
|
||||
cat gen/main-scripts.html > scripts/index.html
|
||||
cat gen/main-documents.html > documents/index.html
|
||||
current_date_update=$(date +%d-%m-%Y)
|
||||
sed -i "s/variable-date-change-day-today/${current_date_update}/g" index.html &> /dev/null
|
||||
sed -i "s/variable-date-change-day-today/${current_date_update}/g" documents/index.html &> /dev/null
|
||||
sed -i "s/variable-date-change-day-today/${current_date_update}/g" scripts/index.html &> /dev/null
|
||||
sed -i "s/variable-number-of-files/${number_files}/g" index.html &> /dev/null
|
||||
sed -i "s/variable-number-of-files/${number_documents}/g" documents/index.html &> /dev/null
|
||||
sed -i "s/variable-number-of-files/${number_scripts}/g" scripts/index.html &> /dev/null
|
||||
|
||||
# Function to remove extension from file
|
||||
# Syntax: removeExtension "<text>"
|
||||
function removeExtension() {
|
||||
wordToConvert=${1}
|
||||
IndexerSedFile="${IndexerTempFolder}/sai-indexer.txt"
|
||||
mkdir -p ${IndexerTempFolder} && chmod 777 -R ${IndexerTempFolder} 2> /dev/null
|
||||
echo "${wordToConvert}" > ${IndexerSedFile}
|
||||
# Remove extensions
|
||||
sed -i 's/-32-bits.deb//g' "${IndexerSedFile}" &> /dev/null
|
||||
sed -i 's/-64-bits.deb//g' "${IndexerSedFile}" &> /dev/null
|
||||
sed -i 's/-32bit-build1.deb//g' "${IndexerSedFile}" &> /dev/null
|
||||
sed -i 's/-64bit-build1.deb//g' "${IndexerSedFile}" &> /dev/null
|
||||
sed -i 's/-amd64.deb//g' "${IndexerSedFile}" &> /dev/null
|
||||
sed -i 's/-i386.deb//g' "${IndexerSedFile}" &> /dev/null
|
||||
sed -i 's/-installer.exe//g' "${IndexerSedFile}" &> /dev/null
|
||||
sed -i 's/_amd64.deb//g' "${IndexerSedFile}" &> /dev/null
|
||||
sed -i 's/_i386.deb//g' "${IndexerSedFile}" &> /dev/null
|
||||
sed -i 's/_all.deb//g' "${IndexerSedFile}" &> /dev/null
|
||||
sed -i 's/-all.deb//g' "${IndexerSedFile}" &> /dev/null
|
||||
sed -i 's/-win32.zip//g' "${IndexerSedFile}" &> /dev/null
|
||||
sed -i 's/-win64.zip//g' "${IndexerSedFile}" &> /dev/null
|
||||
sed -i 's/_win32.zip//g' "${IndexerSedFile}" &> /dev/null
|
||||
sed -i 's/_win64.zip//g' "${IndexerSedFile}" &> /dev/null
|
||||
sed -i 's/-x86_64.run//g' "${IndexerSedFile}" &> /dev/null
|
||||
sed -i 's/-x86-64.run//g' "${IndexerSedFile}" &> /dev/null
|
||||
sed -i 's/-x86.run//g' "${IndexerSedFile}" &> /dev/null
|
||||
sed -i 's/_x86_64.run//g' "${IndexerSedFile}" &> /dev/null
|
||||
sed -i 's/_x86-64.run//g' "${IndexerSedFile}" &> /dev/null
|
||||
sed -i 's/_x86.run//g' "${IndexerSedFile}" &> /dev/null
|
||||
sed -i 's/.deb//g' "${IndexerSedFile}" &> /dev/null
|
||||
sed -i 's/.txt//g' "${IndexerSedFile}" &> /dev/null
|
||||
sed -i 's/.exe//g' "${IndexerSedFile}" &> /dev/null
|
||||
sed -i 's/.msi//g' "${IndexerSedFile}" &> /dev/null
|
||||
sed -i 's/.tar.gz//g' "${IndexerSedFile}" &> /dev/null
|
||||
sed -i 's/.tar.bz2//g' "${IndexerSedFile}" &> /dev/null
|
||||
sed -i 's/.tar.xz//g' "${IndexerSedFile}" &> /dev/null
|
||||
sed -i 's/.zip//g' "${IndexerSedFile}" &> /dev/null
|
||||
sed -i 's/.7z//g' "${IndexerSedFile}" &> /dev/null
|
||||
sed -i 's/.rpm//g' "${IndexerSedFile}" &> /dev/null
|
||||
sed -i 's/.run//g' "${IndexerSedFile}" &> /dev/null
|
||||
sed -i 's/.sh//g' "${IndexerSedFile}" &> /dev/null
|
||||
# Show file without extension
|
||||
wordToConvert=$(cat ${IndexerSedFile})
|
||||
echo ${wordToConvert}
|
||||
}
|
||||
|
||||
# Process the file list (Main Menu)
|
||||
list_total_files=$(cat gen/list-archive-files.txt)
|
||||
list_total_files_scripts=$(cat gen/list-archive-scripts.txt)
|
||||
list_total_files_documents=$(cat gen/list-archive-documents.txt)
|
||||
|
||||
for file in ${list_total_files} ; do
|
||||
echo "+ Indexing the file ${file} (Packages)"
|
||||
type_format_file=$(file ${dir_files}/${file} | cut -d ":" -f 2)
|
||||
echo -n '<li class="list-group-item"><a href=' >> index.html
|
||||
echo -n '"' >> index.html
|
||||
echo -n "${dir_files}/${file}" >> index.html
|
||||
echo -n '">' >> index.html
|
||||
name_package=$(removeExtension "${file}")
|
||||
echo "${file}</a> - Package or application ${name_package} (autoindexed).</li>" >> index.html
|
||||
done
|
||||
|
||||
for file in ${list_total_files_scripts} ; do
|
||||
echo "+ Indexing the file ${file} (Scripts)"
|
||||
echo -n '<li class="list-group-item"><a href=' >> scripts/index.html
|
||||
echo -n '"' >> scripts/index.html
|
||||
echo -n "../${dir_files_scripts}/${file}" >> scripts/index.html
|
||||
echo -n '">' >> scripts/index.html
|
||||
echo "${file}</a></li>" >> scripts/index.html
|
||||
done
|
||||
|
||||
for file in ${list_total_files_documents} ; do
|
||||
echo "+ Indexing the file ${file} (Documents)"
|
||||
echo -n '<li class="list-group-item"><a href=' >> documents/index.html
|
||||
echo -n '"' >> documents/index.html
|
||||
echo -n "../${dir_files_documents}/${file}" >> documents/index.html
|
||||
echo -n '">' >> documents/index.html
|
||||
echo "${file}</a></li>" >> documents/index.html
|
||||
done
|
||||
|
||||
# Apply filters
|
||||
bash filters.sh
|
||||
|
||||
# Create the final part
|
||||
echo "* Create final HTML"
|
||||
cat gen/footer.html >> index.html
|
||||
cat gen/footer.html >> scripts/index.html
|
||||
cat gen/footer.html >> documents/index.html
|
68
light/index.html
Normal file
68
light/index.html
Normal file
|
@ -0,0 +1,68 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="s" dir="ltr">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<link rel="shortcut icon" href="ico/archive.ico">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>Archive - Packages</title>
|
||||
<link rel="stylesheet" href="css/bootstrap.min.css">
|
||||
<script src="js/bootstrap.min.js"></script>
|
||||
<script src="js/jquery.min.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<h3>Archive - Backup file indexer</h3>
|
||||
<nav aria-label="breadcrumb" role="navigation">
|
||||
<ol class="breadcrumb mt-2">
|
||||
<li class="breadcrumb-item active"><a href="index.html">Packages</a></li>
|
||||
<li class="breadcrumb-item"><a href="scripts/index.html">Scripts</a></li>
|
||||
<li class="breadcrumb-item"><a href="documents/index.html">Documents</a></li>
|
||||
<li class="breadcrumb-item"><a href="../dark/index.html">Switch to dark theme</a></li>
|
||||
</ol>
|
||||
</nav>
|
||||
<div class="mb-2 alert alert-success">
|
||||
The last update was on 25-04-2021 (38 packages).
|
||||
</div>
|
||||
<ul class="list-group">
|
||||
<li class="list-group-item"><a href="../files/ansi-gli-2.6.zip">ansi-gli-2.6.zip</a> - ANSI Greater and Less in ISO v2.6 (autoindexed).</li>
|
||||
<li class="list-group-item"><a href="../files/archive-indexer-2.1.tar.gz">archive-indexer-2.1.tar.gz</a> - Source code of archive-indexer bootstrap v2.1 (autoindexed).</li>
|
||||
<li class="list-group-item"><a href="../files/aria2-1.35.0-linux-gnu-32bit-build1.deb">aria2-1.35.0-linux-gnu-32bit-build1.deb</a> - CLI tool for multiprotocol downloads v1.35.0-linux-gnu (autoindexed).</li>
|
||||
<li class="list-group-item"><a href="../files/aria2-1.35.0-linux-gnu-32bit-build1.tar.bz2">aria2-1.35.0-linux-gnu-32bit-build1.tar.bz2</a> - CLI tool for multiprotocol downloads v1.35.0-linux-gnu-32bit-build1 (autoindexed).</li>
|
||||
<li class="list-group-item"><a href="../files/aria2-1.35.0-linux-gnu-64bit-build1.deb">aria2-1.35.0-linux-gnu-64bit-build1.deb</a> - CLI tool for multiprotocol downloads v1.35.0-linux-gnu (autoindexed).</li>
|
||||
<li class="list-group-item"><a href="../files/aria2-1.35.0-linux-gnu-64bit-build1.tar.bz2">aria2-1.35.0-linux-gnu-64bit-build1.tar.bz2</a> - CLI tool for multiprotocol downloads v1.35.0-linux-gnu-64bit-build1 (autoindexed).</li>
|
||||
<li class="list-group-item"><a href="../files/aria2-1.35.0-linux-gnu-arm-rbpi-build1.deb">aria2-1.35.0-linux-gnu-arm-rbpi-build1.deb</a> - CLI tool for multiprotocol downloads v1.35.0-linux-gnu-arm-rbpi-build1 (autoindexed).</li>
|
||||
<li class="list-group-item"><a href="../files/aria2-1.35.0-linux-gnu-arm-rbpi-build1.tar.bz2">aria2-1.35.0-linux-gnu-arm-rbpi-build1.tar.bz2</a> - CLI tool for multiprotocol downloads v1.35.0-linux-gnu-arm-rbpi-build1 (autoindexed).</li>
|
||||
<li class="list-group-item"><a href="../files/aria2bt-tools-1.2.4-all.deb">aria2bt-tools-1.2.4-all.deb</a> - Python scripts to manage aria2 BitTorrent downloads v1.2.4 (autoindexed).</li>
|
||||
<li class="list-group-item"><a href="../files/aria2bt-tools-1.2.4-all.rpm">aria2bt-tools-1.2.4-all.rpm</a> - Python scripts to manage aria2 BitTorrent downloads v1.2.4-all (autoindexed).</li>
|
||||
<li class="list-group-item"><a href="../files/aria2bt-tools-1.2.4.tar.bz2">aria2bt-tools-1.2.4.tar.bz2</a> - Python scripts to manage aria2 BitTorrent downloads v1.2.4 (autoindexed).</li>
|
||||
<li class="list-group-item"><a href="../files/aria2bt-tools-1.2.4.tar.gz">aria2bt-tools-1.2.4.tar.gz</a> - Python scripts to manage aria2 BitTorrent downloads v1.2.4 (autoindexed).</li>
|
||||
<li class="list-group-item"><a href="../files/clamTools-1.0.1.tar.bz2">clamTools-1.0.1.tar.bz2</a> - Python Command-Line tools for ClamAV v1.0.1 (autoindexed).</li>
|
||||
<li class="list-group-item"><a href="../files/clamTools-1.0.1.tar.gz">clamTools-1.0.1.tar.gz</a> - Python Command-Line tools for ClamAV v1.0.1 (autoindexed).</li>
|
||||
<li class="list-group-item"><a href="../files/drivers-linux-firmware_20210327-1_all.deb">drivers-linux-firmware_20210327-1_all.deb</a> - Updated drivers from Linux-Firmware for Debian/Ubuntu v20210327-1 (autoindexed).</li>
|
||||
<li class="list-group-item"><a href="../files/easy-samba-1.6.2-en.deb">easy-samba-1.6.2-en.deb</a> - A basic GTK (zenity) or CLI interface for Samba v1.6.2-en (autoindexed).</li>
|
||||
<li class="list-group-item"><a href="../files/easy-samba-1.6.2-en.rpm">easy-samba-1.6.2-en.rpm</a> - A basic GTK (zenity) or CLI interface for Samba v1.6.2-en (autoindexed).</li>
|
||||
<li class="list-group-item"><a href="../files/easy-samba-1.6.2-es.deb">easy-samba-1.6.2-es.deb</a> - A basic GTK (zenity) or CLI interface for Samba v1.6.2-es (autoindexed).</li>
|
||||
<li class="list-group-item"><a href="../files/easy-samba-1.6.2-es.rpm">easy-samba-1.6.2-es.rpm</a> - A basic GTK (zenity) or CLI interface for Samba v1.6.2-es (autoindexed).</li>
|
||||
<li class="list-group-item"><a href="../files/easy-samba-1.6.2.tar.gz">easy-samba-1.6.2.tar.gz</a> - A basic GTK (zenity) or CLI interface for Samba v1.6.2 (autoindexed).</li>
|
||||
<li class="list-group-item"><a href="../files/ip2e-1.3.2-all.deb">ip2e-1.3.2-all.deb</a> - Daemon to send your public IP (dynamic) by email when it is renewed v1.3.2 (autoindexed).</li>
|
||||
<li class="list-group-item"><a href="../files/ip2e-1.3.2-all.rpm">ip2e-1.3.2-all.rpm</a> - Daemon to send your public IP (dynamic) by email when it is renewed v1.3.2-all (autoindexed).</li>
|
||||
<li class="list-group-item"><a href="../files/ip2e-1.3.2.tar.bz2">ip2e-1.3.2.tar.bz2</a> - Daemon to send your public IP (dynamic) by email when it is renewed v1.3.2 (autoindexed).</li>
|
||||
<li class="list-group-item"><a href="../files/ip2e-1.3.2.tar.gz">ip2e-1.3.2.tar.gz</a> - Daemon to send your public IP (dynamic) by email when it is renewed v1.3.2 (autoindexed).</li>
|
||||
<li class="list-group-item"><a href="../files/irssi-1.2.2-win-32bit-build1.7z">irssi-1.2.2-win-32bit-build1.7z</a> - IRC Client for CLI interface v1.2.2-win-32bit-build1 (autoindexed).</li>
|
||||
<li class="list-group-item"><a href="../files/irssi-1.2.2-win-64bit-build1.7z">irssi-1.2.2-win-64bit-build1.7z</a> - IRC Client for CLI interface v1.2.2-win-64bit-build1 (autoindexed).</li>
|
||||
<li class="list-group-item"><a href="../files/ks-tools-7.2-300321-en-all.deb">ks-tools-7.2-300321-en-all.deb</a> - Tools for upload, convert and crop/mix video/audio files v7.2-300321-en (autoindexed).</li>
|
||||
<li class="list-group-item"><a href="../files/ks-tools-7.2-300321-en-all.rpm">ks-tools-7.2-300321-en-all.rpm</a> - Tools for upload, convert and crop/mix video/audio files v7.2-300321-en-all (autoindexed).</li>
|
||||
<li class="list-group-item"><a href="../files/ks-tools-7.2-300321-Linux-en.tar.gz">ks-tools-7.2-300321-Linux-en.tar.gz</a> - Tools for upload, convert and crop/mix video/audio files v7.2-300321-Linux-en (autoindexed).</li>
|
||||
<li class="list-group-item"><a href="../files/ks-tools-7.2-300321-Windows-en-x86-64.zip">ks-tools-7.2-300321-Windows-en-x86-64.zip</a> - Tools for upload, convert and crop/mix video/audio files v7.2-300321-Windows-en-x86-64 (autoindexed).</li>
|
||||
<li class="list-group-item"><a href="../files/ks-tools-7.2-300321-Windows-en-x86.zip">ks-tools-7.2-300321-Windows-en-x86.zip</a> - Tools for upload, convert and crop/mix video/audio files v7.2-300321-Windows-en-x86 (autoindexed).</li>
|
||||
<li class="list-group-item"><a href="../files/mktorrent-1.1-win-32bit-build2.7z">mktorrent-1.1-win-32bit-build2.7z</a> - A simple command line utility to create BitTorrent metainfo files v1.1-win-32bit-build2 (autoindexed).</li>
|
||||
<li class="list-group-item"><a href="../files/mktorrent-1.1-win-64bit-build2.7z">mktorrent-1.1-win-64bit-build2.7z</a> - A simple command line utility to create BitTorrent metainfo files v1.1-win-64bit-build2 (autoindexed).</li>
|
||||
<li class="list-group-item"><a href="../files/zenigrub-custom-1.4-en.deb">zenigrub-custom-1.4-en.deb</a> - A simple GTK (Zenity) interface to edit basic settings of GRUB v1.4-en (autoindexed).</li>
|
||||
<li class="list-group-item"><a href="../files/zenigrub-custom-1.4-en.rpm">zenigrub-custom-1.4-en.rpm</a> - A simple GTK (Zenity) interface to edit basic settings of GRUB v1.4-en (autoindexed).</li>
|
||||
<li class="list-group-item"><a href="../files/zenigrub-custom-1.4-es.deb">zenigrub-custom-1.4-es.deb</a> - A simple GTK (Zenity) interface to edit basic settings of GRUB v1.4-es (autoindexed).</li>
|
||||
<li class="list-group-item"><a href="../files/zenigrub-custom-1.4-es.rpm">zenigrub-custom-1.4-es.rpm</a> - A simple GTK (Zenity) interface to edit basic settings of GRUB v1.4-es (autoindexed).</li>
|
||||
<li class="list-group-item"><a href="../files/zenigrub-custom-1.4.tar.gz">zenigrub-custom-1.4.tar.gz</a> - A simple GTK (Zenity) interface to edit basic settings of GRUB v1.4 (autoindexed).</li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
3927
light/js/bootstrap.js
vendored
Normal file
3927
light/js/bootstrap.js
vendored
Normal file
File diff suppressed because it is too large
Load Diff
7
light/js/bootstrap.min.js
vendored
Normal file
7
light/js/bootstrap.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
2
light/js/jquery.min.js
vendored
Normal file
2
light/js/jquery.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
32
light/scripts/index.html
Normal file
32
light/scripts/index.html
Normal file
|
@ -0,0 +1,32 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="s" dir="ltr">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<link rel="shortcut icon" href="../ico/archive.ico">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>Archive - Scripts</title>
|
||||
<link rel="stylesheet" href="../css/bootstrap.min.css">
|
||||
<script src="../js/bootstrap.min.js"></script>
|
||||
<script src="../js/jquery.min.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<h3>Archive - Backup file indexer</h3>
|
||||
<nav aria-label="breadcrumb" role="navigation">
|
||||
<ol class="breadcrumb mt-2">
|
||||
<li class="breadcrumb-item"><a href="../index.html">Packages</a></li>
|
||||
<li class="breadcrumb-item active"><a href="index.html">Scripts</a></li>
|
||||
<li class="breadcrumb-item"><a href="../documents/index.html">Documents</a></li>
|
||||
<li class="breadcrumb-item"><a href="../../dark/index.html">Switch to dark theme</a></li>
|
||||
</ol>
|
||||
</nav>
|
||||
<div class="mb-2 alert alert-success">
|
||||
The last update was on 25-04-2021 (2 scripts).
|
||||
</div>
|
||||
<ul class="list-group">
|
||||
<li class="list-group-item"><a href="../../scripts/script-template.sh">script-template.sh</a></li>
|
||||
<li class="list-group-item"><a href="../../scripts/template.txt">template.txt</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user