all repos — searchix @ 37deedc9b1da92571548c920721984d545269eb4

Search engine for NixOS, nix-darwin, home-manager and NUR users

37deedc9
refactor: move Source/Repository types to config package
Alan Pearce alan@alanpearce.eu
Mon, 13 May 2024 15:07:00 +0200
f700a328
fix(module): allow setting sentry DSN
Alan Pearce alan@alanpearce.eu
Sun, 12 May 2024 23:52:59 +0200
028a2b17
build: workaround nix weirdness
Alan Pearce alan@alanpearce.eu
Sun, 12 May 2024 23:52:46 +0200
ad064dfb
build: export nixos module and overlay
Alan Pearce alan@alanpearce.eu
Sun, 12 May 2024 23:24:03 +0200
895a3b06
build: switch to flakes
Alan Pearce alan@alanpearce.eu
Sun, 12 May 2024 22:34:23 +0200
7077a374
feat: allow adding extra HTML to the body via configuration
Alan Pearce alan@alanpearce.eu
Sun, 12 May 2024 21:44:57 +0200
fe79b450
feat: enable using channel URLs if unable to resolve via NIX_PATH
Alan Pearce alan@alanpearce.eu
Sun, 12 May 2024 21:29:56 +0200
2e56008e
build: limit files passed to nix
Alan Pearce alan@alanpearce.eu
Sun, 12 May 2024 21:29:47 +0200
53c9fb2f
fix: don't panic on TOML decode error
Alan Pearce alan@alanpearce.eu
Sun, 12 May 2024 21:29:22 +0200
f24c5b0a
refactor: move Source type
Alan Pearce alan@alanpearce.eu
Sun, 12 May 2024 21:29:01 +0200
df77930b
fix: linking to wrong declaration URLs
Alan Pearce alan@alanpearce.eu
Sun, 12 May 2024 21:28:26 +0200
fb25a97b
feat: nix module
Alan Pearce alan@alanpearce.eu
Sat, 11 May 2024 22:48:39 +0200
42bcd10f
feat: clicking another source re-uses query
Alan Pearce alan@alanpearce.eu
Sun, 12 May 2024 14:55:02 +0200
f769decb
refactor: merge search and results pages
Alan Pearce alan@alanpearce.eu
Sun, 12 May 2024 14:50:36 +0200
4f5be8a8
refactor: extract index deletion function
Alan Pearce alan@alanpearce.eu
Sun, 12 May 2024 14:37:59 +0200
ef50bbf9
fix(import): don't remove index if there are errors

