192 Commits

Author SHA1 Message Date
Maas Lalani
482e8d6fb6 chore: vendor 2022-06-28 00:05:22 -04:00
Maas Lalani
1e0c30098f feat: ensure that date strings are not interpreted as January 2, 2006 formatted strings 2022-06-27 23:56:34 -04:00
Maas Lalani
4873337d3c chore: bump bubbletea@master & bump lipgloss@master 2022-06-27 12:25:05 -04:00
dependabot[bot]
06751580c1 Bump github.com/stretchr/testify from 1.7.2 to 1.7.5
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.7.2 to 1.7.5.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.7.2...v1.7.5)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-24 10:28:11 -04:00
dependabot[bot]
ccaa5752e3 Bump github.com/charmbracelet/wish from 0.4.0 to 0.5.0
Bumps [github.com/charmbracelet/wish](https://github.com/charmbracelet/wish) from 0.4.0 to 0.5.0.
- [Release notes](https://github.com/charmbracelet/wish/releases)
- [Commits](https://github.com/charmbracelet/wish/compare/v0.4.0...v0.5.0)

---
updated-dependencies:
- dependency-name: github.com/charmbracelet/wish
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-24 10:28:01 -04:00
dependabot[bot]
7bf8ef116f Bump github.com/stretchr/testify from 1.7.1 to 1.7.2
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.7.1 to 1.7.2.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.7.1...v1.7.2)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-07 08:17:43 -04:00
dependabot[bot]
0fc6d36077 Bump github.com/charmbracelet/bubbles from 0.10.3 to 0.11.0
Bumps [github.com/charmbracelet/bubbles](https://github.com/charmbracelet/bubbles) from 0.10.3 to 0.11.0.
- [Release notes](https://github.com/charmbracelet/bubbles/releases)
- [Commits](https://github.com/charmbracelet/bubbles/compare/v0.10.3...v0.11.0)

---
updated-dependencies:
- dependency-name: github.com/charmbracelet/bubbles
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-04 11:12:53 -04:00
dependabot[bot]
0f31f6f9a4 Bump github.com/charmbracelet/bubbletea from 0.20.0 to 0.21.0
Bumps [github.com/charmbracelet/bubbletea](https://github.com/charmbracelet/bubbletea) from 0.20.0 to 0.21.0.
- [Release notes](https://github.com/charmbracelet/bubbletea/releases)
- [Commits](https://github.com/charmbracelet/bubbletea/compare/v0.20.0...v0.21.0)

---
updated-dependencies:
- dependency-name: github.com/charmbracelet/bubbletea
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-04 11:10:18 -04:00
dependabot[bot]
e6912cac63 Bump github.com/charmbracelet/wish from 0.3.1 to 0.4.0
Bumps [github.com/charmbracelet/wish](https://github.com/charmbracelet/wish) from 0.3.1 to 0.4.0.
- [Release notes](https://github.com/charmbracelet/wish/releases)
- [Commits](https://github.com/charmbracelet/wish/compare/v0.3.1...v0.4.0)

---
updated-dependencies:
- dependency-name: github.com/charmbracelet/wish
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-30 14:13:19 -04:00
Maas Lalani
419a6981df docs: no backtick example formatting 2022-04-29 13:35:02 -04:00
Maas Lalani
b565153cdc docs: backticks instead of tildes 2022-04-29 13:33:45 -04:00
Maas Lalani
54398e831c docs: pre-processed blocks with formatting 2022-04-29 13:32:37 -04:00
Maas Lalani
0109893ceb docs: slides ssh 2022-04-22 23:19:48 -04:00
Maas Lalani
16cc9ff194 doc: pre-processing 2022-04-22 23:11:19 -04:00
Maas Lalani
99c5b0c208 docs: change arch to aur 2022-04-22 22:27:47 -04:00
Maas Lalani
5f4c34a04c fix: aur badge 2022-04-21 14:58:03 -04:00
Maas Lalani
d8c724c698 ignore keys 2022-04-13 13:17:12 -04:00
Ivan Tse
93c0f899c4 Add ssh server functionality (#150)
* Add ssh server functionality via `wish` library

This adds a `-server` flag which will spin up an ssh server that
executes the slides bubbletea application upon each ssh session.
2022-04-13 13:07:06 -04:00
Maas Lalani
fb069210e1 fix: GLAMOUR_STYLE not GLAMOUR_THEME v0.8.0 2022-04-04 12:33:35 -04:00
Maas Lalani
ba6d160fa2 feat: slides tutorial 2022-03-24 00:14:38 -04:00
Maas Lalani
8d13e1e3fd feat: respect GLAMOUR_THEME if exists 2022-03-23 23:55:41 -04:00
Maas Lalani
e624c55eb1 fix: do not get stderr when preprocessing slides 2022-03-22 18:39:15 -04:00
dependabot[bot]
7cdbe2f2bf Bump github.com/stretchr/testify from 1.7.0 to 1.7.1
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.7.0 to 1.7.1.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.7.0...v1.7.1)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-17 22:40:29 -04:00
Maas Lalani
5e351ae422 Update go modules 2022-02-25 01:00:11 -05:00
dependabot[bot]
83d05d6a29 Bump github.com/charmbracelet/bubbles from 0.10.2 to 0.10.3
Bumps [github.com/charmbracelet/bubbles](https://github.com/charmbracelet/bubbles) from 0.10.2 to 0.10.3.
- [Release notes](https://github.com/charmbracelet/bubbles/releases)
- [Commits](https://github.com/charmbracelet/bubbles/compare/v0.10.2...v0.10.3)

---
updated-dependencies:
- dependency-name: github.com/charmbracelet/bubbles
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-20 16:18:39 -05:00
dependabot[bot]
cd5ebfdd30 Bump github.com/charmbracelet/bubbletea from 0.19.3 to 0.20.0
Bumps [github.com/charmbracelet/bubbletea](https://github.com/charmbracelet/bubbletea) from 0.19.3 to 0.20.0.
- [Release notes](https://github.com/charmbracelet/bubbletea/releases)
- [Commits](https://github.com/charmbracelet/bubbletea/compare/v0.19.3...v0.20.0)

---
updated-dependencies:
- dependency-name: github.com/charmbracelet/bubbletea
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-16 11:22:11 -05:00
dependabot[bot]
6232c1b6ca Bump github.com/charmbracelet/lipgloss from 0.4.0 to 0.5.0
Bumps [github.com/charmbracelet/lipgloss](https://github.com/charmbracelet/lipgloss) from 0.4.0 to 0.5.0.
- [Release notes](https://github.com/charmbracelet/lipgloss/releases)
- [Commits](https://github.com/charmbracelet/lipgloss/compare/v0.4.0...v0.5.0)

---
updated-dependencies:
- dependency-name: github.com/charmbracelet/lipgloss
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
v0.7.3
2022-02-15 13:05:56 -05:00
dependabot[bot]
66e87f6207 Bump github.com/muesli/termenv from 0.9.0 to 0.11.0
Bumps [github.com/muesli/termenv](https://github.com/muesli/termenv) from 0.9.0 to 0.11.0.
- [Release notes](https://github.com/muesli/termenv/releases)
- [Commits](https://github.com/muesli/termenv/compare/v0.9.0...v0.11.0)

---
updated-dependencies:
- dependency-name: github.com/muesli/termenv
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-05 22:06:17 -05:00
dependabot[bot]
541979777d Bump github.com/charmbracelet/glamour from 0.4.0 to 0.5.0
Bumps [github.com/charmbracelet/glamour](https://github.com/charmbracelet/glamour) from 0.4.0 to 0.5.0.
- [Release notes](https://github.com/charmbracelet/glamour/releases)
- [Commits](https://github.com/charmbracelet/glamour/compare/v0.4.0...v0.5.0)

---
updated-dependencies:
- dependency-name: github.com/charmbracelet/glamour
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-30 20:51:46 -05:00
dependabot[bot]
9ab187706d Bump github.com/charmbracelet/bubbles from 0.10.0 to 0.10.2
Bumps [github.com/charmbracelet/bubbles](https://github.com/charmbracelet/bubbles) from 0.10.0 to 0.10.2.
- [Release notes](https://github.com/charmbracelet/bubbles/releases)
- [Commits](https://github.com/charmbracelet/bubbles/compare/v0.10.0...v0.10.2)

---
updated-dependencies:
- dependency-name: github.com/charmbracelet/bubbles
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-23 14:33:41 -05:00
Maas Lalani
a10707b2db Note % edge case in documentation 2022-01-19 20:33:20 -05:00
dependabot[bot]
83c1ace117 Bump github.com/charmbracelet/glamour from 0.3.0 to 0.4.0
Bumps [github.com/charmbracelet/glamour](https://github.com/charmbracelet/glamour) from 0.3.0 to 0.4.0.
- [Release notes](https://github.com/charmbracelet/glamour/releases)
- [Commits](https://github.com/charmbracelet/glamour/compare/v0.3.0...v0.4.0)

---
updated-dependencies:
- dependency-name: github.com/charmbracelet/glamour
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-17 13:38:35 -05:00
dependabot[bot]
fa231a6f05 Bump github.com/charmbracelet/bubbles from 0.9.0 to 0.10.0
Bumps [github.com/charmbracelet/bubbles](https://github.com/charmbracelet/bubbles) from 0.9.0 to 0.10.0.
- [Release notes](https://github.com/charmbracelet/bubbles/releases)
- [Commits](https://github.com/charmbracelet/bubbles/compare/v0.9.0...v0.10.0)

---
updated-dependencies:
- dependency-name: github.com/charmbracelet/bubbles
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-17 13:36:39 -05:00
dependabot[bot]
7ec4238a57 Bump github.com/charmbracelet/bubbletea from 0.19.1 to 0.19.2
Bumps [github.com/charmbracelet/bubbletea](https://github.com/charmbracelet/bubbletea) from 0.19.1 to 0.19.2.
- [Release notes](https://github.com/charmbracelet/bubbletea/releases)
- [Commits](https://github.com/charmbracelet/bubbletea/compare/v0.19.1...v0.19.2)

---
updated-dependencies:
- dependency-name: github.com/charmbracelet/bubbletea
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-20 10:10:22 -05:00
dependabot[bot]
c21bbba9c8 Bump github.com/charmbracelet/bubbletea from 0.19.0 to 0.19.1
Bumps [github.com/charmbracelet/bubbletea](https://github.com/charmbracelet/bubbletea) from 0.19.0 to 0.19.1.
- [Release notes](https://github.com/charmbracelet/bubbletea/releases)
- [Commits](https://github.com/charmbracelet/bubbletea/compare/v0.19.0...v0.19.1)

---
updated-dependencies:
- dependency-name: github.com/charmbracelet/bubbletea
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-08 09:30:26 -05:00
Maas Lalani
81fbe81825 Update microcosm-cc/bluemonday dependency 2021-11-02 22:24:53 -04:00
Maas Lalani
1d0f56320c We don't _really_ need cobra 2021-11-02 22:23:20 -04:00
Maas Lalani
5b74919376 Search Styles v0.7.2 2021-11-01 14:28:05 -04:00
darmiel
19a4af4a9a test: fixed TestSearch 2021-11-01 14:28:05 -04:00
darmiel
38f6c858ee feat: use bubbles#TextInput 2021-11-01 14:28:05 -04:00
Maas Lalani
8e3bd520fe Clear VirtualText inside SetPage v0.7.1 2021-11-01 11:38:27 -04:00
Maas Lalani
cce6980f62 Use exit code from command if exists 2021-11-01 11:38:27 -04:00
dependabot[bot]
76e2720dda Bump github.com/charmbracelet/bubbletea from 0.18.0 to 0.19.0
Bumps [github.com/charmbracelet/bubbletea](https://github.com/charmbracelet/bubbletea) from 0.18.0 to 0.19.0.
- [Release notes](https://github.com/charmbracelet/bubbletea/releases)
- [Commits](https://github.com/charmbracelet/bubbletea/compare/v0.18.0...v0.19.0)

---
updated-dependencies:
- dependency-name: github.com/charmbracelet/bubbletea
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-01 11:25:45 -04:00
Maas Lalani
e668f31f0d Page Up / Page Down documentation update 2021-10-30 14:03:58 -04:00
Janszczyrek
6297d57984 Added Page Up and Page Down navigation (#115)
* Added `Page Up` and `Page Down` navigation
2021-10-30 14:03:04 -04:00
Maas Lalani
acc4e08881 Fix: bug where old file name would be reused
There was a bug where the command would reference an old file name which would be deleted which meant that the code block would not execute on future executions and only work the first time.
2021-10-29 16:57:48 -04:00
dependabot[bot]
e4ae7004a5 Bump github.com/charmbracelet/bubbletea from 0.17.0 to 0.18.0
Bumps [github.com/charmbracelet/bubbletea](https://github.com/charmbracelet/bubbletea) from 0.17.0 to 0.18.0.
- [Release notes](https://github.com/charmbracelet/bubbletea/releases)
- [Commits](https://github.com/charmbracelet/bubbletea/compare/v0.17.0...v0.18.0)

---
updated-dependencies:
- dependency-name: github.com/charmbracelet/bubbletea
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
v0.7.0
2021-10-29 14:46:14 -04:00
Daniel
ac106d1060 Vim-like search functionality (#112)
* feat: basic command system

* feat: implemented forward search, backward search and `:<slide>`-command

* fix: golint

* fix: removed `fmt.Sprintf`

* fix: proper args splitting, added `goto` example

* refactor: less verbose output, removed `goto`-example

* fix: ignore empty commands

* refactor: remove `:`-commands, moved `search` to `navigation` package

* feat: implemented different search-types: header-search, full-text search (case sensitive, insensitive and regex)

* feat: go to next occurrence with `ctrl+n`

* fix: regex search

* docs: added search instructions

* refactor: removed search types, style changes

* docs: update README.md

* docs: update README.md

* refactor: `GetSlides()` -> `Pages()`, `Buffer` -> `Query`

* feat: use `tea.KeyRunes` to allow international characters (such as `ä` or `動`)

* test: added test for search

* test: added ignore-case flag test
2021-10-27 12:29:20 -04:00
Maas Lalani
4dd723db31 Remove some language tests to remove build dependencies on NixOS v0.6.2 2021-10-22 21:59:18 -04:00
Maas Lalani
7f589d02f7 Remove install from makefile v0.6.1 2021-10-21 21:01:07 -04:00