{"id":43051316,"url":"https://github.com/subdavis/memetrades-server","last_synced_at":"2026-01-31T10:36:50.079Z","repository":{"id":78431717,"uuid":"80795351","full_name":"subdavis/memetrades-server","owner":"subdavis","description":"The biggest mistake on the web.","archived":false,"fork":false,"pushed_at":"2017-10-11T00:30:20.000Z","size":1330,"stargazers_count":12,"open_issues_count":6,"forks_count":3,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-11-01T05:02:26.670Z","etag":null,"topics":["flask","market","memeeconomy","memes","mongo","nasdanq","stock"],"latest_commit_sha":null,"homepage":"http://memetrades.com","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/subdavis.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,"governance":null}},"created_at":"2017-02-03T03:57:26.000Z","updated_at":"2021-12-15T19:58:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"6fcadb16-9971-4134-b26a-b208b4a33e1b","html_url":"https://github.com/subdavis/memetrades-server","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/subdavis/memetrades-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subdavis%2Fmemetrades-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subdavis%2Fmemetrades-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subdavis%2Fmemetrades-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subdavis%2Fmemetrades-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/subdavis","download_url":"https://codeload.github.com/subdavis/memetrades-server/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subdavis%2Fmemetrades-server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28938780,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-31T10:18:23.202Z","status":"ssl_error","status_checked_at":"2026-01-31T10:18:22.693Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["flask","market","memeeconomy","memes","mongo","nasdanq","stock"],"created_at":"2026-01-31T10:36:49.425Z","updated_at":"2026-01-31T10:36:50.074Z","avatar_url":"https://github.com/subdavis.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"MemeTrades.com\n==============\n![build](https://travis-ci.org/subdavis/memetrades-server.svg?branch=master)\n\n### On the web...\n* [Subreddit](https://reddit.com/r/memetrades)\n* or email developers [at] memetrades [dot] com\n\n### Docker production deploy\n\n#### Database\n`docker build -f Dockerfile.mongo -t mongo .`\n\n`docker run -d --name -v /data/db:/data/db mongo mongo`\n\n#### Web\n\n1. Should be run with nginx-proxy @ https://github.com/jwilder/nginx-proxy\n2. HTTPS done with https://github.com/JrCs/docker-letsencrypt-nginx-proxy-companion\n3. Create a copy of memeServer/settings-example.py called memeServer/settings.py\n\n`docker build -f Dockerfile.web -t memes .`\n\n`./redeploy.sh`\n\n### Feature requests or bug reports:\n\nPlease open a github issue.  We will read them.  I promise.\n\n### Development setup\n\nMemetrades runs on Ubuntu, and we aren't going to support anything else.\n\n1. Install mongodb `sudo apt install mongodb`\n2. Open another terminal and start mongo: `sudo mongod`\n3. Create and activate a virtual env for the project\n4. Install requirements.txt to the venv.\n5. Create a copy of memeServer/settings-example.py as memeServer/settings.py\n6. Run `python wsgi.py`\n7. Run `python process_queue.py`\n8. Run `python update.py` every 2 minutes or so. use a cron job or something. IDK, sue me\n9. open mongo and type \n\n```\nuse memes\n\ndb.stock_history_entry.createIndex({\"time\":1})\n\ndb.stock_history_entry.createIndex({\"stock\":1})\n\n```\nwhat? you don't want to get your hands dirty and mess with mongo? \n\nYou think this could have been automated? You're still mad about the cron job?\n\nI'm tired of getting sass from you. Cash me ousside, How bow dah.\n\n10. Server will be localhost:8080\n\n### Pull requests\n\nwe will look at them.  Submit an issue along with the PR so we know what you're doing.\n\n\n### Maintenance.\n\nrestart prod:\n\nsudo systemctl restart memeprod.service\n\nrestart dev:\n\nsudo systemctl restart memedev.service\n\nrestart nginx:\n\n1. test config: sudo nginx -t\n2. restart: sudo service nginx restart\n\n# Unit tests.\n\nfrom server/ run:\n\n`python -m unittest discover -s tests/`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsubdavis%2Fmemetrades-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsubdavis%2Fmemetrades-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsubdavis%2Fmemetrades-server/lists"}