now that we can update the index, this is no longer reasonable
Alan Pearce alan@alanpearce.eu
Sun, 12 May 2024 14:37:27 +0200
6a462c13
build: add extra command to index without replacing existing index
Alan Pearce alan@alanpearce.eu
Sun, 12 May 2024 14:35:46 +0200
b517b1e0
feat(js): save and restore input state with history
Alan Pearce alan@alanpearce.eu
Sun, 12 May 2024 13:19:48 +0200
84acac6d
fix(js): make reload after error execute attempted search
Alan Pearce alan@alanpearce.eu
Sun, 12 May 2024 13:18:37 +0200
00ff3a75
refactor(js): use async/await, it's 2024
Alan Pearce alan@alanpearce.eu
Sun, 12 May 2024 12:57:41 +0200
68cd867b
build: optimise and fix handing of csp headers in dev mode
Alan Pearce alan@alanpearce.eu
Sun, 12 May 2024 12:56:47 +0200
628c2a85
fix: js error when no results found
Alan Pearce alan@alanpearce.eu
Sun, 12 May 2024 12:49:47 +0200
6ea867df
refactor: split http.Server and http.ServeMux creation
Alan Pearce alan@alanpearce.eu
Sat, 11 May 2024 21:00:01 +0200
c232a6c4
build: make `just dev` reload on go file changes
Alan Pearce alan@alanpearce.eu
Fri, 10 May 2024 12:58:26 +0200
4b256089
refactor: don't explain searches
Alan Pearce alan@alanpearce.eu
Fri, 10 May 2024 12:57:26 +0200
793c89a8
fix: missing menu on search pages
Alan Pearce alan@alanpearce.eu
Fri, 10 May 2024 12:57:07 +0200
7f3791ba
style: remove extraneous <p> tags around option descriptions
Alan Pearce alan@alanpearce.eu
Fri, 10 May 2024 12:56:45 +0200
0eccb18a
fix: no results for home-manager search
Alan Pearce alan@alanpearce.eu
Fri, 10 May 2024 12:56:26 +0200
6789940f
build: ignore local configuration file
Alan Pearce alan@alanpearce.eu
Fri, 10 May 2024 12:30:39 +0200
3554d8af
fix(config): add default channel name for home-manager
Alan Pearce alan@alanpearce.eu
Fri, 10 May 2024 12:29:32 +0200
76f18d67
feat: version search index mapping schema and warn if outdated
Alan Pearce alan@alanpearce.eu
Sat, 11 May 2024 14:43:01 +0200
dbe952d1
refactor: move sources input data to $data_root/sources
Alan Pearce alan@alanpearce.eu
Sat, 11 May 2024 14:41:00 +0200
1aa991ae
refactor: deduce index path automatically from config.DataPath
Alan Pearce alan@alanpearce.eu
Sat, 11 May 2024 14:34:15 +0200
48423548
refactor: split up NewIndexer function
Alan Pearce alan@alanpearce.eu
Sat, 11 May 2024 13:30:41 +0200
38c96a03
build: enable building with nix with embedded frontend
Alan Pearce alan@alanpearce.eu
Fri, 10 May 2024 23:06:47 +0200
3bbb49e7
build: optionally embed frontend files
Alan Pearce alan@alanpearce.eu
Fri, 10 May 2024 23:05:24 +0200
00eb7541
style: highlight current search menu item
Alan Pearce alan@alanpearce.eu
Fri, 10 May 2024 12:11:03 +0200
42dd2f64
fix: missing menu on search page
Alan Pearce alan@alanpearce.eu
Fri, 10 May 2024 12:10:34 +0200
034f0821
style: use title-cased source names
Alan Pearce alan@alanpearce.eu
Fri, 10 May 2024 12:10:14 +0200
e4d01ba6
docs: change links to point to sourcehut
Alan Pearce alan@alanpearce.eu
Fri, 10 May 2024 11:36:17 +0200
5573c4b7
refactor: clean up flags and environment variables
Alan Pearce alan@alanpearce.eu
Thu, 09 May 2024 20:17:19 +0200
9389b7dd
build: add reindex command
Alan Pearce alan@alanpearce.eu
Thu, 09 May 2024 20:10:58 +0200
35df7d41
build: pass config file to dev command
Alan Pearce alan@alanpearce.eu
Thu, 09 May 2024 20:10:42 +0200
8ab9adf7
fix: pointer type mismatch
Alan Pearce alan@alanpearce.eu
Thu, 09 May 2024 20:10:23 +0200
631c02ac
feat: dynamically link to sources
Alan Pearce alan@alanpearce.eu
Thu, 09 May 2024 19:36:03 +0200
f42dfe7b
feat: format server listen address as URL
Alan Pearce alan@alanpearce.eu
Thu, 09 May 2024 19:30:02 +0200
830e14f3
refactor: pass Source object to templates
Alan Pearce alan@alanpearce.eu
Thu, 09 May 2024 19:27:15 +0200
c72f8dc7
style: rename Option.Option to Option.Name
Alan Pearce alan@alanpearce.eu
Thu, 09 May 2024 19:12:52 +0200
3b379a13
style: reformat with golines and enforce on commit
Alan Pearce alan@alanpearce.eu
Thu, 09 May 2024 18:58:14 +0200
0986e869
feat: enable index path to be configured
Alan Pearce alan@alanpearce.eu
Thu, 09 May 2024 18:47:37 +0200
1db7c2a1
feat(importer): make timeout configurable via command-line
Alan Pearce alan@alanpearce.eu
Thu, 09 May 2024 18:41:05 +0200
778e1d77
feat(importer): add --replace flag to overwrite existing index
Alan Pearce alan@alanpearce.eu
Thu, 09 May 2024 18:39:45 +0200
99d5507b
feat: allow configuration of log level
Alan Pearce alan@alanpearce.eu
Thu, 09 May 2024 18:24:58 +0200
14c1ddaf
feat: enable setting config file path via command line
Alan Pearce alan@alanpearce.eu
Thu, 09 May 2024 18:24:25 +0200
fbc4c583
docs: embed defaults in app
Alan Pearce alan@alanpearce.eu
Thu, 09 May 2024 18:18:59 +0200
8d5dfd90
refactor: make config entries kebab-case
Alan Pearce alan@alanpearce.eu
Thu, 09 May 2024 17:29:07 +0200
e062ca72
feat: import sources from configuration in go code and index options
Alan Pearce alan@alanpearce.eu
Thu, 09 May 2024 16:47:41 +0200
967f6fdf
feat: make configuration optional
Alan Pearce alan@alanpearce.eu
Thu, 09 May 2024 16:24:45 +0200
453ae856
fix(js): pushstate also on errors, so that the user can refresh
Alan Pearce alan@alanpearce.eu
Thu, 09 May 2024 14:54:32 +0200
4c06f763
refactor: enable access to bleve DocumentMatch structs
Alan Pearce alan@alanpearce.eu
Wed, 08 May 2024 17:11:28 +0200
8537192b
refactor: reduce new variables when looping over hits
Alan Pearce alan@alanpearce.eu
Wed, 08 May 2024 17:10:36 +0200
89f7b847
refactor: store searched documents directly in the search index
Alan Pearce alan@alanpearce.eu
Wed, 08 May 2024 13:37:15 +0200
439f863b
refactor: log index loading progress at startup
Alan Pearce alan@alanpearce.eu
Wed, 08 May 2024 13:36:11 +0200
24b81a63
feat: improve search by using a custom tokeniser for option names
Alan Pearce alan@alanpearce.eu
Wed, 08 May 2024 13:32:19 +0200
83f67511
fix(js): null value error for pagination
Alan Pearce alan@alanpearce.eu
Wed, 08 May 2024 13:16:09 +0200
9f1a4aaa
fix: incorrect default/example values stored after processing
Alan Pearce alan@alanpearce.eu
Wed, 08 May 2024 09:31:32 +0200
93151256
style: fix overflowing <pre> tags
Alan Pearce alan@alanpearce.eu
Wed, 08 May 2024 08:35:00 +0200
5e008c25
fix: incorrect data shown for default and example option keys
Alan Pearce alan@alanpearce.eu
Wed, 08 May 2024 08:26:11 +0200
973345ad
feat: paginate search results
Alan Pearce alan@alanpearce.eu
Wed, 08 May 2024 00:15:52 +0200
f459e84e
perf: create search indexes in parallel with server startup
Alan Pearce alan@alanpearce.eu
Tue, 07 May 2024 21:40:19 +0200
212e5cf6
feat: search multiple sources
Alan Pearce alan@alanpearce.eu
Tue, 07 May 2024 21:32:36 +0200
32c4f1dd
style: show pages for different sources
Alan Pearce alan@alanpearce.eu
Tue, 07 May 2024 21:04:13 +0200
48b22d9a
style: make page wider and header shorter
Alan Pearce alan@alanpearce.eu
Tue, 07 May 2024 21:02:31 +0200
4f55e5d8
style: add more text to homepage and footer
Alan Pearce alan@alanpearce.eu
Tue, 07 May 2024 21:01:42 +0200
771ef706
style: split homepage and search page
Alan Pearce alan@alanpearce.eu
Tue, 07 May 2024 18:54:45 +0200
c15b142b
feat: search one set of options
Alan Pearce alan@alanpearce.eu
Tue, 07 May 2024 17:33:06 +0200
6c8c36b2
build: workaround wgo CPU usage
Alan Pearce alan@alanpearce.eu
Tue, 07 May 2024 15:25:02 +0200
64520c95
refactor: rely on html/template functionality more
Alan Pearce alan@alanpearce.eu
Tue, 07 May 2024 15:24:42 +0200
e4fd32b0
refactor: extract templating into own file
Alan Pearce alan@alanpearce.eu
Tue, 07 May 2024 14:35:44 +0200
f272e269
refactor: make data path (partially) configurable
Alan Pearce alan@alanpearce.eu
Tue, 07 May 2024 14:21:22 +0200
9b24b805
fix: panic on importing darwin options
Alan Pearce alan@alanpearce.eu
Tue, 07 May 2024 11:24:14 +0200
8c133202
feat: link to exact commits in NixOS/nixpkgs
Alan Pearce alan@alanpearce.eu
Mon, 06 May 2024 17:30:43 +0200
c0fbf11f
feat: render markdown examples
Alan Pearce alan@alanpearce.eu
Mon, 06 May 2024 10:14:17 +0200
7d08b696
build: fetch darwin and home-manager options
Alan Pearce alan@alanpearce.eu
Sun, 05 May 2024 21:39:26 +0200
71de5479
feat: link to nixpkgs on github for declarations
Alan Pearce alan@alanpearce.eu
Sun, 05 May 2024 21:31:40 +0200
1fdd1f83
fix: use options exposed via user's <nixpkgs> channel instead of ours
Alan Pearce alan@alanpearce.eu
Sun, 05 May 2024 21:28:40 +0200
0d653242
feat: auto-linkify URLs in markdown
Alan Pearce alan@alanpearce.eu
Sun, 05 May 2024 19:03:10 +0200
767e25a1
style: increase contrast
Alan Pearce alan@alanpearce.eu
Sun, 05 May 2024 18:55:08 +0200
27c10989
style: remove border-radius
Alan Pearce alan@alanpearce.eu
Sun, 05 May 2024 18:54:56 +0200
9317874a
style: improve layout and formatting of code samples
Alan Pearce alan@alanpearce.eu
Sun, 05 May 2024 18:54:32 +0200
9a7b37e5
style: add a footer
Alan Pearce alan@alanpearce.eu
Sun, 05 May 2024 18:14:50 +0200
2430f46a
feat: render markdown in option descriptions
Alan Pearce alan@alanpearce.eu
Sun, 05 May 2024 18:11:56 +0200
158904f4
refactor: only reload templates when such files are updated
Alan Pearce alan@alanpearce.eu
Sun, 05 May 2024 18:05:30 +0200
c689cf5d
style: remove unused variable
Alan Pearce alan@alanpearce.eu
Sun, 05 May 2024 18:03:39 +0200
c0ae685a
style: add a small gap between search bar and button
Alan Pearce alan@alanpearce.eu
Sat, 04 May 2024 19:57:20 +0200
3c54a3f6
fix(css): first grid row too tall
Alan Pearce alan@alanpearce.eu
Sat, 04 May 2024 19:52:39 +0200
87ec9ecf
feat: browser history management
Alan Pearce alan@alanpearce.eu
Sat, 04 May 2024 19:50:26 +0200
e96fa5ff
chore: watch all frontend files
Alan Pearce alan@alanpearce.eu
Sat, 04 May 2024 15:32:55 +0200
b682ed93
feat: show metadata in grid
Alan Pearce alan@alanpearce.eu
Sat, 04 May 2024 15:32:41 +0200
5b9e67fd
feat: frontend search implementation
Alan Pearce alan@alanpearce.eu
Sat, 04 May 2024 12:54:31 +0200
a2c97c10
chore: remove unnecessary shell variable
Alan Pearce alan@alanpearce.eu
Sat, 04 May 2024 12:40:22 +0200
df2a55f8
chore: use prettier with plugin to format go templates
Alan Pearce alan@alanpearce.eu
Sat, 04 May 2024 12:38:32 +0200
1fb64b09
feat: create nixos options.json importer
Alan Pearce alan@alanpearce.eu
Fri, 03 May 2024 11:52:06 +0200
0945da8f
feat: add basic input frontend
Alan Pearce alan@alanpearce.eu
Fri, 03 May 2024 09:04:42 +0200
670f9dbd
chore: revert to blocklist-based gitignore
Alan Pearce alan@alanpearce.eu
Fri, 03 May 2024 09:03:55 +0200
177c2de3
feat: add css
Alan Pearce alan@alanpearce.eu
Fri, 03 May 2024 00:15:35 +0200
8411fb4a
feat: watch and live reload in development
Alan Pearce alan@alanpearce.eu
Fri, 03 May 2024 00:10:23 +0200
73603079
feat: serve a very basic html template
Alan Pearce alan@alanpearce.eu
Thu, 02 May 2024 23:18:19 +0200
7ad48953
chore: initial commit
Alan Pearce alan@alanpearce.eu
Thu, 02 May 2024 13:55:48 +0200