-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 2cd3d61
Showing
79 changed files
with
3,688 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
.idea/ | ||
vendor/ | ||
output/*.pdf |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
|
||
# Supernote A6X Planner | ||
|
||
![An Opinionated Super A6X Planner](images/image1.png) | ||
![Squeeze out all available spaces](images/image2.png) | ||
![Navigate from anywhere](images/image3.png) | ||
![Full Year Calendar](images/image4.png) | ||
![Monthly Calendar](images/image5.png) | ||
![Monthly Calendar](images/image6.png) | ||
![Weekly Calendar](images/image7.png) | ||
![Weekly Calendar](images/image8.png) | ||
![Daily Calendar](images/image9.png) | ||
![Daily Calendar](images/image10.png) | ||
![Individual Indexed Note](images/image11.png) | ||
![Individual Indexed List](images/image12.png) | ||
![Individual Indexed Events](images/image13.png) | ||
|
||
## Rationale | ||
|
||
I just wanted a PDF Planner specifically designed for 7.8" screen | ||
instead designed for 10.3" (A5) and scaled down. I want to be able | ||
to use the planner without having to zoom in or out, or use the | ||
half-page viewing feature. | ||
|
||
I only know two A6X-specific planner, one by ePaperTemplate and | ||
another by LinesAndDesign. The former I find it hard to use with | ||
small link target box, and the later is still very small. | ||
|
||
I would have love the My Daily Organiser, except it's very small | ||
and the 2023 version is even smaller because they were designed | ||
to handle Supernote Toolbar in all location. So my design only | ||
allow top toolbar. | ||
|
||
The unique feature of this planner is the "Event" section. I | ||
use them to keep track of local event occurring around me. | ||
I noted down the one I might be interested, and when I have time | ||
I just look through the list to see where I should go on my | ||
day off. | ||
|
||
This is revision 3 of my design, and the one | ||
I feel is good enough to share. Enjoy. | ||
|
||
## Building | ||
|
||
See `make-planner.php` and `build.php` for other configurations. | ||
More common configurations are available in Release section. | ||
|
||
## License | ||
|
||
The code and planner file are licensed under AGPL-3.0 license. | ||
|
||
## Attribution | ||
|
||
The icon in the planner has been designed using resources from Flaticon.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
<?php | ||
|
||
$YEAR = 2022; | ||
|
||
function make_regular_year($year): string | ||
{ | ||
return strval($year - 1) . '-12 ' . strval($year + 1) . '-3'; | ||
} | ||
|
||
function make_school_year($year): string | ||
{ | ||
return strval($year) . '-7 ' . strval($year + 1) . '-10'; | ||
} | ||
|
||
$languages = ['en']; | ||
$option_names = [ | ||
['sunday', 'monday'], | ||
['dot', 'lined'], | ||
['200', '40'], | ||
['24hr', '12hr'], | ||
['day', 'night'], | ||
]; | ||
|
||
foreach ($languages as $lang) { | ||
for ($i = 0; $i < 1 << 5; $i ++) { | ||
if (($i & 1) === 1 || ($i >> 1 & 1) === 1 || ($i >> 2 & 1) === 1) { | ||
// Only do more common config | ||
continue; | ||
} | ||
|
||
$options = sprintf("%05b", $i); | ||
$name = []; | ||
for ($j = 0; $j < 5; $j++) { | ||
$name[] = $option_names[$j][intval($options[$j])]; | ||
} | ||
|
||
$filename = 'Planner.' . implode('.', $name) . '.school-' . strval($YEAR) . '.' . $lang . '.pdf'; | ||
$cmd = 'php make-planner.php ' . $lang . ' ' . $options . ' ' . make_school_year($YEAR) . ' "Planner" "School-' . strval($YEAR) . '" ' . $filename; | ||
echo $cmd, "\n"; | ||
system($cmd); | ||
|
||
$filename = 'Planner.' . implode('.', $name) . '.' . strval($YEAR) . '.' . $lang . '.pdf'; | ||
$cmd = 'php make-planner.php ' . $lang . ' ' . $options . ' ' . make_regular_year($YEAR) . ' "Planner" "' . strval($YEAR) . '" ' . $filename; | ||
echo $cmd, "\n"; | ||
system($cmd); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"name": "innocenat/planner-generator", | ||
"description": "A PHP script for generating linked PDF planner for e-ink tablet.", | ||
"minimum-stability": "stable", | ||
"license": "GPL-3.0-or-later", | ||
"authors": [ | ||
{ | ||
"name": "innosu", | ||
"email": "[email protected]" | ||
} | ||
], | ||
"require": { | ||
"tecnickcom/tcpdf": ">=6.5.0", | ||
"jrmajor/fluent": "^0.4.1" | ||
} | ||
} |
Oops, something went wrong.