/prog/ - Programming

Anything related to programming and creating software.

[Post a Reply]



File: fchan.png(38125)
Anonymous 2021-01-14T03:21:29Z No. https://fchan.xyz/prog/AF085BFA [Report]

This site is based on the activity pub protocol. It is still a work in progress. You can get the source code here. https://github.com/FChannel0 I hope it provides some interest.

>>
Anonymous 2021-01-14T04:12:53Z No. https://fchan.xyz/prog/9FA9AC6F [Report]

What part of ActivityPub is used? In what way is it federated?

>>
Anonymous 2021-01-14T04:21:00Z No. https://fchan.xyz/prog/3E35CE32 [Report]

All of the structures are based on activitypub. Each board is an actor which has a inbox, outbox, following, followers box. You access an instances posts by going to their outbox. If you go to https://fchan.xyz/prog/outbox you will see all the posts on this site. Users can then take those post for their own instances. eg. You have an instances myimageboard.com/g I can follow that instances and then I will see all of its posts from its outbox. I can then merge it with theses posts. Interacting with posts that are not on your instances. I will make another instances tomorrow to better showcase it. So what makes it federated is that each instances has its own posts, but others can access them and post to them instead of it all being only on one site side not, quoting another post is bugged for the moment.... its appending http://https:// to it.

>>
Anonymous 2021-01-15T22:57:46Z No. https://fchan.xyz/prog/0FB49FDE [Report]

I have fixed the double post problem when replying to some threads, also click a quoted link in a post should route correctly now when the post is not from the local instance. I have increase the file size limit to 7MB. I still have to fix the proper reply count and attachment count, also showing the correct file size of the attachment.

>>
Anonymous 2021-01-19T03:14:29Z No. https://fchan.xyz/prog/5GEF235G [Report]

Cache system almost in place. This should help load time greatly.

>>
Anonymous 2021-01-20T00:52:17Z No. https://fchan.xyz/prog/B2C6A732 [Report]

Caching is in place. Post counts are going to be fucked again. Will fix soon. I dont notice a huge difference on my side from the caching from before, maybe others will. I will investigate other ways to cut down requests to improve performance

>>
Anonymous 2021-01-20T01:04:39Z No. https://fchan.xyz/prog/D1BE45D7 [Report]

>>https://fchan.xyz/prog/B2C6A732 its actually shit. Its not caching all post but only a select few. Didnt catch this on local setup. Looking into why its not caching all posts. Logic is off somewhere.

>>
Anonymous 2021-01-20T06:46:26Z No. https://fchan.xyz/prog/9AEF560G [Report]

All images have been resized to have a tumbnail images so browsing the site with mobile should not kill your data and load times should be better with the smaller thumbnails, movies preload off and audio preload off. Caching actually was working.

>>
Anonymous 2021-01-21T12:56:00Z No. https://fchan.xyz/prog/EGDEA42G [Report]

>>https://fchan.xyz/prog/AF085BFA It seems catalog page doesn't load thread thumbnails and instead load the full image. I can see the thumbnails slowly loaded on catalog for big image.

>>
Anonymous 2021-01-21T13:18:17Z No. https://fchan.xyz/prog/EA089B0C [Report]

>>https://fchan.xyz/prog/AF085BFA Why is PostgreSQL preferred over the cutey SQLite?

>>
Anonymous 2021-01-21T14:22:37Z No. https://0x00000000.xyz/b/A83F6EAC [Report]

>>https://fchan.xyz/prog/EA089B0C sqllite is just a file save locally. And that won't scale well with many posts. Postgres has better optimization for many queries from my understanding. I never considered sqlLite because I saw it as something for small scale database.

>>
Anonymous 2021-01-21T18:36:29Z No. https://fchan.xyz/prog/C23G24DD [Report]

>>https://0x00000000.xyz/b/A83F6EAC ah right, file locks (https://www.sqlite.org/whentouse.html

>>
Anonymous 2021-01-22T06:49:52Z No. https://fchan.xyz/prog/FF53781G [Report]

