wayback
diaryman
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
wayback
-
Scraping Data From Past: A Step-by-Step Tutorial
In this tutorial, we will explore how to scrape data from the past using the Wayback Machine API. We'll be using Python and the requests library to make HTTP requests and retrieve archived versions of web pages. The code provided demonstrates a basic implementation of scraping historical data from a list of URLs within a specified date range.
-
Subdomain * wildcard search
A bit of context: I do a lot of archive digging with Apple's website. For the longest time, they hosted large files through Akamai. Most URLs looked something like this: http://a2032.g.akamai.net/5/2032/51/6cafb32dc21f74/1a1a1aaa2198c627970773d80669d84574a8d80d3cb12453c02589f25382f26493036bda4ebd305fd241a71b92f365ca/appleworks62_box.eps.hqx Unfortunately, those files shifted around from subdomain to subdomain (one period of time it was under a2032.g.akamai.net, another might be a1008.g.akamai.net) so finding all copies of a specific file was a pain in the ass. I recently learned that the IA has an API for the Wayback's Server that allows way more filtering than the web UI does. So to find every *.g.akamai.net URL they have archived, I used: http://web.archive.org/cdx/search/cdx?url=*.g.akamai.net/*
-
Managed to work with the Waybackmachine-API to get a backup of a much loved site
For the following step, you will need the Wayback Machine's CDX API, the documentation is here:https://github.com/internetarchive/wayback/tree/master/wayback-cdx-serverHowever, please note that there are errors in the documentation regarding the regex filtering syntax.
-
Take More Screenshots
archive.org geocities scrapes go back to 1996, so it is plausible it could have survived:
https://web.archive.org/cdx/search/cdx?url=geocities.com&mat...
If you ever remember any of the details, the CDX API can probably help.
https://github.com/internetarchive/wayback/blob/master/wayba...
- Is there any way to go further into results for pages with more than 10,000 captures?
-
Ask HN: How do RSS readers handle items missing pubDates?
Query the Internet Archive’s CDX server for this info.
https://github.com/internetarchive/wayback/blob/master/wayba...
-
Web scraping from https://web.archive.org/ (wayback machine)
Archive.org has a cdx server you can quickly request information from: https://github.com/internetarchive/wayback/tree/master/wayback-cdx-server
-
Possible to download a file from archive.org?
Are the contents of these WARCs available as part of the Wayback Machine itself? If so, you might be able to use the CDX server to discover and download the content.
- Wayback Machine Downloader – Download an Entire Website from the Wayback Machine
-
easy way to get images off wayback machine?
Wayback API to get a list of all versions of the page (https://github.com/internetarchive/wayback/tree/master/wayback-cdx-server#basic-usage).
diaryman
-
Plain Text Journaling in Vim
Shameless plug of basically the same idea except as a pip package:
https://github.com/Aperocky/diarycli
`pip install diarycli`
Alternatively there is a shell version if you are averse to python/pip package manager as well:
https://github.com/Aperocky/diaryman/blob/master/diaryman.sh
I've been using this for years, it doesn't have any fancy features - it only reliably opens up/create today's diary in vim whenever I type `diary` in command line. with some minor utilities.
-
The power of keeping a coding journal (2014)
Shameless plug on the same subject if you are vim user fond of terminal:
https://github.com/Aperocky/diarycli
`pip install diarycli`
Alternatively there is a shell version if you are averse to python/pip package manager as well:
https://github.com/Aperocky/diaryman/blob/master/diaryman.sh
The only way I can get myself to write things down is to have it one commands away in the terminal.
-
Ask HN: Small scripts, hacks and automations you're proud of?
Diary script.
`$ diary` create/open a file for today's diary in vim: https://github.com/Aperocky/diaryman/blob/master/diaryman.sh
Or try `pip install diarycli`: https://github.com/Aperocky/diarycli, for a pip packaged python version that does the exact same thing.
I've actually kept diary and work logs, things I did not know I was capable of.
-
Show HN: Diarycli
Having had good usage and some positive feedback on https://github.com/Aperocky/diaryman/blob/master/diaryman.sh, I decided to pack it into a pip package.
Essentially, all this does is to make creating diary super simple in the CLI, and resulting diary organized in a nice /diary/year/month/date.md hierarchy.
Having used this for a few years, I find this tool indispensable - I was never able to write diary consistently but once it was available via `diary` it became nature to utilize this to manage daily tasks at work and write personal reflections at home.
-
Take More Screenshots
> For example, my oldest files were made in Microsoft Word on an iMac G3 running Mac OS 9. I can open them in a modern word processor, and they look similar – but it’s not the same. Some of the fonts and graphics are missing, and I don’t know where I’d find replacements.
> It’s even harder for an undocumented side project I abandoned years ago. Having the code isn’t the same as a working application.
The author's solution to this is apparently screenshots, I have to respectfully disagree.
For software, side project or not, it should probably come with dependency configurations (granted, in early 2000s this isn't as mature as it is today) and some tests. My side projects basically all have tests, these tests are vital for picking up years later and for validation while developing.
For personal notes, I use this script which upon `$ diary` would create/open an entry for the current day in the appropriate folder with vim: https://github.com/Aperocky/diaryman/blob/master/diaryman.sh. Text files will last forever, it has some basic flavoring with markdown, but that's it. The folder where this is indexed is without a doubt the most valuable data on my computer, and it stretches back years.
I do occasionally take screenshots but never for reasons that author find screenshot to be useful for.
-
Writing down what I do – in Obsidian
For the unix fundamentalist out here:
https://github.com/Aperocky/diaryman/blob/master/diaryman.sh
I had this little script aliased from shell, whenever I type `diary` it creates/open the current days' note file in vim.
-
Notes Against Note-Taking Systems
Here's my note taking system: https://github.com/Aperocky/diaryman/blob/master/diaryman.sh
Whenever I type `diary` in the terminal, it opens vim on a text file that corresponds to today. All of the diary files are nicely ordered in directory structure that goes $DIARY_ROOT/$year/$month/$day.md
It worked very well for me over years.
- Work life balance
What are some alternatives?
wayback-machine-spn-scripts - Bash scripts which interact with Internet Archive Wayback Machine's Save Page Now
zettelkasten - Creating notes with the zettelkasten note taking method and storing all notes on github
ArchiveBox - 🗃 Open source self-hosted web archiving. Takes URLs/browser history/bookmarks/Pocket/Pinboard/etc., saves HTML, JS, PDFs, media, and more...
obsidian-template - Starter templates for Obsidian
savepagenow - A simple Python wrapper and command-line interface for archive.org’s "Save Page Now" capturing service
Joplin - Joplin - the secure note taking and to-do app with synchronisation capabilities for Windows, macOS, Linux, Android and iOS.
waybackpack - Download the entire Wayback Machine archive for a given URL.
diarycli - diaryman.sh as pip package
warrick - Recover lost websites from the Web Infrastructure
n4m-examples - Repository of examples using Node For Max authored by Cycling '74
wayback-machine-downloader - Download an entire website from the Wayback Machine.
litestream - Streaming replication for SQLite.