summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2025-09-04Wrap all commit messages with fmtBen Sima
Sometimes aider will write commit messages without wrapping them at 80 chars, and then the commit fails the gitlint hook, and aider can't finish the commit. To fix this I can just auto-wrap before we check it.
2025-09-04Add Job Cancellation Feature for Pending Queue ItemsBen Sima
Implement user-initiated job cancellation for pending queue items. This includes adding a cancel button to pending jobs, creating a new endpoint to handle cancellation, updating the queue status view, and adding comprehensive tests to ensure proper functionality and security.
2025-09-04Add Metadata Extraction for Podcast QueueBen Sima
This commit adds support for extracting title and author metadata from URLs when adding articles to the podcast queue. It includes database schema changes, migration logic, and UI updates to display the extracted metadata.
2025-09-03Add Environment-Aware Database Path HandlingBen Sima
2025-09-03Add Admin Whitelist and Access ControlBen Sima
Implement admin access control by introducing an email whitelist and restricting admin-only pages. Added an `is_admin()` function to check user permissions and modified admin queue status view to only allow whitelisted users. Includes error handling for unauthorized access.
2025-09-03Refactor Admin View for HTMX Auto-UpdateBen Sima
2025-09-03Rename "/queue-status" route to "/admin"Ben Sima
2025-08-30Switch to nixos-unstable branchBen Sima
According to Claude, the nixos-unstable branch has more stuff in it's binary cache than nixos-unstable-small. Idk, let's try it and find out.
2025-08-28Remove email submission featureBen Sima
This requires either setting up my mailserver or signing up with Mailgun, and honestly I don't need either of those things right now. Just use the web submission, I can add the email submission feature later.
2025-08-28Prototype PodcastItLaterBen Sima
This implements a working prototype of PodcastItLater. It basically just works for a single user currently, but the articles are nice to listen to and this is something that we can start to build with.
2025-08-28Add instructions for PodcastItLaterBen Sima
This is a guiding architecture doc for aider.
2025-08-28Fix boolean in ai linterBen Sima
If there are no lints to fix, this should just exit without starting aider.
2025-08-28Add typecheck.sh with Python supportBen Sima
This runs a repl and calls mypy to typecheck the given target. Not only is this *much* faster than using bild to typecheck stuff, but it also produces less noise in the logs, so I can have aider call this and the output won't overwhelm the llm.
2025-08-28Let's try not enforcing commit bodies for a whileBen Sima
2025-08-28Include summary in mypy build outputBen Sima
This is actually useful because nix only shows the last 25 log lines, so I'd like to know how deep the problems go with a summary.
2025-08-28Don't put colored output in bild mypy checkBen Sima
The colored output is not decoded by the nix log accumulator, so you just get these control characters. Get rid of them for more readable output.
2025-07-28Package kerykeion and swiss ephemerisBen Sima
This took quite a bit of work to package, and it's not a perfect package, but I think it will do to get Biz/Astrologer.py working.
2025-07-26Add dmarc@ mailboxBen Sima
This needs to be a separate mailbox so I don't get a bunch of dmarc reports in my inbox.
2025-07-26Don't prune the bitcoin blockchainBen Sima
I think storage is not a problem, and not having all the transactions means I might not get the correct balance if the wallet has really old transactions (I think).
2025-07-26Add ailint scriptBen Sima
This just fixes my lint errors for me which is awesome. Very useful.
2025-06-14Add ailint scriptBen Sima
This just fixes my lint errors for me which is awesome. Very useful.
2025-06-13Add systemd service and timer for open-webui updatesBen Sima
Introduce a new systemd service that pulls the latest open-webui Docker image and restarts the associated container. This ensures that the application is always running the most recent version. Additionally, a timer is added to schedule this update process to occur every Sunday at 3 AM, automating the maintenance of the service without manual intervention. This change enhances the reliability and freshness of the application deployment.
2025-06-13Remove syncthing subdomainBen Sima
This domain is not actually useful.
2025-06-13Re-enable datasette, llm, and aiderBen Sima
I had to update nixos-unstable-small and nixos-24_11 and disable a bunch of tests, and then re-compile like the whole world, but aider is actually working, finally.
2025-06-13Add aider api key as environment variableBen Sima
This is so I don't have to specify it at the command line anymore, which is becoming cumbersome.
2025-06-13Add Open Web UI AI Chat Container and Nginx ProxyBen Sima (aider)
Introduce a new container definition for the Open Web UI AI Chat service in `OpenWebui.nix`, specifying its Docker image, volume, and environment variables. This change includes the addition of a new port in `Ports.nix` to facilitate communication with the service. Furthermore, configure Nginx to serve the AI Chat application by adding a new virtual host entry in `Web.nix`, ensuring SSL is enforced and websocket support is enabled. This setup allows for a seamless integration of the AI Chat service into the existing infrastructure, improving accessibility and security.
2025-06-13Remove mail.bensima.com from allowed hosts listBen Sima
This change removes "mail.bensima.com" from the list of allowed hosts in the Web.nix configuration. The removal is likely due to a decision to restrict access or because the mail service is no longer in use. This helps to tighten security and ensure that only necessary hosts are permitted.
2025-06-13Fix admin xmpp usernameBen Sima
This was the old username.
2025-06-13Add nix-community.cachix substituter everywhereBen Sima
Not sure if this will help but I figure one more substituter can't hurt.
2025-06-13Disable timeout for CI buildsBen Sima
Basically every time I try to run CI it times out, so just disable timeout on CI jobs for now.
2025-05-22Add TestCase to Omni.TestBen Sima
Also improves the Example.py a bit with a real test case and example of how to use Omni.Test.
2025-05-22Solidify Kensington trackball settingsBen Sima
I have this script I have to run on startup that sets these interactively, which is fine, but I haven't changed this script in like 3 years so lets just make it permanent at this point.
2025-05-19Add obs-do and remove helvumBen Sima
obs-do is a command line tool fro controlling obs over a socket, I plan to use it for keyboard-driven automations. Helvum is just not necessary, qpwgraph is better anyway.
2025-05-09Reduce mic capture channelsBen Sima
I think this was causing feedback from my microphone.
2025-05-09Adjust BudgetReport promptBen Sima
This will have to evolve over time. Also I'm sending it to my iCloud address so I can read it on my phone as well.
2025-05-08Fix CI check in .envrcBen Sima
Doh. Can't believe I let this go for so long, what a dumb mistake.
2025-05-07Live audio setupBen Sima
This does all of the audio routing stuff that I need to combine my mic audio with application audio into a virtual source that meeting software or OBS can select as an input source. This way I can share what I'm listening to or watching in a meeting. I think the routes are not quite correct, and I'm not sure that the `context.exec` is even a reliable way to setup the routes. I've also been using `qpwgraph` to visually setup the routes, and that's helpful. I'll tweak this as needed over time.
2025-05-07Add my user to audio and videoBen Sima
This is needed to use the OBS virtual camera thing.
2025-05-07Switch Python to unstable and add pydantic-aiBen Sima
Pydantic-ai is an agent framework that seems simple and good: well-typed with pydantic, tool usage is just an `@tool` decorator on a function, and so on. While building these I realized there were some deps they needed that were already in nixpkgs unstable, so I just switched to that instead of trying to backport all the versions and stuff.
2025-05-01Enable OBS Studio with virtual cameraBen Sima
This adds a kernel module that allows the virtual camera to work. https://nixos.wiki/wiki/OBS_Studio
2025-05-01Enable pcscdBen Sima
I need this to make my yubikey work.
2025-04-29Simple budget reportBen Sima
This isn't an agent yet but it shows the power of just `llm` - I'll need to work on the full agent framework next.
2025-04-28Set TMPDIRBen Sima
This is useful for doing `mktemp --tmpdir`, especially during testing, so all of the tmpdirs go into a nearby location that I can wipe when I'm done.
2025-04-28Create EmailAgentBen Sima
I intend this to be a utility that agents or other automated jobs can use to send emails. EmailAgent isn't the right name... its really more of an LLM tool, or it could be if the right interface is put on top of it. Anyway, this works for now, I'll think about how to make it better later.
2025-04-15Enable dmarc reportingBen Sima
Trying to learn about dmarc and improve my mail setup some more, I also added the `rua` to my DNS entry so hopefully I get some reports.
2025-04-15Fix regex patterns in email block listBen Sima
I guess GPT-4 or whatever assistant I used got the wrong syntax the first time.
2025-04-15Enable syncthing on Beryllium tooBen Sima
This moves syncthing from the cloud only, and onto Beryllium as well. Also it gets rid of the nginx config because I don't really need access to it remotely like that.
2025-04-15Fix super call in LowerFormatterBen Sima
I'm honestly not sure what the correct call is here, I guess what I had was Python 2 syntax? And Python 3 doesn't need arguments? Anyway this broke during one of the nixpkgs updates and this seems to have fixed it.
2025-04-11Add Nginx virtualHost for Syncthing GUIBen Sima (aider)
This commit configures Nginx as a reverse proxy for the Syncthing web interface, making it accessible via syncthing.bensima.com with SSL encryption. The configuration includes proper header forwarding and WebSocket support for the Syncthing GUI. Additionally, this commit explicitly opens the required firewall ports for Syncthing's operation, including the GUI port, sync port (22000), and discovery broadcast port (21027).
2025-04-11Move Syncthing configuration to dedicated moduleBen Sima (aider)
Moved Syncthing configuration from Lithium's configuration file to a dedicated module in Cloud directory. This change improves organization by placing the service with other cloud-related configurations. The new module includes comprehensive Syncthing setup with proper user configuration, firewall rules, and default settings. It's now imported in Cloud.nix to make it available to the cloud infrastructure.