I am working on consolidating the server and client program. There is redundancy with the client having to talk to the server when the server can just run the front end when someone requests the webpage. And when they want the activitypub ld+json they can request it by setting the content-type to application/ld+json; profile="https://www.w3.org/ns/activitystreams" I am doing this because it will be far easier to cache on the server side than client side for posts. The current bottleneck is pulling the feeds from the followers which I want to get rid off. Caching your followers outboxes and getting updates when they make new posts and updating your cache should allow for a smoother experience getting rid of this bottleneck Also, this will get rid of the dumb fchan.xyz subdomain and it will just be fchan.xyz where you can go to fchan.xyz/outbox fchan.xyz/following fchan.xyz/followers. I hope to have it done by this weekend. Thank you for visiting, I will make this platform better with time. And anyone who wants to help out where they can is appreciated. Posting here is help enough.

>>
Anonymous 2021-01-22T11:08:55Z No. https://fchan.xyz/prog/F5F94841 [Report]

>>https://fchan.xyz/prog/FF53781G like

>>
File zabyPE5g.jpg (51088)
Anonymous 2021-01-22T18:11:08Z No. https://fchan.xyz/prog/6DGBCC91 [Report]

>>https://fchan.xyz/prog/FF53781G I am proficient in for loops. How can I help?

>>
Anonymous 2021-01-22T22:11:59Z No. https://fchan.xyz/prog/G9G69783 [Report]

>>https://fchan.xyz/prog/FF53781G I don't know where suggestions go so I'll just throw it out here. I propose a place to list other instances, maybe a board /shill/ or something? Also theme support would be nice. I don't know any code, otherwise I'd help, sorry

>>
Anonymous 2021-01-23T00:15:16Z No. https://fchan.xyz/prog/7E132B59 [Report]

>>https://fchan.xyz/prog/6DGBCC91 You can make a loop that with each iteration you either make content, share content or tell someone about FChannel >>https://fchan.xyz/prog/G9G69783 Suggestions are welcome here in this thread for time being until a better spot is available. I plan to provide an index of instances running fchan as they come online. I'm hesitant to make many boards at the moment because the userbase is still growing and the current boards available have not been outgrown.

>>
Anonymous 2021-01-25T22:45:02Z No. https://fchan.xyz/prog/76B0EB40 [Report]

Im about 80% done with the caching of the posts for boards you follow and combining the server/client. Its taking a little more time than I was expecting. Since its such a big code revision I am not rushing so not to break more things on the live servers. Hopefully by this weekend it will be wrapped up. Real life obligations have been taking some of the time away from fully developing this platform. Thank you for checking back, theses improvements will make FChan a lot better and I would feel confident sharing it more and having others run their own servers.

>>
Anonymous 2021-01-29T06:42:52Z No. https://fchan.xyz/prog/9E59GG8F [Report]

New version is in place with caching. If an instance goes down or is offline the posts are still avaiable from the local cache. Only the attachments will be broken because those are not saved locally. I added a red board theme and fixed the post and image counts. There are bound to be bugs I missed. It seems to load a little better, I will see what can be tweaked more.

>>
Anonymous 2021-01-29T06:44:40Z No. https://fchan.xyz/prog/8C2F7A3D [Report]

>>https://fchan.xyz/prog/9E59GG8F Also I am in the process of transferring from the instance.xyz to just instance.xyz. I have to update the database to reflect the change. The current fchan.xyz nd 0x00000000.xyz are temporary.

>>
Anonymous 2021-02-18T09:24:27Z No. https://fchan.xyz/prog/61SVAL89 [Report]

load time improvements should be noticed. they have been cut down from 3-5 second load time for large posts counts such as https://0x00000000.xyz/b to about 1 second. more improvements soon(tm)

>>
File Full nigger cattle ultimatum.webm (6761612)
Anonymous 2021-03-26T23:00:57Z No. https://fchan.xyz/prog/ODWLOWAE [Report]

OP I've been following this for months but I don't see the /g/ threads much anymore. Do we have a Matrix room or IRC channel up? Giving feedback and seeing updates isn't great via imageboard.

>>
Anonymous 2021-03-26T23:27:38Z No. https://0x00000000.xyz/b/KTXNI4FY [Report]

