unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* Introducing GNUPaste
@ 2017-12-14 18:37 Kristofer Buffington
  2017-12-15  4:57 ` Catonano
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Kristofer Buffington @ 2017-12-14 18:37 UTC (permalink / raw
  To: guile-user, help-guix

Hello!

I am excited to share GNUPaste! This is a really simple web app
similar to paste.lisp.org built with Guile. I have a linode running it
from git on GuixSD.

https://paste.freshbakedyams.com (Please use it!)
Source: https://github.com/kristoferbuffington/gnupaste.git

Currently the frontend uses twitter bootstrap + jquery and highlightjs
from a CDN. It really doesn't need all that boilerplate. It will
definitely change in the future. GNUPaste depends on guile-wiredtiger
and guile-fibers to compile. 

Ultimately I want to be able to deploy with something like:

$ guix system disk-image gnupaste-system.scm

Then boot it up in a VPS.

I need to fix some issues with autotools before it can be installed with
make. My issue is creating a consistent test-env because configure
substitutes @localstatedir@ (root/gnupaste/config.scm.in) with a
path/to/wt that is not in the build tree. I'm planning to imitate
guix.git/build-aux/test-env in that regard.

Otherwise, I would really appreciate some feature suggestions,
especially if it involves using pubstrate!

Thanks!
Kris



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Introducing GNUPaste
  2017-12-14 18:37 Introducing GNUPaste Kristofer Buffington
@ 2017-12-15  4:57 ` Catonano
  2017-12-15  7:52 ` tomas
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 8+ messages in thread
From: Catonano @ 2017-12-15  4:57 UTC (permalink / raw
  To: Kristofer Buffington; +Cc: Guile User

Hi Kristofer !

2017-12-14 19:37 GMT+01:00 Kristofer Buffington <
kristoferbuffington@gmail.com>:

> Hello!
>
> I am excited to share GNUPaste! This is a really simple web app
> similar to paste.lisp.org built with Guile. I have a linode running it
> from git on GuixSD.
>
> https://paste.freshbakedyams.com (Please use it!)
> Source: https://github.com/kristoferbuffington/gnupaste.git
>
> Currently the frontend uses twitter bootstrap + jquery and highlightjs
> from a CDN. It really doesn't need all that boilerplate. It will
> definitely change in the future. GNUPaste depends on guile-wiredtiger
> and guile-fibers to compile.
>
> Ultimately I want to be able to deploy with something like:
>
> $ guix system disk-image gnupaste-system.scm
>
> Then boot it up in a VPS.
>
> I need to fix some issues with autotools before it can be installed with
> make. My issue is creating a consistent test-env because configure
> substitutes @localstatedir@ (root/gnupaste/config.scm.in) with a
> path/to/wt that is not in the build tree. I'm planning to imitate
> guix.git/build-aux/test-env in that regard.
>
> Otherwise, I would really appreciate some feature suggestions,
> especially if it involves using pubstrate!
>
> Thanks!
> Kris
>
>
thank you so much for this !
recently both paste.gnome and paste.lisp became unavailable and this little
thing of yours is usefful !

I made my first test paste
https://paste.freshbakedyams.com/paste/5A0RFWVR

I'd like to have a way to indicate that the text is scheme code so that it
could deal with strings and quoted blocs properly
I'm afraid this doesn't involve pubstate ;-)

But I'm not sure wat could be done involving pubstrate: maybe a button to
share my paste with my mastodon account ?

Anyway, thanks for you work !


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Introducing GNUPaste
  2017-12-14 18:37 Introducing GNUPaste Kristofer Buffington
  2017-12-15  4:57 ` Catonano
@ 2017-12-15  7:52 ` tomas
  2017-12-15  9:13 ` ng0
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 8+ messages in thread
From: tomas @ 2017-12-15  7:52 UTC (permalink / raw
  To: guile-user

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, Dec 14, 2017 at 01:37:30PM -0500, Kristofer Buffington wrote:
> Hello!
> 
> I am excited to share GNUPaste! This is a really simple web app
> similar to paste.lisp.org built with Guile. I have a linode running it
> from git on GuixSD.
> 
> https://paste.freshbakedyams.com (Please use it!)
> Source: https://github.com/kristoferbuffington/gnupaste.git
> 
> Currently the frontend uses twitter bootstrap + jquery and highlightjs

[...]

Yikes. Yet another Javascript Hell, I thought.

No, it's not Javascript-the-language what I don't like, but
this blurring between Web page and full-fledged application,
unfurling at the user's browser while dynamically sucking up
bits and pieces of the Whole Internet, with ill-defined
licenses, provenances and *intentions*. That's why I always
browse with Javascript disabled and run away when a page
presents itself as a black (or white) hole.

Then... I went to try it. It actually falls back gracefully
for the non-Javascript folks!

So thanks for catering to us dinosaurs :-)

