Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

Q: Who cuts the grass on Walton's Mountain? A: Lawn Boy.


rocksolid / Programming / Re: ToyBBS

SubjectAuthor
* ToyBBSGeorge Musk
+* Re: ToyBBSRetro Guy
|`* Re: ToyBBSGeorge Musk
| `* Re: ToyBBSRetro Guy
|  `- Re: ToyBBSAnonymous
+* Re: ToyBBSAnonymous
|+- Re: ToyBBSGeorge Musk
|`* Re: ToyBBSAnonymous
| `- Re: ToyBBSAnonymous
+- Re: ToyBBSAnonymous
`- Re: ToyBBSAnonymous

1
Subject: ToyBBS
From: George Musk
Newsgroups: rocksolid.programming, rocksolid.shared.i2p, rocksolid.shared.tor
Organization: i2pn2 (i2pn.org)
Date: Wed, 30 Oct 2024 15:18 UTC
Path: eternal-september.org!news.eternal-september.org!feeder2.eternal-september.org!i2pn.org!i2pn2.org!.POSTED!not-for-mail
From: grgmusk@skiff.com (George Musk)
Newsgroups: rocksolid.programming,rocksolid.shared.i2p,rocksolid.shared.tor
Subject: ToyBBS
Date: Wed, 30 Oct 2024 15:18:15 -0000 (UTC)
Organization: i2pn2 (i2pn.org)
Message-ID: <8fa37f66f511b9464bf3fe6fb55c7f790051b46e@i2pn2.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 30 Oct 2024 15:18:15 -0000 (UTC)
Injection-Info: i2pn2.org;
logging-data="160093"; mail-complaints-to="usenet@i2pn2.org";
posting-account="s+AewZCD9rBDWpuNM8MHjUKokgJ1eewlzOPpjwlZNsQ";
User-Agent: Pan/0.154 (Izium; 517acf4)
X-Spam-Checker-Version: SpamAssassin 4.0.0
View all headers