>>https://fchan.xyz/prog/ODWLOWAE the posts on 4chan get deleted once created. someone is prolly reporting them. here is a matrix channel i will try to keep updates posted to. pretty inactive atm, but would appreciate feedback and other contributions #fchan:matrix.org

>>
File 1615136086168.jpg (129934)
Anonymous 2021-03-27T01:26:35Z No. https://fchan.xyz/prog/7YX8K68K [Report]

>>https://0x00000000.xyz/b/KTXNI4FY Thanks, I just saw the other thread with the same question oops.

>>
Anonymous 2021-04-09T14:52:28Z No. https://fchan.xyz/prog/LRVXXFCI [Report]

>The HTTP GET method may be dereferenced against an object's id property to retrieve the activity. Servers MAY use HTTP content negotiation as defined in [RFC7231] to select the type of data to return in response to a request, but MUST present the ActivityStreams object representation in response to application/ld+json; profile="https://www.w3.org/ns/activitystreams", and SHOULD also present the ActivityStreams representation in response to application/activity+json as well. Please add presentation with application/activity+json.

>>
Anonymous 2021-04-09T15:03:25Z No. https://fchan.xyz/prog/RE3YD6ZQ [Report]

Add to Fediverse list: https://en.wikipedia.org/wiki/Fediverse Read about Zot protocol: https://zotlabs.org/help/en/developer/zot_protocol

>>
Anonymous 2021-04-09T15:05:31Z No. https://fchan.xyz/prog/V1KSV3YK [Report]

Based instance fediverse list: https://fediblock.org/blocklist/

>>
Anonymous 2021-04-09T15:14:20Z No. https://fchan.xyz/prog/2ET5X4KH [Report]

Add board creation

>>
Anonymous 2021-04-09T15:38:47Z No. https://fchan.xyz/prog/8LYV28F6 [Report]

Look at modern imageboard engine. Not 4chan. https://gitgud.io/fatchan/jschan ## Goals - Oldschool look, newschool features - Work with javascript disabled - Support using anonymizers such as Tor, Lokinet or I2P - Be usable on mobile - Simple static file serving ## Features - [x] User created boards ala infinity - [x] Multiple files per post - [x] Basic antispam & multiple captcha options - [x] Read-only JSON api - [x] Multi-select moderation actions - [x] Websocket update threads w/o polling - [x] Webring w/proxy support (compatible with [lynxchan](https://gitlab.com/alogware/LynxChanAddon-Webring) & [infinity](https://gitlab.com/Tenicu/infinityaddon-webring) versions) - [x] Manage everything from the web panel - [x] Works properly with anonymizer networks

>>
Anonymous 2021-04-15T15:04:37Z No. https://fchan.xyz/prog/RD7CEKI8 [Report]

I am curious as to what benefits or differences FChannel provides in comparison to NNTPchan? https://github.com/martindale/nntpchan Also I'm a little confused how the federated aspect of it works on a larger scale. For example, if there are 10 servers, all whom run a /g/, and they federate with each other, would there be 10x /g/ board listings at the top of their sites?

>>
Anonymous 2021-04-15T15:06:06Z No. https://fchan.xyz/prog/8UUK784F [Report]

Any chance anyone could submit a PR to add support for FChannel to KurobaEX? https://github.com/K1rakishou/Kuroba-Experimental

>>
Anonymous 2021-04-15T15:32:18Z No. https://fchan.xyz/prog/CO62FROA [Report]

>>https://fchan.xyz/prog/RD7CEKI8 nntpchan uses nntp protocol FChannel uses activitypub nntpchan is more mature, but you have to go through more hoops to access FChannel is new, but has direct access for users If there are 10 instances all with g, each instances just follows the other g instances in theirs. For example, if you look at the /b/ board. fchan.xyz has a /b/ that follows 0x00000000.xyz/b 0xChan has all of fchans boards consolidated into its one /b/ board There will not be duplicate boards in the menu.

>>
Anonymous 2021-04-21T01:33:36Z No. https://fchan.xyz/prog/33METGNO [Report]

>>https://fchan.xyz/prog/8LYV28F6 >Multiple files Who needs this?

