0
srcmoviesBasic interface for browsing movies on imdb with sources from vidsrc. View the website on static host: https://srcmovies.marcusj.tech
0
0
0
0
GDBDGood day Bad day
Tally all the good and bad throughout your day and look through your records over time
GDBD 3.0 - now with Google auth
Notable updates:
Sign in page
login with replit or Google
Export/delete user data in settings
Added timestamps to messages so they are now in order lol0
mjanalyticsre-upload of dupl analytics (a free and open-source minimal analytics tool) since it was shutdown for a while. Most of the logos and stuff have not been changed, but if any functionality is broken please let me know.
The majority of this code was written by @rafrafraf, my old coding buddy who is busy fighting for his country.
The code has been very slightly modified by meto make it work again although not all of it may be functional.
I've had to migrate database host, and sadly the new host is signifigantly slower.
How to use
Simple include a script tag in your html (with the defer attribute, as to not slow down the loading of your site) with our script, and visits will begin to be collected!
Then, to view analytics for your site simply enter your domain into our search bar! (Or visit https://analytics.marcusj.tech/your-website.your-username.repl.co)
3
3
0
0
0
GDBDGood day Bad day
Tally all the good and bad throughout your day and look through your records over time
12
16
0
0
google-doc-infoGet information from a public Google Docs link! Info about author and more
3
0
0
0
Hidden webpage exampleBy setting a cookie after visiting a certain route, a webpage can appear different. Look for secret.
9
0
0
0
An alternative to the defunct repl.run
Do you miss the old repl.run?
Well look no further. Simply visit https://run.marcusj.tech/@Username/Repl, replacing Username/Repl with the relevant information.
Sidenote
None of this design was done by me, the only work I did was stealing the code (but that was hard work in itself). If you want to see the original source, view my README.md file.1
StockOverflow
StockOverflow
This was my team's submission for a hackathon we took part in (hackabull.io) - where we won first place! We received a Nintendo Switch for each of our 4 members.
Inspiration
Our team's leading financial expert, Eric Higgins, pitched us an idea for a website. Yahoo Finance's website is a bloated, confusing mess. With StockOverflow, you know exactly what you're getting: a clean, and visually pleasing dashboard with only the most critical of information (plus a news feed)!
What it does
We scrape stock market data from Yahoo using the yfinance library and WrapAPI, then load it into CockroachDB as a cache. By using CockroachDB, loading speeds are drastically reduced, and an extra layer of reliability is added (CockroachDB is a "distributed SQL database designed for speed, scale, and survival; trusted by thousands of innovators around the globe").
How we built it
We started off our project by creating a new Python3 repository on Replit: an online IDE with handy hosting and multiplayer features. This allowed us to collaborate in real-time from the get-go. I (Marcus Weinberger) decided to choose the Flask web framework to develop StockOverflow as it provides templating features and a simple syntax. Additionally, our team member Michael Clark has previous experience with it.
We found ways to scrape data from Yahoo Finance, but after realising it was a little slow, we decided to integrate CockroachDB as a cache. This was done using Flask-SQLAlchemy to ensure thread safety, so that multiple operations on the database don't collide. The frontend website contains little-to-no JavaScript, so that we can achieve maximum performace. This is why Flask was a good choice, as the templating features let us loop through data with a familiar Python syntax.
Challenges we ran into
Learning CockroachDB took some time, as Marcus was used to document-collection based databases, and no one had extensive experience with SQL. However, once we realised we could create schemas in Python, this solved a lot of our issues with data validation.
We also struggled a lot with designing the frontend, as we tend to favor backend development.
Accomplishments that we're proud of
The python yfinance library was missing one key feature that we needed - the ability to scrape "trending" stocks. This was resolved by using the third-party scraping service, WrapAPI. Deciphering Yahoo's class names gave us all a headache. (image)
What we learned
Two of our members learned the Flask framework, as this was their first time using it. Another member learned from the CSS experience of our lead frontend developer, Michael. This was also a first time using CockroachDB for all of us, so we all gained another tool in our arsenal.
What's next for Stock Overflow
Adding charts, and graph data is the first step in our future, as we feel some of the depth of our data is lacking. We are also searching for new ways to use CockroachDB. I also plan on exploring AWS Lambda, as I'm certain some of our web scraping functions could run on their serverless architecture - potentially speeding up our service.
0
sqlite3 on repldb
Hey! You! You like using sqlite3 in python?
Well since replit doesn't allow editing of files when not running as the repl owner, did you get forced to switch to repl db?
Well what this starter project has in place are mechanisms to store the contents of an in-memory sqlite3 database on repldb, and restore them on startup. How does it store your database in repldb? Well it dumps it, and uses a program I made which you can see here to save the data, even if it's very large.
This is a new project, so there may be bugs but I will be happy to fix them if you report any.
So where do I begin?
Just fork the repo, keep the existing code, and continue as you would. Use the function to save your database every once in a while, or when you make important changes.2
SSNSuper Secure Notes
An example of what not to do when designing a secure authentication system.
Something's not right about those password requirements for the signup page... And what happens if you change your username in the JavaScript console once you're signed in?
Enjoy exploiting the gaping security holes and leaving notes in other users' inboxes!
Super Secure Notes - An example of what not do to when trying to make a secure login system
SSN is designed with two gaping security holes:
The Signup Page - Our password requirements ensure you don't use another users password!
The notes page - For all you security nerds, try fiddling with the javascript and tease the server into sending you any users password hash!
So sign up and begin trying to hack into each others accounts
Enjoy leaving notes for your fellow hackers!2
SSNSuper Secure Notes
An example of what not to do when designing a secure authentication system.
Something's not right about those password requirements for the signup page... And what happens if you change your username in the JavaScript console once you're signed in?
Enjoy exploiting the gaping security holes and leaving notes in other users' inboxes!
17
1
2
MarcusWeinberger # SSN is designed with two gaping security holes:
* **The Signup Page** - Our password requirements ensure you don't use another users password!
* **The notes page** - For all you security nerds, try fiddling with the javascript and tease the server into sending you *any users* password hash!
## So sign up and begin trying to hack into each others accounts
Enjoy leaving notes for your fellow hackers!1 year ago
A very simple matchmaking system that pits you against the first player you meet, so be warned!
Simple confirmation prompt was added for security, if
HTML, CSS, JS
CodingElf66 Good! But come on, I want someone to play with me, but still pog.
Edit: It redirected me to a game because someone was on, but then nobody was in the game.1 year ago
1
obf-hello-world-onelineignore the syntax errors, it still runs.
uses maths to get the ascii values of "hello world" and prints them. uses numbers from argcounts.
47
1
1
7
sitesA repl that lets you publish your own website as a route on the server. Create, delete, edit, and view sites. Sign in with dupl auth.
81
3
7
repldm - bringing direct messaging to replit
This project was made by the @dupl team - @rafrafraf and @MarcusWeinberger (me)
webstore
Link to webst
HTML, CSS, JS
DonoldJTrump @MarcusWeinberger can you release the raw .crx file (my school blocked installing extensions directly, i know how to do it with the crx file)2 years ago
arivvid27 Hey, I got a suggestion for the pop-up, you should make it so you can chat with replit users while you are on a different page, so you'd just press the extension, and you will be able to chat on another page.2 years ago
repldm is a project that aims to bring direct messaging functionality to repl.it
By me and @rafrafraf
demo
This is a very early version, plenty mo
HTML, CSS, JS
nro2collaborate Are there any options to delete a chat? Because I sent a message to a friend who I thought downloaded it, but apparently he didn't, and after he really downloaded it, the message couldn't go through.2 years ago
Ever find yourself visiting cdnjs to search for that JavaScript library you need?
Well, no more!
I made a python repl that automatically searches cd
Python
Simply enter a location and view snapchats from around the area!
Python
Linkr - the custom redirect manager
demo
See who clicks on links - manage multiple campaigns at once!
Gather custom data - enter your own JavaScript
HTML, CSS, JS
TheRealSnowSJ My favorite dupl product, It definitely beats bitly. (P.S. If u use this with replit.sh its perfect, you can track from here, and shorten the redirect URLs with replit.sh) Really good tho
Edit:
Screen Shot 2020-12-18 at 9.42.57 PM
Now you know how much data websites can collect from u :O
Must go find VPN now...2 years ago