now it will highlight em dashes, en dashes, and curly quotes in the entire site and it shows this note so you aren’t confused. none of these are in a keyboard (- and – — are different chars) so if it appears its most likely typed by an AI, except curly quotes since macOS by default converts straight quotes to curlies
…and more improvements
im gonna add this to stardance sitewide using the extension asw, but i first put it in the gh client only. and the other improvements are:
also fun thing: the last commit in the shown project says it adds a human readme, but with my highlighting you see that they were lying
the custom github client is at pages.tanjim.org/github.com its made because github does not support iframes. it implements most of github features like:
and you can always just open it in a new tab if you REALLY need to but the sidebar makes everything a lot faster, for obv reasons it has to be mobile responsive because the sidebar is essentially mobile sized.
i replaced the scorecard header with buttons to switch between the demo, repo and scorecard. i wrapped the entire scorecard in a <span> and put 2 more <span>s for the demo and the repo then made buttons that show the selected span and hide the others using CSS display:none. so the thing looks like this
<!--im ommitting CSS in the devlog this is not at all the full html being used-->
<div class="vote-page__layout">
<section class="vote-page__main">
<!--...whatever is here im not changing it...-->
</section>
<aside class="vote-page__aside">
<section class="class="vote-scorecard">
<header class="vote-scorecard__header">
<button>Demo</button> <button>Repo</button> <button>Scorecard</button>
</header>
<span id="scorecard-wrapper">
<!--...scorecard...-->
</span>
<span style="display: none;"> <!--unselected tabs are hidden-->
<!--...repo...-->
</span>
<span style="display: none;">
<!--...demo...-->
</span>
</section>
</aside>
</div>
i added the README and then a friend from india told me that apparently the website doesnt work in india so i actually travelled all the way to the border and managed to connect to an indian cell tower and verified that it did not work then i fixed it, i proxied the messages API through nest and added pages.tanjim.org which doesnt go through VPS now its all good.
now its done! i used agentmail for this (“coolton” is what i named the agentmail inbox, i reused an inbox i used for an older project), it works now! now when someone sends a message, all of these happen:
now it will also notify me with a sound when any message comes! if my mac is locked/i am away then it will wait until it unlocks then notify me for my messages automatically, it will also show the priority.
one limitation, it uses a flag on the server to store if it has already notified for a given message so it will not notify me twice, but because nothing is stored in the client (my macbook) it will cause problems if i make it notify on multiple devices. if i do that i have to either make the notified flag be an array for each client or i can make each client store its own flag
but regardless it works now, all that’s left is email
it notifies me on my terminal when i have messages and implements a lily cli command that i can use to manage the messages. it supports these commands
lily messages [filter]: [filter] is optional, it can be one of read unread notified unnotified or something like .id==5 or .id>=2. shows the messages matching the filter.lily mark <type> <value> <start> [end]: <type> is read or notified, <value> is a boolean, it changes the read or notified value of a message. when [end] isn’t given it defaults to <start>.lily read <start> [end]: aliases to lily mark read true <start> [end]
lily readall: marks everything as readlily delete <start> [end] deletes messages based on IDs.now it works! go to tanjim.org and send me a message!
i still need to set up the notifier and terminal stuff and email etc etc but it now works and is deployed!
i made these commits in the last 3 devlogs but i wasnt able to put it then because it hadn’t been pushed (if i pushed then the site would be in a nonfunctional intermediary state)
i made a message button and added some smoooooooth transitions for it like the email button and made the ui stuff for it, next things left to do in this