I wrote a mostly textboard-like forum script in PHP as an experiment.
(like https://en.wikipedia.org/wiki/Textboard )
If you have really nothing to do, pls take a look and maybe provide
feedback: https://codeberg.org/grgmusk/toybbs
(forgot to mention in README that management functions are available
through adding ?a=1 to URL)

Shortly after this news article is posted live demos would be available
through Tor/I2P hidden services for a day or two.
Tor:
http://e5avrgc4ra2xxrrlfnobspec4vcntpro25gwtybxljufo6eukmlri6yd.onion/toybbs_en/
http://e5avrgc4ra2xxrrlfnobspec4vcntpro25gwtybxljufo6eukmlri6yd.onion/toybbs_en_c/
I2P:
http://smr6fuqbpfhqtx2ffw6qrtkf6ddhe2v25inrz25kh2sfiejwmosa.b32.i2p/toybbs_en/
http://smr6fuqbpfhqtx2ffw6qrtkf6ddhe2v25inrz25kh2sfiejwmosa.b32.i2p/toybbs_en_c/
(second links are a test with CAPTCHA enabled, it's pretty useless for flood
protection though, just a demonstration of adding a CAPTCHA in...)

Subject: Re: ToyBBS
From: Retro Guy
Newsgroups: rocksolid.programming, rocksolid.shared.i2p, rocksolid.shared.tor
Organization: RetroBBS
Date: Wed, 30 Oct 2024 17:01 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!feeder2.eternal-september.org!i2pn.org!i2pn2.org!.POSTED!not-for-mail
From: retroguy@novabbs.com (Retro Guy)
Newsgroups: rocksolid.programming,rocksolid.shared.i2p,rocksolid.shared.tor
Subject: Re: ToyBBS
Date: Wed, 30 Oct 2024 17:01:32 +0000
Organization: RetroBBS
Message-ID: <9dfe7e4af90e6addbd3666afb5705176@www.rocksolidbbs.com>
References: <8fa37f66f511b9464bf3fe6fb55c7f790051b46e@i2pn2.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org;
logging-data="174932"; mail-complaints-to="usenet@i2pn2.org";
posting-account="2hZabKoTCsb5leWQHuMufDtKEC6DKmX2VdiTCAjKmGw";
User-Agent: Rocksolid Light
X-Spam-Checker-Version: SpamAssassin 4.0.0
X-Face: .&YR-G(w(DZ$$,}%k=]*5*!p'=(anr"IT`wZG'2VWdfl\r)l[42u7JH`n(JUQ*e5*A|XCDf ?&\X&uwkl38"CYX3O8m}C8E4p'%N$2#kSTVzx{Ly|DjLT\Vk7NE}NQ(VC$Yq]i:7|z[.9iv^g>*8_B H0=hZt'[%)4kG|
X-Rslight-Posting-User: 3e09c3d71209fb49d7627a75bc08da61d9906ff8
X-Rslight-Site: $2y$10$bDw5.AGpHuHhy3VdLKeYvOTPq6ZB4S12IXzZG65BspVFSJGWp.Ccm
View all headers

On Wed, 30 Oct 2024 15:18:15 +0000, George Musk wrote:

> I wrote a mostly textboard-like forum script in PHP as an experiment.
> (like https://en.wikipedia.org/wiki/Textboard )
> If you have really nothing to do, pls take a look and maybe provide
> feedback: https://codeberg.org/grgmusk/toybbs
> (forgot to mention in README that management functions are available
> through adding ?a=1 to URL)

Just took a look and made a couple of posts.

It's looking nice! In the past some of us had some working textboards
with nntp backends. trw did a great job integrating vichan! Fun times.

Anyway, I'm going to keep watching as this develops, I'm interested.

--
Retro Guy

Subject: Re: ToyBBS
From: Anonymous
Newsgroups: rocksolid.programming, rocksolid.shared.i2p, rocksolid.shared.tor
Organization: RetroBBS
Date: Wed, 30 Oct 2024 22:42 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!feeder2.eternal-september.org!i2pn.org!i2pn2.org!.POSTED!not-for-mail
From: Anonymous@rocksolidbbs.com (Anonymous)
Newsgroups: rocksolid.programming,rocksolid.shared.i2p,rocksolid.shared.tor
Subject: Re: ToyBBS
Date: Wed, 30 Oct 2024 22:42:45 +0000
Organization: RetroBBS
Message-ID: <e17454ea1745ef2aab8236ba1bc25df6@www.rocksolidbbs.com>
References: <8fa37f66f511b9464bf3fe6fb55c7f790051b46e@i2pn2.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org;
logging-data="211098"; mail-complaints-to="usenet@i2pn2.org";
posting-account="jTHn4s1aa8KdHfWdKEX4uSfYFVrSvM9c0+YNggbOa4o";
User-Agent: Rocksolid Light
X-Spam-Checker-Version: SpamAssassin 4.0.0
X-Rslight-Site: $2y$10$MS52/HRwcPVaSRlK2/v7c.vPsL9zw9j1aNI9dDx83aEtr5DPfsahC
X-Rslight-Posting-User: f7bd1cca6e423e8f8b9ab8697f91b402a7119682
View all headers

Looks pretty kino! I'll probably be posting here if it gets enough
activity. The only thing is, the theme is pretty boring with the gray
background especially. Make it more colorful! (I personally like a 2ch
theme or a Futaba one)

Subject: Re: ToyBBS
From: George Musk
Newsgroups: rocksolid.programming
Organization: i2pn2 (i2pn.org)
Date: Thu, 31 Oct 2024 21:04 UTC
References: 1 2
Path: eternal-september.org!news.eternal-september.org!feeder2.eternal-september.org!i2pn.org!i2pn2.org!.POSTED!not-for-mail
From: grgmusk@skiff.com (George Musk)
Newsgroups: rocksolid.programming
Subject: Re: ToyBBS
Date: Thu, 31 Oct 2024 21:04:57 -0000 (UTC)
Organization: i2pn2 (i2pn.org)
Message-ID: <6bc5e7b6609a967a949d027ec23e7ccd5d4e3975@i2pn2.org>
References: <8fa37f66f511b9464bf3fe6fb55c7f790051b46e@i2pn2.org>
<9dfe7e4af90e6addbd3666afb5705176@www.rocksolidbbs.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 31 Oct 2024 21:04:57 -0000 (UTC)
Injection-Info: i2pn2.org;
logging-data="352505"; mail-complaints-to="usenet@i2pn2.org";
posting-account="s+AewZCD9rBDWpuNM8MHjUKokgJ1eewlzOPpjwlZNsQ";
User-Agent: Pan/0.154 (Izium; 517acf4)
X-Spam-Checker-Version: SpamAssassin 4.0.0
View all headers

On Wed, 30 Oct 2024 17:01:32 +0000, Retro Guy wrote:

> Just took a look and made a couple of posts.
>
> It's looking nice! In the past some of us had some working textboards
> with nntp backends. trw did a great job integrating vichan! Fun times.
>
> Anyway, I'm going to keep watching as this develops, I'm interested.

Thanks for testing! I don't know how/when it can develop, to make a
useful textboard these days it requires inveting some solutions for the
flood problem...

Subject: Re: ToyBBS
From: George Musk
Newsgroups: rocksolid.programming
Organization: i2pn2 (i2pn.org)
Date: Thu, 31 Oct 2024 21:05 UTC
References: 1 2
Path: eternal-september.org!news.eternal-september.org!feeder2.eternal-september.org!i2pn.org!i2pn2.org!.POSTED!not-for-mail
From: grgmusk@skiff.com (George Musk)
Newsgroups: rocksolid.programming
Subject: Re: ToyBBS
Date: Thu, 31 Oct 2024 21:05:59 -0000 (UTC)
Organization: i2pn2 (i2pn.org)
Message-ID: <a00616775d77fb437fa1b8492b9ef16309665eb6@i2pn2.org>
References: <8fa37f66f511b9464bf3fe6fb55c7f790051b46e@i2pn2.org>
<e17454ea1745ef2aab8236ba1bc25df6@www.rocksolidbbs.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 31 Oct 2024 21:05:59 -0000 (UTC)
Injection-Info: i2pn2.org;
logging-data="352505"; mail-complaints-to="usenet@i2pn2.org";
posting-account="s+AewZCD9rBDWpuNM8MHjUKokgJ1eewlzOPpjwlZNsQ";
User-Agent: Pan/0.154 (Izium; 517acf4)
X-Spam-Checker-Version: SpamAssassin 4.0.0
View all headers

On Wed, 30 Oct 2024 22:42:45 +0000, Anonymous wrote:

> Looks pretty kino! I'll probably be posting here if it gets enough
> activity. The only thing is, the theme is pretty boring with the gray
> background especially. Make it more colorful! (I personally like a 2ch
> theme or a Futaba one)

Thanks for testing! It's just a small experiment, but if I will ever expand it,
I might add more theming options.

Subject: Re: ToyBBS
From: Anonymous
Newsgroups: rocksolid.programming, rocksolid.shared.i2p, rocksolid.shared.tor
Organization: RetroBBS
Date: Fri, 1 Nov 2024 15:55 UTC
References: 1 2
Path: eternal-september.org!news.eternal-september.org!feeder2.eternal-september.org!i2pn.org!i2pn2.org!.POSTED!not-for-mail
From: Anonymous@rocksolidbbs.com (Anonymous)
Newsgroups: rocksolid.programming,rocksolid.shared.i2p,rocksolid.shared.tor
Subject: Re: ToyBBS
Date: Fri, 1 Nov 2024 15:55:52 +0000
Organization: RetroBBS
Message-ID: <77b85c2d791d02a6469d79656d837d1b@www.rocksolidbbs.com>
References: <8fa37f66f511b9464bf3fe6fb55c7f790051b46e@i2pn2.org> <e17454ea1745ef2aab8236ba1bc25df6@www.rocksolidbbs.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org;
logging-data="472105"; mail-complaints-to="usenet@i2pn2.org";
posting-account="jTHn4s1aa8KdHfWdKEX4uSfYFVrSvM9c0+YNggbOa4o";
User-Agent: Rocksolid Light
X-Spam-Checker-Version: SpamAssassin 4.0.0
X-Rslight-Posting-User: f7bd1cca6e423e8f8b9ab8697f91b402a7119682
X-Rslight-Site: $2y$10$13mcY9ja9yh3D1yhgSdO/ebODJEhwvLjbL1.lXnlTKV9JIY9scsBy
View all headers

The site is off ?

Subject: Re: ToyBBS
From: Anonymous
Newsgroups: rocksolid.programming, rocksolid.shared.i2p, rocksolid.shared.tor
Organization: RetroBBS
Date: Fri, 1 Nov 2024 21:37 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!feeder2.eternal-september.org!i2pn.org!i2pn2.org!.POSTED!not-for-mail
From: Anonymous@rocksolidbbs.com (Anonymous)
Newsgroups: rocksolid.programming,rocksolid.shared.i2p,rocksolid.shared.tor
Subject: Re: ToyBBS
Date: Fri, 1 Nov 2024 21:37:43 +0000
Organization: RetroBBS
Message-ID: <6bd99bf22c384e8e9594c4ba54b19478@www.rocksolidbbs.com>
References: <8fa37f66f511b9464bf3fe6fb55c7f790051b46e@i2pn2.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org;
logging-data="508034"; mail-complaints-to="usenet@i2pn2.org";
posting-account="jTHn4s1aa8KdHfWdKEX4uSfYFVrSvM9c0+YNggbOa4o";
User-Agent: Rocksolid Light
X-Spam-Checker-Version: SpamAssassin 4.0.0
X-Rslight-Posting-User: f7bd1cca6e423e8f8b9ab8697f91b402a7119682
X-Rslight-Site: $2y$10$vQfTRA8YNvCm3bMpmGUyk.XpSSP96i/0TefSgGlRTvfjmy/9jvcDq
View all headers

I just went through our code, and it looks quite good to me from the
code structure and style.

To improve, I would suggest

1) putting the config in another directory than the webroot, especially
if it includes the admins password hash.

2) putting in a function to generate the password hash for the admin, as
it will be difficult for some to do it on the cli.

Considering your problem of "flooding", it depends if you mean GET or
POST requests (so, scraping bots or spam bots).

For GET requests, you can do rate limiting in i2p+, with the webserver,
or as part of your own code.

For POST requests, you could preload the postform with a hidden token
that is checked against your db.

Subject: Re: ToyBBS
From: Anonymous
Newsgroups: rocksolid.programming, rocksolid.shared.i2p, rocksolid.shared.tor
Organization: RetroBBS
Date: Fri, 1 Nov 2024 21:56 UTC
References: 1 2 3
Path: eternal-september.org!news.eternal-september.org!feeder2.eternal-september.org!i2pn.org!i2pn2.org!.POSTED!not-for-mail
From: Anonymous@rocksolidbbs.com (Anonymous)
Newsgroups: rocksolid.programming,rocksolid.shared.i2p,rocksolid.shared.tor
Subject: Re: ToyBBS
Date: Fri, 1 Nov 2024 21:56:57 +0000
Organization: RetroBBS
Message-ID: <f62bb96e7436cd71acf753bfb29c911a@www.rocksolidbbs.com>
References: <8fa37f66f511b9464bf3fe6fb55c7f790051b46e@i2pn2.org> <e17454ea1745ef2aab8236ba1bc25df6@www.rocksolidbbs.com> <77b85c2d791d02a6469d79656d837d1b@www.rocksolidbbs.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org;
logging-data="509936"; mail-complaints-to="usenet@i2pn2.org";
posting-account="jTHn4s1aa8KdHfWdKEX4uSfYFVrSvM9c0+YNggbOa4o";
User-Agent: Rocksolid Light
X-Spam-Checker-Version: SpamAssassin 4.0.0
X-Rslight-Posting-User: f7bd1cca6e423e8f8b9ab8697f91b402a7119682
X-Rslight-Site: $2y$10$BCa/rg52k373.LP2gYCve.WxL10VouH0xATSNZnTicMWxKvLTw1f6
View all headers

It was only a test that ran for a few days see this thread:
http://retrobbs.i2p/rocksolid/article-flat.php?id=385&group=rocksolid.programming#385
The developer only posted his responses in the programming newsgroup,
which is why you can't see them if you're on a different one.

Honestly, it would probably be a cool board to post to if he ends up
making it a real thing.

Subject: Re: ToyBBS
From: Retro Guy
Newsgroups: rocksolid.programming
Organization: Rocksolid Light
Date: Fri, 1 Nov 2024 16:21 UTC
References: 1 2 3
Path: eternal-september.org!news.eternal-september.org!feeder2.eternal-september.org!i2pn.org!i2pn2.org!.POSTED!not-for-mail
From: retroguy@novabbs.com (Retro Guy)
Newsgroups: rocksolid.programming
Subject: Re: ToyBBS
Date: Fri, 1 Nov 2024 09:21:15 -0700
Organization: Rocksolid Light
Message-ID: <8bda4749ca505bc59080e4e068024c0d$1@novabbs.org>
References: <8fa37f66f511b9464bf3fe6fb55c7f790051b46e@i2pn2.org> <9dfe7e4af90e6addbd3666afb5705176@www.rocksolidbbs.com> <6bc5e7b6609a967a949d027ec23e7ccd5d4e3975@i2pn2.org>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Injection-Info: i2pn2.org;
logging-data="474851"; mail-complaints-to="usenet@i2pn2.org";
posting-account="PGd4t4cXnWwgUWG9VtTiCsm47oOWbHLcTr4rYoM0Edo";
User-Agent: 40tude_Dialog/2.0.15.41
X-Spam-Checker-Version: SpamAssassin 4.0.0
View all headers

On Thu, 31 Oct 2024 21:04:57 -0000 (UTC), George Musk wrote:

> On Wed, 30 Oct 2024 17:01:32 +0000, Retro Guy wrote:
>
>> Just took a look and made a couple of posts.
>>
>> It's looking nice! In the past some of us had some working textboards
>> with nntp backends. trw did a great job integrating vichan! Fun times.
>>
>> Anyway, I'm going to keep watching as this develops, I'm interested.
>
> Thanks for testing! I don't know how/when it can develop, to make a
> useful textboard these days it requires inveting some solutions for the
> flood problem...

i2p can support unique ip addresses per client, if that helps. Throttling
by ip address "may" be a way to help slow a flood.

Subject: Re: ToyBBS
From: Anonymous
Newsgroups: rocksolid.programming
Organization: RetroBBS
Date: Fri, 1 Nov 2024 16:35 UTC
References: 1 2 3 4
Path: eternal-september.org!news.eternal-september.org!feeder2.eternal-september.org!i2pn.org!i2pn2.org!.POSTED!not-for-mail
From: Anonymous@rocksolidbbs.com (Anonymous)
Newsgroups: rocksolid.programming
Subject: Re: ToyBBS
Date: Fri, 1 Nov 2024 16:35:52 +0000
Organization: RetroBBS
Message-ID: <4b6e87568638c50bdabbe6a5d03aa24a@www.rocksolidbbs.com>
References: <8fa37f66f511b9464bf3fe6fb55c7f790051b46e@i2pn2.org> <9dfe7e4af90e6addbd3666afb5705176@www.rocksolidbbs.com> <6bc5e7b6609a967a949d027ec23e7ccd5d4e3975@i2pn2.org> <8bda4749ca505bc59080e4e068024c0d$1@novabbs.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org;
logging-data="476990"; mail-complaints-to="usenet@i2pn2.org";
posting-account="jTHn4s1aa8KdHfWdKEX4uSfYFVrSvM9c0+YNggbOa4o";
User-Agent: Rocksolid Light
X-Spam-Checker-Version: SpamAssassin 4.0.0
X-Rslight-Site: $2y$10$x43OL3jnMcHN0n0TAGbzOOOe9i0dmvYY3yDKv85eyABNDv1XurMOK
X-Rslight-Posting-User: f7bd1cca6e423e8f8b9ab8697f91b402a7119682
View all headers

2nd what Retro Guy said about i2p. If you use i2p+ it will give you a
very finegrained control.

Also: I just spent some time solving this problem for my site
terminus.i2p.

Check the sources if you like, or ask here.

Subject: Re: ToyBBS
From: Anonymous
Newsgroups: rocksolid.programming, rocksolid.shared.i2p, rocksolid.shared.tor
Organization: RetroBBS
Date: Thu, 7 Nov 2024 15:40 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!feeder2.eternal-september.org!i2pn.org!i2pn2.org!.POSTED!not-for-mail
From: Anonymous@rocksolidbbs.com (Anonymous)
Newsgroups: rocksolid.programming,rocksolid.shared.i2p,rocksolid.shared.tor
Subject: Re: ToyBBS
Date: Thu, 7 Nov 2024 15:40:26 +0000
Organization: RetroBBS
Message-ID: <78a33fbf6bc165dffcc02fc783b7c59f@www.rocksolidbbs.com>
References: <8fa37f66f511b9464bf3fe6fb55c7f790051b46e@i2pn2.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org;
logging-data="1386993"; mail-complaints-to="usenet@i2pn2.org";
posting-account="jTHn4s1aa8KdHfWdKEX4uSfYFVrSvM9c0+YNggbOa4o";
User-Agent: Rocksolid Light
X-Rslight-Site: $2y$10$PC89BkWiklbNkBomGw4/Wu7ChqaHzT82XqCUZEBZqzHpzcb261Z6C
X-Spam-Checker-Version: SpamAssassin 4.0.0
X-Rslight-Posting-User: f7bd1cca6e423e8f8b9ab8697f91b402a7119682
View all headers

Looks like the host is down for now, any updates?

1

rocksolid light 0.9.8
clearnet tor