lipu sinpin: a fakebook (clone of facebook)
lipu sinpin!! lipu sinpin is a full stack fakebook (clone of facebook). all sorts of cool features are in the pipeline, so stay tuned!
try out lipu sinpin now! go ahead, do it! do it~~
Note
lipu sinpin is currently hosted on a small free compute instance. please do not spam or ddos it. if the website goes down, please open an issue. thank you.
users can do many but not all of the things they expect on a social media site.
write amazing posts to keep the lipu sinpin userbase informed of all the great wisdom you have to share. include an image with your post to add a visual component. edit or delete posts that didn't quite meet your standards.
if you like a post, click the like button to share your appreciation for that post with the lipu sinpin community. share the link to your post with users on other social media platforms so they can see how amazing lipu sinpin is!
cuztomize your profile page to help you stand out on lipu sinpin. add a bio to let the world see who you are, and add a status to let the world what you're up to. set your profile picture and cover photo to give your profile a splash of color and some extra personality.
discover how limited the functionality of lipu sinpin is by using it for more than a few minutes, and then wait for me to add more features.
someone made up a language called toki pona, and lipu sinpin is one way to say "facebook" in that language. it's very cool! i can't use the language at all, but it's very cool!
for fun and learning!
lipu sinpin is a full stack single page application. it is built with a monolithic ruby on rails backend, and it uses react with redux on the frontend. it's written in typescript, styled with tailwind, and it uses react-router for client-side routing. photos are stored in an aws s3 bucket, and i've currently got it hosted for free using fly.io.
check out the wiki for more info!
lipu sinpin is 100% open source, so you can host an instance yourself.
make sure you have ruby and node installed.
first, you must bundle the frontend.
$ cd frontend
$ npm install
$ npm run build
then, you must setup the backend and start the server.
$ cd ../backend
$ bundle install
$ ./bin/rails db:setup
$ ./bin/rails server
now, you can navigate to localhost:3000 and enjoy lipu sinpin! :D
if it complains about config/storage.yml
, you will have to setup aws s3. once you've done so, run
$ ./bin/rails credentials:edit
if that doesn't open a code editor, you need to configure your EDITOR
environment variable. google is your friend.
in the code editor that rails opens for you, enter your credentials following this example:
aws:
access_key_id: "ABCDEFGHIJK123456789" # from aws
secret_access_key: "Ab1cdefGhIJK23lmNOp+4Qrr8SDVusFtUvwxy9/z" # also from aws
region: "us-west-1"
dev:
bucket: "my-cool-bucket-dev"
prod:
bucket: "my-cool-bucket-prod"
# rails generates the rest of this for you, you can leave it as is.
# Used as the base secret for all MessageVerifiers in Rails, including the one protecting cookies.
secret_key_base: 9q34hf83q7h458q37rh38q47fh3587
open an issue!
sure, just open a merge request/PR, then watch as i ignore it 😆