Commit graph

39 commits

Author SHA1 Message Date
0249bccd9f
Update URL for Private.coffee's hosted instance
The README documentation has been updated to reflect the change in URL for the front-end alternative provided by Private.coffee. The updated link points to the new correct domain.
2024-01-17 18:30:24 +01:00
c8cb88e3b7
Rebrand project from Indestructables to Structables
Updated the project name and references across various files, including README, template headers, and footers to reflect the rebranding from 'Indestructables' to 'Structables'. The favicon has been removed, and the main logo updated to align with the new branding. The commit modifies links to the source code repository as part of rebranding efforts. This change creates a clear distinction from the upstream project while maintaining acknowledgments to the original sources.
2024-01-17 17:01:35 +01:00
232a1504fb
Update .gitignore and enhance project structure
- Add 'privacy.txt' to .gitignore to prevent checking it in
- Refactor data storage from arrays to dictionaries for better data handling in 'main.py'
- Include 'pathlib' import for handling filesystem paths
- Introduce new CSS and Bootstrap files providing updated styles and responsive design elements
- Modify HTML templates to use updated data structures and enhance accessibility

These changes improve code readability, maintain project consistency, and enhance the front-end presentation. This work is part of ongoing efforts to better manage project data, secure sensitive information, and provide a more robust user interface.
2024-01-17 16:43:51 +01:00
f60494af6e
Removed Selenium dependency from Indestructables
Enhanced the Indestructables fork by eliminating its reliance on Selenium and Playwright's Chromium binary. This change streamlines the setup process and potentially improves performance and stability. Additionally, a new matrix room link has been added to the README for community engagement. Related project licenses reiterated for clarity.
2024-01-16 17:18:47 +01:00
29592de90a
Refactor data fetching logic using stdlib
Removed dependencies on external libraries such as `requests`, `requests-html`, and `playwright` in favor of Python's standard libraries like `urllib` for HTTP requests and parsing functionality. A more robust and efficient data update function was introduced to scrape API keys and fetch project data using Typesense. Transitioned from a manual browser-based scraping approach to an API-based one for improved stability and performance. Added logging for better monitoring and debuggability. Error-handling now leverages `HTTPError` from `urllib.error`. Shifted the configuration of debug mode to rely on an environment variable, aligning with Twelve-Factor principles. Removed unused functions and streamlined the handling of various routes within the Flask app. This change shifts the project towards a more maintainable code base by using built-in libraries, reduces external dependencies, and improves resilience and scalability of the web scraping components.
2024-01-16 17:13:59 +01:00
d269a9992e Merge branch '3-so-there-s-another-upstream' into 'main'
License/Upstream link fixes

Closes #3

See merge request PrivateCoffee/indestructables!1
2023-07-19 06:28:04 +00:00
e09497f471
Improve error handling 2023-07-19 08:26:45 +02:00
9e6fa4501d
Add Destructables mention 2023-07-19 08:25:41 +02:00
9807d0fba5
Merge remote-tracking branch 'upstream/main'
Replace Font Awesome Pro icon with free version
2023-06-04 08:06:54 +02:00
snowcatridge10
2798786f51 update data on startup 2023-06-03 19:16:16 -04:00
snowcatridge10
ee274a7df7 Add privacy policy 2023-06-03 18:31:55 -04:00
snowcatridge10
e9b2928299 Add chromedrivermanager 2023-06-03 18:14:29 -04:00
snowcatridge10
499f0e9cbb add cronjob text file 2023-06-03 17:44:44 -04:00
snowcatridge10
3d1a1f6971 commit 2023-06-03 17:27:48 -04:00
063f4cc427
Merge remote-tracking branch 'upstream/main' 2023-06-03 23:04:34 +02:00
snowcatridge10
01622a6e9e oops 2023-06-03 12:38:20 -04:00
snowcatridge10
2fc73446b7 add instances link 2023-06-03 12:37:26 -04:00
snowcatridge10
bc18d42911 Add docker-compose 2023-06-03 11:42:49 -04:00
snowcatridge10
7ad40d8825 fix formating 2023-06-03 11:39:59 -04:00
snowcatridge10
fcecd19710 add docker 2023-06-03 11:36:06 -04:00
snowcatridge10
4fa9b1586b commit 2023-06-03 09:50:44 -04:00
75ec8b961f
Add cron endpoint to update global_ibles 2023-06-03 09:46:28 +02:00
fbb0fea2d5
Update upstream URL 2023-06-02 20:49:24 +02:00
01cccdeb20
Add Private.coffee instance to instance list 2023-06-02 20:48:39 +02:00
64bcc97e80
Shouldn't use internal URLs here, eh? 2023-06-02 15:38:48 +00:00
823a44f664
Replaced selenium with playwright
Fixed requirements
Added source links to footer
2023-06-02 14:02:40 +00:00
snowcatridge10
3b6d0984b1 add link to docs for running your own instance 2023-06-02 08:27:40 -04:00
snowcatridge10
86e9064bcb Add Website 2023-06-02 08:15:08 -04:00
snowcatridge10
f10143a126 change readme 2023-06-02 08:11:59 -04:00
snowcatridge10
cafb41ff75 fix badge 2023-06-02 08:04:14 -04:00
snowcatridge10
d8bfaf00df Add badge to matrix 2023-06-02 08:00:04 -04:00
snowcatridge10
586b916ed5 add new line 2023-06-01 19:25:13 -04:00
snowcatridge10
e836c82296 add matrix 2023-06-01 19:24:44 -04:00
snowcatridge10
b9a3f6e1af change wording 2023-06-01 17:32:42 -04:00
snowcatridge10
ca6919f039 add logo 2023-06-01 17:32:04 -04:00
snowcatridge10
eec84b2d06 Fix Markdown 2023-06-01 17:31:10 -04:00
snowcatridge10
3fee494ff3 center title and description 2023-06-01 17:30:41 -04:00
snowcatridge10
0ada59078b change logo to favicon 2023-06-01 17:27:58 -04:00
snowcatridge10
31f9bf6c2b first commit 2023-06-01 17:25:13 -04:00