Note to self: always try before ranting...

Cheers&thanks again
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlozfy4ACgkQBcgs9XrR2kYGaACfZITeLqCx00qJEwnosRE8XVZV
GxgAn25wPbinTIL0KmvK3rTtWdOUMX6R
=EfxU
-----END PGP SIGNATURE-----



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Introducing GNUPaste
  2017-12-14 18:37 Introducing GNUPaste Kristofer Buffington
  2017-12-15  4:57 ` Catonano
  2017-12-15  7:52 ` tomas
@ 2017-12-15  9:13 ` ng0
  2017-12-15 11:00 ` Ludovic Courtès
  2017-12-15 18:14 ` Mike Gerwitz
  4 siblings, 0 replies; 8+ messages in thread
From: ng0 @ 2017-12-15  9:13 UTC (permalink / raw
  To: Kristofer Buffington; +Cc: guile-user, help-guix

[-- Attachment #1: Type: text/plain, Size: 2302 bytes --]

Hi Kristofer,

Kristofer Buffington transcribed 1.1K bytes:
> Hello!
> 
> I am excited to share GNUPaste! This is a really simple web app
> similar to paste.lisp.org built with Guile. I have a linode running it
> from git on GuixSD.

great start, I like it.
What would be really good is if there could be an API similar to
what pb (example instance: https://ptpb.pw) has.
The power of pb lies in its features and its ability to be used
from the commandline. I can simply upload the output of a command
without saving it first to a textfile - I can simply pipe it to curl.
So pb is built using flask (https://github.com/ptpb/pb).
I'd like to see (and maybe even help when I have the time) a paste web app
written in Guile that can be compared to pb.
Long text, short nonsense: One of many features I'd welcome is the ability
to pipe and paste data to the paste server.

Another useful thing: Be able to delete pastes. I've asked one of the pb
developers a long time ago and they told me that pb just keeps collecting
and you have to manually delete content in the db (or something like that),
no ability to delete pastes for an admin was implemented.

> https://paste.freshbakedyams.com (Please use it!)
> Source: https://github.com/kristoferbuffington/gnupaste.git
> 
> Currently the frontend uses twitter bootstrap + jquery and highlightjs
> from a CDN. It really doesn't need all that boilerplate. It will
> definitely change in the future. GNUPaste depends on guile-wiredtiger
> and guile-fibers to compile. 
> 
> Ultimately I want to be able to deploy with something like:
> 
> $ guix system disk-image gnupaste-system.scm
> 
> Then boot it up in a VPS.
> 
> I need to fix some issues with autotools before it can be installed with
> make. My issue is creating a consistent test-env because configure
> substitutes @localstatedir@ (root/gnupaste/config.scm.in) with a
> path/to/wt that is not in the build tree. I'm planning to imitate
> guix.git/build-aux/test-env in that regard.
> 
> Otherwise, I would really appreciate some feature suggestions,
> especially if it involves using pubstrate!
> 
> Thanks!
> Kris
> 
> 

-- 
GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
GnuPG: https://c.n0.is/ng0_pubkeys/tree/keys
  WWW: https://n0.is

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Introducing GNUPaste
  2017-12-14 18:37 Introducing GNUPaste Kristofer Buffington
                   ` (2 preceding siblings ...)
  2017-12-15  9:13 ` ng0
@ 2017-12-15 11:00 ` Ludovic Courtès
  2017-12-16 16:53   ` Kristofer Buffington
  2017-12-15 18:14 ` Mike Gerwitz
  4 siblings, 1 reply; 8+ messages in thread
From: Ludovic Courtès @ 2017-12-15 11:00 UTC (permalink / raw
  To: Kristofer Buffington; +Cc: guile-user, help-guix

Hi Kristofer,

Kristofer Buffington <kristoferbuffington@gmail.com> skribis:

> I am excited to share GNUPaste! This is a really simple web app
> similar to paste.lisp.org built with Guile. I have a linode running it
> from git on GuixSD.
>
> https://paste.freshbakedyams.com (Please use it!)
> Source: https://github.com/kristoferbuffington/gnupaste.git

Looks nice!

I suppose you could use ‘guile-syntax-highlight’ to add some color into
the mix.  :-)

> Ultimately I want to be able to deploy with something like:
>
> $ guix system disk-image gnupaste-system.scm
>
> Then boot it up in a VPS.

