Time |
Nickname |
Message |
17:29
🔗
|
Ymgve |
-14 |
17:29
🔗
|
Ymgve |
to do |
17:29
🔗
|
Ymgve |
total counter not exactly accurate |
19:32
🔗
|
Dark_Star |
why do I keep getting "project code is out of date" errors now? |
19:32
🔗
|
Dark_Star |
shouldn't the code self-update on boot? |
19:34
🔗
|
SmileyG |
v1 or v2? |
19:34
🔗
|
alard |
I'm preparing for an update to the Cinch script. First step was to get these error messages in there (so people with old versions won't get tasks they can't handle). |
19:34
🔗
|
alard |
Just let it run, it will eventually work. |
19:34
🔗
|
Dark_Star |
oki |
19:35
🔗
|
alard |
The first run of Cinch was user-based, but the next run should be based on recording IDs. That requires a different script. |
19:35
🔗
|
SmileyG |
so how do you specify a port in lynx... |
19:36
🔗
|
alard |
Lynx? The text-based browser? |
19:36
🔗
|
SmileyG |
yes... |
19:36
🔗
|
alard |
Doesn't :PORT work? |
19:36
🔗
|
SmileyG |
I tried that :S |
19:36
🔗
|
SmileyG |
Its 8001 for warrior right? |
19:37
🔗
|
alard |
Yes, but I should warn you that the warrior UI is JavaScript-based, so Lynx wouldn't show you anything. |
19:37
🔗
|
SmileyG |
drat. |
19:38
🔗
|
alard |
Why do you need it? |
19:38
🔗
|
SmileyG |
to stop the warrior remotely :D |
19:38
🔗
|
alard |
Use an ssh tunnel? |
19:38
🔗
|
SmileyG |
thats gonna get complicated.... |
19:39
🔗
|
SmileyG |
sshed from window to server, server is vpn'ed to work... then ssh to the work desktop |
19:39
🔗
|
alard |
curl -d "" http://localhost:8001/api/stop |
19:39
🔗
|
SmileyG |
:o |
19:40
🔗
|
SmileyG |
start doesn't work too does it? ;~~) |
19:41
🔗
|
alard |
curl -d "" http://localhost:8001/api/keep_running |
19:41
🔗
|
alard |
If you poke around a little bit you should be able to select a project. |
19:42
🔗
|
alard |
curl -d "project_name=cinch" http://localhost:8001/api/select-project |
19:43
🔗
|
SmileyG |
I think it already stopped lol |
19:43
🔗
|
SmileyG |
curl: (7) couldn't connect to host |
19:44
🔗
|
SmileyG |
Is the API documented anywhere? |
19:44
🔗
|
SmileyG |
I can write you a nice little bash interface... |
19:45
🔗
|
SmileyG |
or at least try :D |
19:46
🔗
|
alard |
No, it's not documented. It's hidden in the HTML files. |
19:46
🔗
|
alard |
https://github.com/ArchiveTeam/seesaw-kit/blob/master/seesaw/templates/all-projects.html |
19:46
🔗
|
alard |
https://github.com/ArchiveTeam/seesaw-kit/blob/master/seesaw/templates/settings.html |
19:51
🔗
|
alard |
Maybe, if you want a bash interface, it's useful to make a list of things you'd want to have. I can add extra views to the web interface (a list of projects in text format, for example). |
19:51
🔗
|
SmileyG |
stop the warrior without accessing the web interface? :S |
19:52
🔗
|
alard |
Yeah, but that's just one thing. |
19:52
🔗
|
alard |
That's not a bash interface. But you can do that with curl -d "" http://localhost:8001/api/stop |
19:53
🔗
|
SmileyG |
I'd have a list of options; start; stop; enable projects.... |
22:07
🔗
|
yipdw |
holy hell |
22:07
🔗
|
yipdw |
that warrior UI is hardcore |
22:13
🔗
|
underscor |
^ |
22:16
🔗
|
yipdw |
it's pretty cool seeing this distributed downloader evolve from listerine |
22:16
🔗
|
underscor |
:D |
22:16
🔗
|
yipdw |
I don't even know what revision this is |
22:16
🔗
|
underscor |
god, that was fun |
22:16
🔗
|
swebb |
Yea, I also love the GUI. |
22:16
🔗
|
swebb |
very slick. |
22:18
🔗
|
yipdw |
I guess it's downloader v5 |