r/tinycode • • Jun 21 '23

Tiny Reddit? NSFW

14 Upvotes

Hey here's another stupid idea out of a late night mood. How about a brainstorming thread about a tiny reddit alternative? What would be a minimal implementation that is functional enough but sort of self contained so it can be self hosted without effort? Think like what mastodon or even twtxt is for twitter but for reddit? Maybe something that implements enough functionality to self host a single subreddit and then make it connected to other self hosted subreddits? If you think this is stupid let me know but I think there's something to it.

Okay good that I asked a friend before posting. There's lemmy, join-lemmy. Which looks pretty cool but is definitely not tiny. Anyone got something similar but tiny?


r/tinycode • • Jun 21 '23

Nonfigurative no. 4 SVG, 496 bytes

Post image
19 Upvotes

r/tinycode • • Jun 20 '23

Why NSFW NSFW

107 Upvotes

Yes we are NSFW now. Why? Apparently Reddit is not able to put ads in NSFW subreddits and this serves as a little miniature (should I dare to say tiny?) protest against the upcoming API changes.


r/tinycode • • Jun 19 '23

dwitter.net: for(i=c.width=W=999;i--;){X=i/.7,Y=0;for(w=9;w<W/4;w/=.6)A=(X+t*w)%w-w/2,X+=A*C(D=1-A*A/w/w*4)+Y*S(D)-A,Y=Y*C(D)-A*S(D);x.lineTo(X-W*.3,Y+w+9e3/i)}x.fill()

Post image
31 Upvotes

r/tinycode • • Jun 18 '23

Surveillance camera in a dweet of JavaScript

Post image
59 Upvotes

r/tinycode • • Jun 15 '23

Non-preemptive multitasking (coroutines) in C (3 lines of code)

16 Upvotes

https://www.geocities.ws/rand3289/MultiTasking.html This is my first post. 3 lines of macros allow you to perform non-preemptive multitasking in C. Think of these as coroutines. Useful for embedded code etc...


r/tinycode • • Jun 14 '23

TinyLZW - project to implement tiny LZW decompression routines (<40 B main loop in 16b x86)

Thumbnail
github.com
37 Upvotes

r/tinycode • • Jun 15 '23

STEMist Hacks 2.0 is back :o (62 bites/registrations)

1 Upvotes

Hi everyone,

STEMist Hacks is back for its second edition, and it's happening this summer from July 21st to 23rd, 2023.

We have some incredible prizes lined up, including over $2000 in cash for middle, high, and university students, as well as $120,000 worth of sponsorships in various forms. To participate, make sure to visit our devpost page at https://stemist-hacks-2.devpost.com and register through the form at https://forms.gle/2ZC9Cdgnf1dFgqsn8.

Feel free to explore our website at https://stemauth.vercel.app/hacks for more information.


r/tinycode • • Jun 13 '23

Zigzag Decoration SVG, 450 bytes

Post image
23 Upvotes

r/tinycode • • Jun 11 '23

Circle Spinner in 137 bytes

Post image
68 Upvotes

r/tinycode • • Jun 07 '23

Plasma Globe SVG, 507 bytes

Post image
23 Upvotes

r/tinycode • • May 30 '23

Chaotic Squares SVG, 524 bytes

Post image
39 Upvotes

r/tinycode • • May 24 '23

SectorC: A C Compiler in 512 bytes

Thumbnail xorvoid.com
63 Upvotes

r/tinycode • • May 23 '23

Ocean Sunrise SVG, 548 bytes

Post image
35 Upvotes

r/tinycode • • May 16 '23

Particle Explosion SVG, 487 bytes

Post image
20 Upvotes

r/tinycode • • May 09 '23

Nonfigurative no. 3 SVG, 538 bytes

Post image
52 Upvotes

r/tinycode • • May 02 '23

Oblique Stripes SVG, 268 bytes

Thumbnail
gallery
33 Upvotes

r/tinycode • • Apr 21 '23

Reptilian Scales SVG, 558 bytes

Post image
50 Upvotes

r/tinycode • • Apr 19 '23

vec3 q=vec3(0,0,99),p,u,v;for(float w,d,i=0.;i++<80.;v=u,u=q,q+=(FC.rgb*2.-r.xyx)/r.x*d+vec3(sin(i),cos(i),0))for(d=w=6.;--w>0.;p=q,p.xz*=rotate2D(t+w/.8),p.xy*=rotate2D(1.),d=min(d,dot(p+sin(p)*.3,sign(p)*.3)-9.));o+=sign(.5-cross(q-u,q-v).y-fract(FC.x/9.-FC.y/7.)); //...5 tiny octahedra

86 Upvotes

r/tinycode • • Apr 17 '23

vec3 p,q=vec3(0,0,6),a,s=(FC.rgb*2.-r.xyx)/r.x;float w,d,i=0.;for(;i<80.;i++,q+=s*d)for(d=w=6.+t;w>t;w-=1.3){p=q;p.xz*=rotate2D(w);p.xy*=rotate2D(1.);for(a=abs(p);a.z<a.x||a.z<a.y;p=p.zxy,a=a.zxy);d=min(d,length(p.xz-vec2(p.y,1)*a.z/p.z)*.7-.07);}o.rgb=fwidth(q*70);

60 Upvotes

r/tinycode • • Apr 11 '23

Liquid Metal SVG, 551 bytes

Post image
44 Upvotes

r/tinycode • • Apr 07 '23

Pink Marble SVG, 459 bytes

Post image
28 Upvotes

r/tinycode • • Apr 04 '23

Sand Grooves SVG, 480 bytes

Post image
45 Upvotes

r/tinycode • • Mar 29 '23

Squiggly Neon 326 bytes, SVG

Thumbnail
gallery
25 Upvotes

r/tinycode • • Feb 28 '23

GitHub Heatmap 512 bytes, SVG

Post image
51 Upvotes