That’d be great.

Thanks for sharing!

Ludo’.



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Introducing GNUPaste
  2017-12-14 18:37 Introducing GNUPaste Kristofer Buffington
                   ` (3 preceding siblings ...)
  2017-12-15 11:00 ` Ludovic Courtès
@ 2017-12-15 18:14 ` Mike Gerwitz
  2017-12-16 15:46   ` Kristofer Buffington
  4 siblings, 1 reply; 8+ messages in thread
From: Mike Gerwitz @ 2017-12-15 18:14 UTC (permalink / raw
  To: Kristofer Buffington; +Cc: guile-user, help-guix

[-- Attachment #1: Type: text/plain, Size: 780 bytes --]

Key, Kristofer:

On Thu, Dec 14, 2017 at 13:37:30 -0500, Kristofer Buffington wrote:
> I am excited to share GNUPaste! This is a really simple web app
> similar to paste.lisp.org built with Guile. I have a linode running it
> from git on GuixSD.

Please reconsider the use of "GNU" in the program name, since this isn't
in any way affiliated with the GNU Project.

I did notice one of your commits is titled "Initial commit prepped for
being part of the GNU project".  If you do wish to offer your software
to GNU, please see:

  https://www.gnu.org/help/evaluation.html

We'd be happy to review it.

-- 
Mike Gerwitz
Free Software Hacker+Activist | GNU Maintainer & Volunteer
GPG: D6E9 B930 028A 6C38 F43B  2388 FEF6 3574 5E6F 6D05
https://mikegerwitz.com

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Introducing GNUPaste
  2017-12-15 18:14 ` Mike Gerwitz
@ 2017-12-16 15:46   ` Kristofer Buffington
  0 siblings, 0 replies; 8+ messages in thread
From: Kristofer Buffington @ 2017-12-16 15:46 UTC (permalink / raw
  To: Mike Gerwitz; +Cc: guile-user, help-guix

Mike Gerwitz <mtg@gnu.org> writes:

> Key, Kristofer:
>
> On Thu, Dec 14, 2017 at 13:37:30 -0500, Kristofer Buffington wrote:
>> I am excited to share GNUPaste! This is a really simple web app
>> similar to paste.lisp.org built with Guile. I have a linode running it
>> from git on GuixSD.
>
> Please reconsider the use of "GNU" in the program name, since this isn't
> in any way affiliated with the GNU Project.

Absolutely. I don't mean to mislead anyone with the name.

> I did notice one of your commits is titled "Initial commit prepped for
> being part of the GNU project".  If you do wish to offer your software
> to GNU, please see:
>
>   https://www.gnu.org/help/evaluation.html
>
> We'd be happy to review it.

I will definitely submit it for evaluation soon. There is still some
work to be done before it's even ready to release.

Thanks,
Kristofer



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Introducing GNUPaste
  2017-12-15 11:00 ` Ludovic Courtès
@ 2017-12-16 16:53   ` Kristofer Buffington
  0 siblings, 0 replies; 8+ messages in thread
From: Kristofer Buffington @ 2017-12-16 16:53 UTC (permalink / raw
  To: Ludovic Courtès; +Cc: guile-user, help-guix

ludo@gnu.org (Ludovic Courtès) writes:

> Hi Kristofer,
>
> Kristofer Buffington <kristoferbuffington@gmail.com> skribis:
>
>> I am excited to share GNUPaste! This is a really simple web app
>> similar to paste.lisp.org built with Guile. I have a linode running it
>> from git on GuixSD.
>>
>> https://paste.freshbakedyams.com (Please use it!)
>> Source: https://github.com/kristoferbuffington/gnupaste.git
>
> Looks nice!
>
> I suppose you could use ‘guile-syntax-highlight’ to add some color into
> the mix.  :-)

I did not realize guile-syntax-highlight even existed. I will
investigate.

>> Ultimately I want to be able to deploy with something like:
>>
>> $ guix system disk-image gnupaste-system.scm
>>
>> Then boot it up in a VPS.
>
> That’d be great.
>
> Thanks for sharing!
>
> Ludo’.


Thanks
Kristofer



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2017-12-16 16:53 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-14 18:37 Introducing GNUPaste Kristofer Buffington
2017-12-15  4:57 ` Catonano
2017-12-15  7:52 ` tomas
2017-12-15  9:13 ` ng0
2017-12-15 11:00 ` Ludovic Courtès
2017-12-16 16:53   ` Kristofer Buffington
2017-12-15 18:14 ` Mike Gerwitz
2017-12-16 15:46   ` Kristofer Buffington

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).