I don't know Go, this is a PHP script that will spit out a webcam captured file into a directory giving it a unix timestamp as the file name. 

In principle I guess you could use it as an API and have the php script serve the file name through an html response.

- - - -
With great power comes great responsibility. 


On Mon, Jan 14, 2019 at 2:48 PM Henner Zeller <h.zeller@acm.org> wrote:
have you written it as part of the go code? If so, can I haz pull request?

On Mon, Jan 14, 2019, 01:15 Adam <me@adammunich.com wrote:
I wrote a script that lets you upload pics to a directory using your web browser, which Jake had mentioned was a missing part of the software. 

- - - -
With great power comes great responsibility. 


On Sun, Jan 13, 2019 at 10:35 PM Jake <jake@spaz.org> wrote:
this is implemented at sudoroom and was running last i checked but i can't
remember how to get to it

someone set it up but i can't remember whom!

i'll try to find it next time i'm there

---------- Forwarded message ----------
Date: Sat, 19 Aug 2017 09:14:20 -0700
From: Henner Zeller <h.zeller@acm.org>
To: Jake <jake@spaz.org>, Miloh <froggytoad@gmail.com>
Cc: sudo-discuss <sudo-discuss@lists.sudoroom.org>
Subject: Re: can we implement stuff-org at sudoroom?

On 19 August 2017 at 09:02, Jake <jake@spaz.org> wrote:
> yes someone did but i am still waiting for them to explain how to use it, or
> make a wiki page.

Here is an old page on the Noisebridge wiki, which might help to get
you started.
https://www.noisebridge.net/wiki/Electronic_Parts

>  hopefullu someone will write a way to take pictures with
> a
> phone and seamlessly upload...

Yeah, that feature is missing, and I am happy to accept pull requests
for an upload option.

Right now, all the images need to be manually put in the --imagedir
directory from which they are served readonly.

Also, it would be good to have a little light-box that we can put near
the electronic components section and quickly take pictures from them
which can be better quality than phone images.

>
> right now all the pictures are the noisebridge logo.

Yes, the Noisebridge logo is the fallback whenever there is no image;
you can change that by changing the file in stuff/static/fallback.png

There are some pictures auto generated, e.g. if you have a type
Resistor and there is no image, it automatically generates an image
with the good old color codes from it e.g.
https://parts.noisebridge.net/form?id=9

-h

>
>
> On Sat, 19 Aug 2017, Henner Zeller wrote:
>
>> On 13 August 2017 at 21:13, Jake <jake@spaz.org> wrote:
>>>
>>> Henner wrote this awesome parts organizer web service, and it's running
>>> at
>>> noisebridge (and his house):
>>> https://github.com/hzeller/stuff-org
>>>
>>> here's the noisebridge implementation (type a letter to begin instant
>>> search):
>>> https://parts.noisebridge.net/#
>>>
>>> i would love to help fill it with information about the stuff we have at
>>> sudoroom, but i am not confident in my ability to install it and get it
>>> running
>>> on our network.  If someone feels good about doing this, sudo make it
>>> happen
>>> and i'll help.
>>
>>
>> Did you get it to run ?
>>
>> -h
>>
>
_______________________________________________
sudo-discuss mailing list
sudo-discuss@lists.sudoroom.org
https://sudoroom.org/lists/listinfo/sudo-discuss