I've spent some time the past week building an archive project for TD. I wanted to share the progress so far, high level, share some screen shots, and get some feedback. Below is the README from the project. The code will be on our github once we start publishing offline copies.
README
In an effort to preserve posts and show our backups are working, we've created a static site generator that will periodically generate an offline version that can be publicly archived.
It will archive:
README
In an effort to preserve posts and show our backups are working, we've created a static site generator that will periodically generate an offline version that can be publicly archived.
It will archive:
- Public posts
- Public profile posts
- Profiles not marked as public
- Person to Person conversations
- Any forums that require login:
- Trading posts, moderation posts, site admin posts, etc
- Any sensitive or private data
Formats
HTML
Simple HTML that should render on any vintage browser.JSON
A structured json file of the posts is also included. One could use this to build a full text search offline.HyperCard
An ASCII version that is compatible with HyperCard is included along with Stack to read.To Do:
- How to handle images/videos
- How to handle attachments
- A way to inject style if wanted
- Use a template engine instead of hard coding HTML?
Attachments
-
Screen Shot 2021-11-05 at 9.16.24 AM.png15.9 KB · Views: 99
-
Screen Shot 2021-11-05 at 9.19.17 AM.png33.6 KB · Views: 89
-
Screen Shot 2021-11-05 at 9.19.02 AM.png25.9 KB · Views: 90
-
Screen Shot 2021-11-05 at 9.18.54 AM.png5.4 KB · Views: 103
-
Screen Shot 2021-11-05 at 9.18.49 AM.png18.2 KB · Views: 87
-
Screen Shot 2021-11-05 at 9.17.14 AM.png22.8 KB · Views: 86
-
Screen Shot 2021-11-05 at 9.16.57 AM.png34.5 KB · Views: 82