{"id":13419097,"url":"https://github.com/typcn/LeanClub","last_synced_at":"2025-03-15T04:32:02.352Z","repository":{"id":31221374,"uuid":"34782482","full_name":"typcn/LeanClub","owner":"typcn","description":"C++ forum system","archived":true,"fork":false,"pushed_at":"2016-01-09T13:49:52.000Z","size":577,"stargazers_count":215,"open_issues_count":7,"forks_count":38,"subscribers_count":12,"default_branch":"master","last_synced_at":"2024-07-31T22:45:41.169Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://leanclub.org/","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/typcn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-04-29T08:39:17.000Z","updated_at":"2024-02-16T02:57:35.000Z","dependencies_parsed_at":"2022-08-03T08:00:29.614Z","dependency_job_id":null,"html_url":"https://github.com/typcn/LeanClub","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typcn%2FLeanClub","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typcn%2FLeanClub/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typcn%2FLeanClub/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typcn%2FLeanClub/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/typcn","download_url":"https://codeload.github.com/typcn/LeanClub/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243685506,"owners_count":20330980,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-30T22:01:11.284Z","updated_at":"2025-03-15T04:32:01.992Z","avatar_url":"https://github.com/typcn.png","language":"C++","funding_links":[],"categories":["TODO scan for Android support in followings","C++"],"sub_categories":[],"readme":"# LeanClub\n[![Build Status](https://travis-ci.org/typcn/LeanClub.svg?branch=master)](https://travis-ci.org/typcn/LeanClub)\n\nHigh performance C++ forum system\n\nWARNING: Not recommended for production\n\nDEMO: https://leanclub.org/\n\n# Features\n1. Extremely Fast , 20000 RPS on i7 iMac.\n2. Simple and clean frontend.\n3. Full ajax and API.\n4. Google GitHub Twitter OAuth sign in.\n\n# Minimum Requirements\n- GCC 4.8\n- CMake 2.8 \n\n(Windows is not supported)\n\n# Setup\n### Datebase\n1. Install [Apache Couchdb](https://couchdb.apache.org/)\n2. Create 4 databases named “category” “notification” “topics” and “user”.\n3. Import design docs from “[databases](https://github.com/typcn/LeanClub/tree/master/databases)” directory.\n\n### Environment\n1. ```apt-get install build-essential cmake libcurl4-nss-dev libboost-all-dev redis-server libhiredis-dev libtcmalloc-minimal4 \u0026\u0026 sudo ln -s /usr/lib/libtcmalloc_minimal.so.4 /usr/lib/libtcmalloc_minimal.so```\n2. Install [hiredis](https://github.com/redis/hiredis) from sources ( redis3m is already included )\n\n### Config\n\tcp src/config.h.example.h src/config.h\n\tvi src/config.h\n\n### Build and run\n\tmkdir Build\n\tcd Build\n\tcmake ..\n\tmake\n\t./leanclub\n### Nginx\n\n    server {\n        listen 80;\n        server_name leanclub.org;\n        client_max_body_size MAX_UPLOAD_SIZE;\n        root /path/to/leanclub/;\n\n        location / {\n            proxy_pass http://127.0.0.1:18080;\n            proxy_redirect off;\n            proxy_set_header X-Forwarded-For $http_x_forwarded_for;\n            proxy_set_header Host leanclub.org;\n            add_header X-XSS-Protection \"1; mode=block\";\n            add_header X-Frame-Options DENY;\n        }\n        \t\n        # Cache the avatar (Optional) \n        # location /info/ {\n        #    proxy_pass http://127.0.0.1:18080;\n        #    proxy_redirect off;\n        #    proxy_set_header X-Forwarded-For $http_x_forwarded_for;\n        #    proxy_set_header Host leanclub.org;\n        #    proxy_cache one;\n        #    proxy_cache_key \"$request_uri\";\n        #    proxy_cache_valid  200 302  120m;\n        # }\n\n        location /static/ {\n            expires 10d;\n        }\n        location /attachments/ {\n            expires 365d;\n        }\n    }   \nreverse proxy 127.0.0.1:18080 , and map the \"static\" and \"attachments\" folder.\n\n# About\nThis program based on: [Crow](https://github.com/ipkn/crow)\n\nI’m newbie for c++ , the code may “buggy\" , not recommended for production.\n\n### License\nMIT\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftypcn%2FLeanClub","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftypcn%2FLeanClub","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftypcn%2FLeanClub/lists"}