summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Tay <sam.chong.tay@gmail.com>2020-05-30 15:20:42 -0700
committerSam Tay <sam.chong.tay@gmail.com>2020-05-30 15:50:31 -0700
commit030cd70495da9d8d1070b9c7c14b8ff469464cb9 (patch)
tree728ae93936791b1775a49df97039f8784cab7613
Initial commit
-rw-r--r--.gitignore2
-rw-r--r--Cargo.toml9
-rw-r--r--README.md3
-rw-r--r--roadmap.md30
-rw-r--r--src/main.rs3
5 files changed, 47 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..53eaa21
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,2 @@
+/target
+**/*.rs.bk
diff --git a/Cargo.toml b/Cargo.toml
new file mode 100644
index 0000000..b03e6ad
--- /dev/null
+++ b/Cargo.toml
@@ -0,0 +1,9 @@
+[package]
+name = "so"
+version = "0.1.0"
+authors = ["Sam Tay <sam.chong.tay@gmail.com>"]
+edition = "2018"
+
+# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
+
+[dependencies]
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..8a8c1c8
--- /dev/null
+++ b/README.md
@@ -0,0 +1,3 @@
+# so
+
+**Note:** under development, not ready for prime time.
diff --git a/roadmap.md b/roadmap.md
new file mode 100644
index 0000000..b1aa414
--- /dev/null
+++ b/roadmap.md
@@ -0,0 +1,30 @@
+# roadmap
+
+### v0.1.0
+1. Set up CLI with options (assume --lucky)
+2. Hit SO API
+3. Markdown parser
+4. End-to-end synchronous --lucky output
+
+### v0.2.0
+1. Add --no-lucky option
+2. For --lucky, async parsing first q/a, then the rest
+3. Tui-rs interface for viewing multiple results
+
+### v0.2.1
+1. Add xdga config
+
+### v0.3.0
+1. Add google scraper + helpful error messages
+
+### at some point
+1. cross-platform release binaries
+2. per platform package mgmt
+
+## deps
+1. clap
+2. serde-json
+2. pulldown-cmark (?)
+3. crossterm
+4. tui-rs
+5. reqwest + scraper for google
diff --git a/src/main.rs b/src/main.rs
new file mode 100644
index 0000000..e7a11a9
--- /dev/null
+++ b/src/main.rs
@@ -0,0 +1,3 @@
+fn main() {
+ println!("Hello, world!");
+}