diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md
index c4b9122..ce6175d 100644
--- a/.github/CONTRIBUTING.md
+++ b/.github/CONTRIBUTING.md
@@ -17,7 +17,7 @@ Before submitting a bug report, check if the issue is already reported in the [I
We welcome suggestions for new features or enhancements. Use the [Issues](https://github.com/aceinnolab/Inkycal/issues) section to submit your ideas, and provide as much detail as possible.
### Third party modules
-So you had a great idea for an inkycal-module? Awesome! In fact, there is already a repo sepcfifically created for that purpose: [inkycal-modules-template](https://github.com/aceisace/inkycal-modules-template). Just fork that repo, add your module and give me a shout via Discord, Github or Email.
+So you had a great idea for an inkycal-module? Awesome! In fact, there is already a repo sepcfifically created for that purpose: [inkycal-modules-template](https://github.com/aceinnolab/inkycal-modules-template). Just fork that repo, add your module and give me a shout via Discord, Github or Email.
### Pull Requests
diff --git a/.github/workflows/greetings.yml b/.github/workflows/greetings.yml
index cf94d17..4434783 100644
--- a/.github/workflows/greetings.yml
+++ b/.github/workflows/greetings.yml
@@ -12,5 +12,5 @@ jobs:
- uses: actions/first-interaction@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- issue-message: "Hi there and welcome to Inkycal. Thanks for opening this issue. As this is your first issue in this repository, please read through the [contributing guidelines](https://github.com/aceisace/Inkycal/blob/main/.github/CONTRIBUTING.md)"
- pr-message: "Hi there and welcome to Inkycal. Thanks for opening this issue. As this is your first Pull-Request in this repository, please read through the [contributing guidelines](https://github.com/aceisace/Inkycal/blob/main/.github/CONTRIBUTING.md). Please note that non-critical pull-request cannot be merged into the main branch to ensure stability. Please create a new branch and ask to have it merged into main. Thanks for your understanding."
+ issue-message: "Hi there and welcome to Inkycal. Thanks for opening this issue. As this is your first issue in this repository, please read through the [contributing guidelines](https://github.com/aceinnolab/Inkycal/blob/main/.github/CONTRIBUTING.md)"
+ pr-message: "Hi there and welcome to Inkycal. Thanks for opening this issue. As this is your first Pull-Request in this repository, please read through the [contributing guidelines](https://github.com/aceinnolab/Inkycal/blob/main/.github/CONTRIBUTING.md). Please note that non-critical pull-request cannot be merged into the main branch to ensure stability. Please create a new branch and ask to have it merged into main. Thanks for your understanding."
diff --git a/README.md b/README.md
index 10bc1d9..24d8cc5 100644
--- a/README.md
+++ b/README.md
@@ -270,10 +270,60 @@ With your setup being complete at this stage, you may want to 3d-print a case. T
friendly community:
[3D-printable case](https://github.com/aceinnolab/Inkycal/wiki/3D-printable-files)
+## Directory structure
+```tree
+├── __init__.py
+├── custom (custom functions of Inkycal are inside here)
+│ ├── __init__.py
+│ ├── functions.py
+│ ├── inkycal_exceptions.py
+│ └── openweathermap_wrapper.py
+├── display (display drivers and functions)
+│ ├── __init__.py
+│ ├── display.py (this file acts like a wrapper for the display drivers)
+│ ├── drivers (actual driver files are inside here)
+│ │ ├── epd_7_in_5_colour.py (7.5" display driver). Each supported display has it's own driver
+│ │ └── parallel_drivers (parallel display drivers, e.g. 9.7", 10.2" etc.)
+│ ├── supported_models.py (this file contains the supported display models and is used to check which displays are supported)
+│ └── test_display.py (a dummy driver which does not require a display to be attached)
+├── fonts (fonts used by Inkycal are located here)
+│ ├── NotoSansUI
+│ ├── ProFont
+│ └── WeatherFont
+├── loggers.py (logging functions)
+├── main.py (main file to run Inkycal)
+├── modules (inkycal modules, e.g. calendar, weather, stocks etc.)
+│ ├── __init__.py
+│ ├── dev_module.py (a dummy module for development)
+│ ├── ical_parser.py (parses icalendar files, not strictly a module, but helper class)
+│ ├── inky_image.py (module to display images)
+│ ├── inkycal_agenda.py (agenda module)
+│ ├── inkycal_calendar.py (calendar module)
+│ ├── inkycal_feeds.py (feeds module)
+│ ├── inkycal_fullweather.py (full-weather module)
+│ ├── inkycal_image.py (image module)
+│ ├── inkycal_jokes.py (jokes module)
+│ ├── inkycal_server.py (module for inkycal-server, by third party)
+│ ├── inkycal_slideshow.py (slideshow module)
+│ ├── inkycal_stocks.py (stocks module - credit to @worstface)
+│ ├── inkycal_textfile_to_display.py (module to display text files)
+│ ├── inkycal_tindie.py (tindie module)
+│ ├── inkycal_todoist.py (todoist module)
+│ ├── inkycal_weather.py (weather module)
+│ ├── inkycal_webshot.py (webshot module - credit to @worstface)
+│ ├── inkycal_xkcd.py (xkcd module - credit to @worstface)
+│ └── template.py (template module)
+├── settings.py (settings for Inkycal)
+└── utils (utility functions)
+ ├── __init__.py
+ ├── json_cache.py
+ └── pisugar.py (PiSugar driver)
+```
+
## Contributing
All sorts of contributions are most welcome and appreciated. To start contributing, please follow
-the [Contribution Guidelines](https://github.com/aceisace/Inkycal/blob/main/.github/CONTRIBUTING.md)
+the [Contribution Guidelines](https://github.com/aceinnolab/Inkycal/blob/main/.github/CONTRIBUTING.md)
The average response time for issues, PRs and emails is usually 24 hours. In some cases, it might be longer. If you want
to have some faster responses, please use Discord (link below)
@@ -286,7 +336,7 @@ We're happy to help, to beginners and developers alike. In fact, you are more li
than on GitHub.
-
+
## Sponsoring
@@ -325,5 +375,5 @@ perks after confirming 💯
## Our Contributors
-
+
diff --git a/docs/_sources/about.md.txt b/docs/_sources/about.md.txt
index c3ceb43..dd7b97d 100644
--- a/docs/_sources/about.md.txt
+++ b/docs/_sources/about.md.txt
@@ -1,5 +1,5 @@
# About Inkycal
-
+
Inkycal is a python3 software for selected E-Paper displays.
It's open-source (non-commercially), fully modular, user-friendly and even runs
diff --git a/docs/_sources/index.rst.txt b/docs/_sources/index.rst.txt
index 2debc9d..d8fcaed 100644
--- a/docs/_sources/index.rst.txt
+++ b/docs/_sources/index.rst.txt
@@ -5,7 +5,7 @@
Inkycal documentation
======================
-.. image:: https://raw.githubusercontent.com/aceisace/Inkycal/assets/Repo/logo.png
+.. image:: https://raw.githubusercontent.com/aceinnolab/Inkycal/assets/Repo/logo.png
:alt: logo
.. toctree::
diff --git a/docs/_sources/inkycal.rst.txt b/docs/_sources/inkycal.rst.txt
index 4ab9037..45c6bf1 100644
--- a/docs/_sources/inkycal.rst.txt
+++ b/docs/_sources/inkycal.rst.txt
@@ -1,4 +1,4 @@
-.. image:: https://raw.githubusercontent.com/aceisace/Inkycal/assets/Repo/logo.png
+.. image:: https://raw.githubusercontent.com/aceinnolab/Inkycal/assets/Repo/logo.png
:alt: logo
:align: center
diff --git a/docs/_sources/quickstart.md.txt b/docs/_sources/quickstart.md.txt
index bc0078c..864af45 100644
--- a/docs/_sources/quickstart.md.txt
+++ b/docs/_sources/quickstart.md.txt
@@ -17,7 +17,7 @@ pip3 install -e ./
```
## Creating settings file
-Please navigate to the [WEB-UI](https://aceisace.eu.pythonanywhere.com/index) to create your settings file.
+Please navigate to the [WEB-UI](https://inkycal.aceinnolab.com/ui) to create your settings file.
Copy the generated settings file to the Raspberry Pi
more coming soon..
diff --git a/docs/about.html b/docs/about.html
index 1adec59..da88ba3 100644
--- a/docs/about.html
+++ b/docs/about.html
@@ -82,7 +82,7 @@
About Inkycal
-
Inkycal is a python3 software for selected E-Paper displays.
+
Inkycal is a python3 software for selected E-Paper displays.
It’s open-source (non-commercially), fully modular, user-friendly and even runs
well even on the Raspberry Pi Zero. Inkycal even has a web-UI which takes
care of adding your details! No more editing files, Yay :partying_face:
diff --git a/docs/index.html b/docs/index.html
index 05ba2c8..a40507d 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -81,7 +81,7 @@
Inkycal documentation
-
+
Contents:
diff --git a/docs/inkycal.html b/docs/inkycal.html
index fb5f2d3..ae4d506 100644
--- a/docs/inkycal.html
+++ b/docs/inkycal.html
@@ -123,7 +123,7 @@
-

+
Inkycal
Main class for inkycal Project
diff --git a/docs/quickstart.html b/docs/quickstart.html
index be927d0..4368c41 100644
--- a/docs/quickstart.html
+++ b/docs/quickstart.html
@@ -102,7 +102,7 @@ pip3 install -e
Creating settings file
-Please navigate to the WEB-UI to create your settings file.
+Please navigate to the WEB-UI to create your settings file.
Copy the generated settings file to the Raspberry Pi
more coming soon..
diff --git a/docsource/about.md b/docsource/about.md
index c3ceb43..dd7b97d 100644
--- a/docsource/about.md
+++ b/docsource/about.md
@@ -1,5 +1,5 @@
# About Inkycal
-

+

Inkycal is a python3 software for selected E-Paper displays.
It's open-source (non-commercially), fully modular, user-friendly and even runs
diff --git a/docsource/quickstart.md b/docsource/quickstart.md
index bc0078c..36100f6 100644
--- a/docsource/quickstart.md
+++ b/docsource/quickstart.md
@@ -17,7 +17,7 @@ pip3 install -e ./
```
## Creating settings file
-Please navigate to the [WEB-UI](https://aceisace.eu.pythonanywhere.com/index) to create your settings file.
+Please navigate to the [WEB-UI](https://inkycal.aceinnolab.com) to create your settings file.
Copy the generated settings file to the Raspberry Pi
more coming soon..
diff --git a/inkycal/modules/inkycal_textfile_to_display.py b/inkycal/modules/inkycal_textfile_to_display.py
index dc36ad1..cc7bff3 100644
--- a/inkycal/modules/inkycal_textfile_to_display.py
+++ b/inkycal/modules/inkycal_textfile_to_display.py
@@ -78,13 +78,17 @@ class TextToDisplay(inkycal_module):
with open(self.filepath, 'r') as file:
file_content = file.read()
- fitted_content = text_wrap(file_content, font=self.font, max_width=im_width)
+ # Split content by lines if not making a request
+ if not self.make_request:
+ lines = file_content.split('\n')
+ else:
+ lines = text_wrap(file_content, font=self.font, max_width=im_width)
# Trim down the list to the max number of lines
- del fitted_content[max_lines:]
+ del lines[max_lines:]
# Write feeds on image
- for index, line in enumerate(fitted_content):
+ for index, line in enumerate(lines):
write(
im_black,
line_positions[index],
diff --git a/setup.py b/setup.py
index e120a94..934af0e 100644
--- a/setup.py
+++ b/setup.py
@@ -17,7 +17,7 @@ __version__ = "2.0.4"
__description__ = "Inkycal is a python3 software for syncing icalendar events, weather and news on selected E-Paper displays"
__packages__ = ["inkycal"]
__author__ = "aceinnolab"
-__author_email__ = "aceisace63@yahoo.com"
+__author_email__ = "inkycal@aceinnolab.com"
__url__ = "https://github.com/aceinnolab/Inkycal"
__install_requires__ = required