>>
Anonymous 2021-04-21T16:59:54Z No. https://fchan.xyz/prog/F97PZNQE [Report]

>>https://fchan.xyz/prog/33METGNO Ok, albums I guess.

>>
Anonymous 2021-04-25T12:50:54Z No. https://fchan.xyz/prog/ETZWRC3U [Report]

>>https://fchan.xyz/prog/CO62FROA >For example, if you look at the /b/ board. fchan.xyz has a /b/ that follows 0x00000000.xyz/b Ok so, if I self-host an instance, and I dislike what content comes from one host, can I choose to block that instance I assume? Then it will show content in /g/ from all instances I federate with, except that one I un-federated with? If this is the case, it sounds good but may need a little work. For one, currently it doesn't seem as if there is any way to identify which posts originate from which instance. I also think it would be beneficial to be able to filter posts in a thread by instance/see only local posts. So if I go on /g/, I can choose to only see posts that originate from one instance, and hide all others. These would be big tweaks that would make it feel more federated to the end user, rather than one massive cluster of instances, which long term can get out of hand when other instances come along posting shit nobody wants to see or spamming, etc.

>>
Anonymous 2021-04-25T12:56:57Z No. https://fchan.xyz/prog/N9OP5U6T [Report]

>>https://fchan.xyz/prog/ETZWRC3U Also, what's the deal with blue/red boards? Currently I see no way to identify whether a board is blue/red from the web interface? Also in a federated aspect, could someone setup a /g/ instance that's blue, and another that's red? In theory, I see no reason why not. Instances could just choose to hide the red instances if they don't want to see that content, or blur it, etc. They can also just choose to un-federate with all red instances. I think having a list of public instances and mark which have red would be beneficial as well.

>>
Anonymous 2021-04-25T15:45:08Z No. https://fchan.xyz/prog/2NTPAKAL [Report]

>>https://fchan.xyz/prog/N9OP5U6T - hover over the post id to see the original link - the activitypub inbox can obviously tell where a post comes from, see HTTP protocol

>>
Anonymous 2021-04-25T20:32:07Z No. https://fchan.xyz/prog/4X22VPYH [Report]

can you please add a fucking newline after the post ID when the reply form is opened? so that I can start typing without having to press Enter every time?

>>
Anonymous 2021-04-26T10:36:50Z No. https://fchan.xyz/prog/RJZB2Z08 [Report]

>>https://fchan.xyz/prog/4X22VPYH yeah this is a big one, along with redirecting to the thread itself, not back to the board

>>
Anonymous 2021-04-26T16:22:44Z No. https://fchan.xyz/prog/TX6IKC2Y [Report]

>>https://fchan.xyz/prog/RJZB2Z08 noko test

>>
Anonymous 2021-04-26T16:23:39Z No. https://fchan.xyz/prog/QGBDCR4M [Report]

>>https://fchan.xyz/prog/RJZB2Z08 >noko You see, futaba standard behaviour is to return to the board, and the "noko" option keeps you on the thread. Yes it's retarded. Anyway noko doesn't seem to work here.

>>
Anonymous 2021-04-26T19:49:52Z No. https://fchan.xyz/prog/CBK42L17 [Report]

>>https://fchan.xyz/prog/4X22VPYH >can you please add a fucking newline after the post ID when the reply form is opened? added >>https://fchan.xyz/prog/QGBDCR4M noko fixed

>>
Anonymous 2021-04-26T19:51:09Z No. https://fchan.xyz/prog/BSV8TJEN [Report]

>>https://fchan.xyz/prog/CBK42L17 wtf, its not added...... was in my testing enviroment.. new line will be added shortly.

>>
Anonymous 2021-04-26T19:55:10Z No. https://fchan.xyz/prog/FVX2CSO4 [Report]

>>https://fchan.xyz/prog/BSV8TJEN nvm, i am tripping. probably didnt refresh my browser to newer version

>>
Anonymous 2021-04-28T00:06:07Z No. https://fchan.xyz/prog/E2V80RCN [Report]

>>https://fchan.xyz/prog/CBK42L17 based devfag, thank you


44 / 3
[Post a Reply]

[Home][Rules][FAQ]

All media are copyright to their respective owners.