aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAria <me@aria.rip>2023-10-01 17:17:23 +0100
committerAria <me@aria.rip>2023-10-01 17:17:23 +0100
commit862cc62d621e89de4848be543f4df23d101075fe (patch)
treef42921a70c9932466c033bcbd0d530cf1c4d4460
parentd82ed204b82b9774e266a74432f252ae76a63eee (diff)
update readme
-rw-r--r--.envrc1
-rw-r--r--README.md8
-rw-r--r--flake.lock42
-rw-r--r--flake.nix44
4 files changed, 8 insertions, 87 deletions
diff --git a/.envrc b/.envrc
deleted file mode 100644
index 3550a30..0000000
--- a/.envrc
+++ /dev/null
@@ -1 +0,0 @@
-use flake
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..8968ceb
--- /dev/null
+++ b/README.md
@@ -0,0 +1,8 @@
+# doe
+
+[![No Maintenance Intended](http://unmaintained.tech/badge.svg)](http://unmaintained.tech/)
+
+Doe is a simple TUI command snippet runner. You can add scripts to it, they'll be stored in `~/.doe`, and then you can pick and execute them later.
+Use + to add snippets, d to delete them, and vim keybindings to select them. You can also run doe with `doe <search term>` to filter your initial results.
+
+This was mostly an excuse for me to use [Bubble Tea](https://github.com/charmbracelet/bubbletea), which is a cool framework you should check out.
diff --git a/flake.lock b/flake.lock
deleted file mode 100644
index 5f75a9e..0000000
--- a/flake.lock
+++ /dev/null
@@ -1,42 +0,0 @@
-{
- "nodes": {
- "flake-utils": {
- "locked": {
- "lastModified": 1667395993,
- "narHash": "sha256-nuEHfE/LcWyuSWnS8t12N1wc105Qtau+/OdUAjtQ0rA=",
- "owner": "numtide",
- "repo": "flake-utils",
- "rev": "5aed5285a952e0b949eb3ba02c12fa4fcfef535f",
- "type": "github"
- },
- "original": {
- "owner": "numtide",
- "repo": "flake-utils",
- "type": "github"
- }
- },
- "nixpkgs": {
- "locked": {
- "lastModified": 1675237434,
- "narHash": "sha256-YoFR0vyEa1HXufLNIFgOGhIFMRnY6aZ0IepZF5cYemo=",
- "owner": "NixOS",
- "repo": "nixpkgs",
- "rev": "285b3ff0660640575186a4086e1f8dc0df2874b5",
- "type": "github"
- },
- "original": {
- "id": "nixpkgs",
- "ref": "nixos-22.11",
- "type": "indirect"
- }
- },
- "root": {
- "inputs": {
- "flake-utils": "flake-utils",
- "nixpkgs": "nixpkgs"
- }
- }
- },
- "root": "root",
- "version": 7
-}
diff --git a/flake.nix b/flake.nix
deleted file mode 100644
index 74eb4c3..0000000
--- a/flake.nix
+++ /dev/null
@@ -1,44 +0,0 @@
-{
- description = "A command saver";
-
- inputs = {
- nixpkgs.url = "nixpkgs/nixos-22.11";
- flake-utils.url = "github:numtide/flake-utils";
- };
-
- outputs = { self, nixpkgs, flake-utils }:
- flake-utils.lib.eachDefaultSystem (system:
- let
- pkgs = import nixpkgs { inherit system; };
- lastModifiedDate = self.lastModifiedDate or self.lastModified or "19700101";
- version = builtins.substring 0 8 lastModifiedDate;
- doe = pkgs.buildGoModule {
- pname = "doe";
- inherit version;
-
- src = ./.;
-
- vendorSha256 = "sha256-gItYVP5ZOMH1xxuw9YttpWfwfL5wckp37q1aRoFPjX0=";
- };
- in
- {
-
- # Provide some binary packages for selected system types.
- packages.default = doe;
- apps.default = {
- name = "doe";
- type = "app";
- program = "${doe}/bin/doe";
- };
-
- devShells.default = pkgs.mkShell {
- nativeBuildInputs = with pkgs; [
- go
- gopls
- charm
- ];
- };
- }
-
- );
-}