Commit graph

38 commits

Author SHA1 Message Date
940e573468 Support for debian packaging 2024-08-16 10:23:57 -07:00
38fbfbd918 Move config file to ~/.config/fwd/config.toml
Presumably this also works for MacOS and windows.

While doing this, move away from xdg and home and use this
directories-next crate instead. Reverse connections still seem to
work.
2024-08-14 10:51:19 -07:00
663ce42016 tempdir -> tempfile
According to the documentation of the tempdir crate
2024-08-13 10:59:47 -07:00
b381f71692 Move from tui to ratatui
Tui is no longer supported, ratatui is the new hotness. Fortunately
there is very little difference between the two, except I've noticed a
fun new bug in the help screen. (Maybe it's been there the whole time?)
2024-08-13 10:44:58 -07:00
7e047626df Bump to the next version 2024-08-13 07:24:29 -07:00
df0ca4ce31 Remove "users" crate, call libc directly
This is all I actually needed anyways
2024-08-12 17:37:34 -07:00
9b0a39fa90 Bump crate version 2024-08-12 09:14:22 -07:00
1f19792c58 Merge branch 'main' into quodlibetor/support-server-logs 2024-08-06 06:39:14 -07:00
5e96b37f5b Docker support
This is the most basic kind of docker querying you will find. Does not
support HTTPS. Seems to work for local docker engines. Has not been
tested against remote docker engines, or full URLs.

Note that if you want this to work you'll have to configure docker to
allow manipulation without being root, i.e., the user you connect as
will need to be in the `docker` group.

This was done instead of pulling in the `bollard` crate. Maybe I'm
being silly, but `bollard` uses a whole lot of other crates in the
name of being general and robust. These crates, however, add an
unacceptable size to the final binary. (In the experiment I ran, on a
release build, the binary size went from 2904696 to 4840968 bytes: an
increase of 1.8 MB. With this patch the release binary is 2986360
bytes, which is an increase of 80k.)

I wanted to see exactly what I could get away with when it came to
talking to docker. This here actually seems like a fine compromise:
HTTP is very simple if you only have to worry about one specific
server, and JSON is not very hard to parse if you don't care too much
about error handling, or are willing to play fast and loose with
punctuation (which I am).
2024-08-05 12:04:26 -07:00
Brandon W Maister
18da61ed32 make server logging show messages in the frontend
now you can use the log crate and get messages in the frontend.
2024-08-05 16:59:41 +01:00
a40a493d39 Initial implementation of clipboard forwarding 2024-06-23 08:54:41 -07:00
fb86cbd0de Bump crate version for unreleased 2024-06-22 07:32:43 -07:00
3eba65f6e6 Refactor in prep for clip 2024-06-22 07:32:11 -07:00
7766feafd4 Bump the version in the crate
Forgot to do this on release, whoops
2024-03-01 06:15:56 -08:00
0368074ea0 Explicit tokio features
Somehow I thought this would make my binary smaller lol
2023-11-25 08:04:40 -08:00
fd02779ba0 Bump version to 0.7.0 2023-04-30 07:33:55 -07:00
d3d7b4f137 Bump cargo version to v0.6.2 2023-04-26 12:01:17 -07:00
7deb8489e4 Bump the cargo version
Whoops I forgot.
2023-04-26 11:44:21 -07:00
766aad15f4 Update the version number for new args 2023-01-24 09:14:31 -08:00
fc144162b9 Better command line parsing, version, usage
Also tests for same
2023-01-24 09:13:53 -08:00
52fe5523b2 Update version to 0.4.0 for a clean release 2023-01-20 13:34:53 -08:00
ad5c47456a Version 0.3.0 2023-01-20 12:56:59 -08:00
528d616777 Single binary for browsing
Some systems require a single binary for the BROWSER variable, and
rather than muck about with shell scripts we have this small thing
instead.
2022-12-20 07:20:16 -08:00
ff5d767d87 Fix windows build 2022-12-17 10:04:22 -08:00
d63ceb730f Initial browse support, server side 2022-12-17 08:12:30 -08:00
6f906d80a7 Protocol version, async pump, start some testing 2022-12-16 13:57:52 -08:00
763ecd190e Tick up version 2022-11-28 07:03:56 -08:00
dc374f0d20 Change UI to tui 2022-11-27 08:24:01 -08:00
d912db8e28 Fill out Cargo.toml and also LICENSE 2022-10-26 07:11:38 -07:00
efb7ef6929 Starting configuration, probably doesn't work 2022-10-18 11:28:56 -07:00
006eba0dfe Open urls 2022-10-12 17:44:36 -07:00
68cca8cb7d Logging and reconnect loop 2022-10-12 16:48:06 -07:00
John Doty
de6607eb25 Better UI, needs two keys to close :( 2022-10-10 05:33:27 +00:00
John Doty
119af02dfa Starting to build a UI 2022-10-10 02:51:43 +00:00
7f8e14384e Simplify error handling with anyhow 2022-10-09 08:21:03 -07:00
2faed6267e Compile on windows 2022-10-08 21:38:01 -07:00
John Doty
2190ccd475 Starting to make progress 2022-10-07 01:35:34 +00:00
John Doty
bfa55d1492 Enumerate all of the listening processes and their ports 2022-10-04 18:13:57 +00:00